Class ButtonControl
java.lang.Object
org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
org.xhtmlrenderer.simple.xhtml.controls.ButtonControl
- All Implemented Interfaces:
FormControl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final String
private final List<ButtonControlListener>
private String
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
addFormControlListener, collectText, fireChanged, fireEnabled, fireSuccessful, getElement, getForm, getInitialValue, getIntAttribute, getMultipleValues, getName, getValue, isEnabled, isHidden, isMultiple, isSuccessful, removeFormControlListener, reset, setEnabled, setInitialValue, setMultipleValues, setSuccessful, setValue
-
Field Details
-
_type
-
_label
-
_extended
private final boolean _extended -
_listeners
-
-
Constructor Details
-
ButtonControl
-
-
Method Details
-
getType
-
getLabel
-
isExtended
public boolean isExtended()- Returns:
true
if this button has been defined with<button>
,false
if this button has been defined with<input>
-
addButtonControlListener
-
removeButtonControlListener
-
press
public boolean press()
-