com.businessobjects.jsf.sdk.properties
Class SubmitButtonProps

java.lang.Object
  extended bycom.businessobjects.jsf.sdk.properties.ButtonProps
      extended bycom.businessobjects.jsf.sdk.properties.SubmitButtonProps
All Implemented Interfaces:
java.io.Serializable

public class SubmitButtonProps
extends ButtonProps
implements java.io.Serializable

Contains optional properties for a button or a set of buttons in addition to the properties contained in the ButtonProps class.

See Also:
Serialized Form

Constructor Summary
SubmitButtonProps()
           
SubmitButtonProps(java.lang.String text)
           
 
Method Summary
 int getAlignment()
           Gets a HorizonalAlign value that indicates how the button is aligned within a cell.
 boolean isVisible()
           Returns a value that indicates whether the button is visible.
 void setAlignment(int alignment)
           Sets a HorizonalAlign value that indicates how the button is aligned within a cell.
 void setVisible(boolean visible)
           Sets a value that indicates whether the button is visible.
 
Methods inherited from class com.businessobjects.jsf.sdk.properties.ButtonProps
getImageURL, getText, getType, setImageURL, setText, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmitButtonProps

public SubmitButtonProps()

SubmitButtonProps

public SubmitButtonProps(java.lang.String text)
Method Detail

isVisible

public boolean isVisible()

Returns a value that indicates whether the button is visible.

Returns:
true if the button is visible, otherwise, false.

setVisible

public void setVisible(boolean visible)

Sets a value that indicates whether the button is visible.

Parameters:
visible - true to make the button visible, otherwise, false.

getAlignment

public int getAlignment()

Gets a HorizonalAlign value that indicates how the button is aligned within a cell.

Returns:
an int that indicates how the button is aligned within a cell

setAlignment

public void setAlignment(int alignment)

Sets a HorizonalAlign value that indicates how the button is aligned within a cell.

Parameters:
alignment - an int that indicates how the button is aligned within a cell