DhElement | +--DhButtonBase | +--DhResetButtonpublic class DhResetButton
Represents a reset button for an HTML form. This button resets the state of all controls on the form to their initial values.
Adding a DhResetButton to a DhSection object causes the DhSection to represent an HTML form element.
Also see wfc.html.DhSection
Constructors
Name | Description |
---|---|
DhResetButton() | Creates a DhResetButton object. |
DhResetButton( String caption ) | Creates a DhResetButton object. |
Methods
Name | Description |
---|---|
getText() | Retrieves the button's current text caption. |
setText( String strCaption ) | Sets the button caption. |
Creates a DhResetButton object. This default constructor creates a reset button with the caption "Reset".
Creates a DhResetButton object. This constructor creates a reset button with a specified caption.
Returns the button caption.
Retrieves the button's current text caption.
Sets the button caption.