public class Button extends AbstractContainer
components
ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, parent, parentElem, READONLY, root, viewMode
Constructor and Description |
---|
Button() |
Button(Component value,
java.lang.String action) |
Button(java.lang.String label,
java.lang.String action)
Standard constructor with label and action
|
Button(java.lang.String label,
java.lang.String action,
boolean asInput) |
Button(java.lang.String label,
java.lang.String action,
java.lang.String styleClass)
Constructor with label, action and style.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabelStr() |
void |
setLabelStr(java.lang.String label)
sets the text on the button
|
add, get, getAll, getAll, getAllDeep, getByName, getComponents, getWithParent, init, remove, setBrowserMode, substitute
clone, create, getAttribute, getBrowserMode, getContent, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, removeAttribute, setActionListener, setAttribute, setContent, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getAttribute, getBrowserMode, getContent, getId, getLabel, getName, getParent, getParentElement, getRoot, getStyle, getViewMode, init, removeAttribute, setActionListener, setAttribute, setContent, setId, setLabel, setName, setParent, setParentElement, setStyle, setViewMode, show, show, toString
public Button()
public Button(java.lang.String label, java.lang.String action)
label
- the text on the buttonaction
- a javascript expressionpublic Button(java.lang.String label, java.lang.String action, boolean asInput)
public Button(Component value, java.lang.String action)
public Button(java.lang.String label, java.lang.String action, java.lang.String styleClass)
label
- the text on the buttonaction
- a javascript expressionstyleClass
- the name of a CSS class@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.