public class ButtonControl extends AbstractControl
| Constructor and Description |
|---|
ButtonControl(XhtmlForm form,
Element e) |
| Modifier and Type | Method and Description |
|---|---|
void |
addButtonControlListener(ButtonControlListener listener) |
String |
getLabel() |
String |
getType() |
boolean |
isExtended() |
boolean |
press() |
void |
removeButtonControlListener(ButtonControlListener listener) |
addFormControlListener, collectText, fireChanged, fireEnabled, fireSuccessful, getElement, getForm, getInitialValue, getIntAttribute, getMultipleValues, getName, getValue, isEnabled, isHidden, isMultiple, isSuccessful, removeFormControlListener, reset, setEnabled, setInitialValue, setMultipleValues, setSuccessful, setValuepublic String getType()
public String getLabel()
public boolean isExtended()
true if this button has been defined with
<button>, false if this
button has been defined with <input>public void addButtonControlListener(ButtonControlListener listener)
public void removeButtonControlListener(ButtonControlListener listener)
public boolean press()
Copyright © 2016. All rights reserved.