org.xhtmlrenderer.simple.xhtml.controls
Class ButtonControl
java.lang.Object
org.xhtmlrenderer.simple.xhtml.controls.AbstractControl
org.xhtmlrenderer.simple.xhtml.controls.ButtonControl
- All Implemented Interfaces:
- FormControl
public class ButtonControl
- extends AbstractControl
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ButtonControl
public ButtonControl(XhtmlForm form,
Element e)
getType
public String getType()
getLabel
public String 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
public void addButtonControlListener(ButtonControlListener listener)
removeButtonControlListener
public void removeButtonControlListener(ButtonControlListener listener)
press
public boolean press()
Copyright © 2013. All Rights Reserved.