public class SubmitButton extends AbstractComponent
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
LABELLEDBY
Constructor and Description |
---|
SubmitButton() |
SubmitButton(String label)
Standard constructor with label
|
SubmitButton(String label,
String styleClass)
Standard constructor with label
|
SubmitButton(String label,
String name,
String styleClass)
Constructor with label, action and style.
|
Modifier and Type | Method and Description |
---|---|
Object |
getContent() |
String |
getSubmitAction() |
void |
setContent(Object o)
sets the content of the component
|
void |
setSubmitAction(String a) |
addClass, clone, create, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, removeClass, setActionListener, setAttribute, setBrowserMode, setClass, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toggleClass, toString
public SubmitButton()
public SubmitButton(String label)
label
- the text on the buttonpublic SubmitButton(String label, String styleClass)
label
- the text on the buttonstyleClass
- the name of a CSS classpublic void setContent(Object o)
AbstractComponent
setContent
in interface Component
setContent
in class AbstractComponent
o
- any object where the string representation is used for renderingpublic Object getContent()
getContent
in interface Component
getContent
in class AbstractComponent
public String getSubmitAction()
public void setSubmitAction(String a)
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.