DhButtonBase | +--DhButtonpublic class DhButton
Implements a push button class. This can be used inside or outside of HTTP forms.
Constructors
Name | Description |
---|---|
DhButton() | Creates a button. |
DhButton( String strText ) | Creates a button. |
Methods
Name | Description |
---|---|
getEnabled() | Retrieves the enabled state of the button. |
getText() | Retrieves the label from the button. |
setEnabled(boolean f) | Sets the button's enabled state. |
setText( String strText ) | Sets the button's text label. |
Creates a button. This default constructor creates a button with a default text label of "button".
Creates a button.
Returns s true if enabled or false if disabled.
Retrieves the enabled state of the button.
Returns the current label string.
Retrieves the label from the button.
Sets the button's enabled state.
Sets the button's text label.