com.businessobjects.jsf.sdk.properties
Class ButtonProps

java.lang.Object
  |
  +--com.businessobjects.jsf.sdk.properties.ButtonProps
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PageNumberButtonProps, SubmitButtonProps

public class ButtonProps
extends java.lang.Object
implements java.io.Serializable

Contains properties to specify how to display a button or a set of buttons.

See Also:
Serialized Form

Constructor Summary
ButtonProps()
           
ButtonProps(java.lang.String text)
           
 
Method Summary
 java.lang.String getImageURL()
           Gets the URL of an image to be displayed and used as the button.
 java.lang.String getText()
           Gets the text to be displayed on the button.
 int getType()
           Gets the button type.
 void setImageURL(java.lang.String imageURL)
           Sets the URL of an image to be displayed and used as the button.
 void setText(java.lang.String text)
           Sets the text to be displayed on the button.
 void setType(int type)
           Sets an instance of ButtonType, which specifies the button type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ButtonProps

public ButtonProps()

ButtonProps

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

getType

public int getType()

Gets the button type. See ButtonType for details on the button type.

Returns:
An int that represents the button type.

setType

public void setType(int type)

Sets an instance of ButtonType, which specifies the button type.

Parameters:
type - An int that represents the button type.

getImageURL

public java.lang.String getImageURL()

Gets the URL of an image to be displayed and used as the button.

Returns:
A String that represents the URL of an image to be displayed and used as the button.

setImageURL

public void setImageURL(java.lang.String imageURL)

Sets the URL of an image to be displayed and used as the button.


getText

public java.lang.String getText()

Gets the text to be displayed on the button.

Returns:
A String that represents the text to display for the authentication label.

setText

public void setText(java.lang.String text)

Sets the text to be displayed on the button.

Parameters:
text - A String that represents the text to display for the authentication label.