com.groiss.gui.component
Class SubmitButton
java.lang.Object
com.groiss.gui.AbstractComponent
com.groiss.gui.component.SubmitButton
- All Implemented Interfaces:
- Component, java.io.Serializable, java.lang.Cloneable
public class SubmitButton
- extends AbstractComponent
A HTML submit button <input type=submit ...
- See Also:
- Serialized Form
| Fields inherited from class com.groiss.gui.AbstractComponent |
actions, ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, 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, outputRoot, outputter, parent, parentElem, READONLY, root, viewMode |
|
Constructor Summary |
SubmitButton()
|
SubmitButton(java.lang.String label)
Standard constructor with label |
SubmitButton(java.lang.String label,
java.lang.String styleClass)
Standard constructor with label |
SubmitButton(java.lang.String label,
java.lang.String name,
java.lang.String styleClass)
Constructor with label, action and style. |
|
Method Summary |
java.lang.Object |
getContent()
|
void |
setContent(java.lang.Object o)
Sets the content of the component |
| Methods inherited from class com.groiss.gui.AbstractComponent |
clone, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, setActionListener, setAttribute, setBrowserMode, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SubmitButton
public SubmitButton()
SubmitButton
public SubmitButton(java.lang.String label)
- Standard constructor with label
- Parameters:
label - the text on the button
SubmitButton
public SubmitButton(java.lang.String label,
java.lang.String styleClass)
- Standard constructor with label
- Parameters:
label - the text on the buttonstyleClass - the name of a CSS class
SubmitButton
public SubmitButton(java.lang.String label,
java.lang.String name,
java.lang.String styleClass)
- Constructor with label, action and style.
- Parameters:
label - the text on the buttonname - the name of the buttonstyleClass - the name of a CSS class
setContent
public void setContent(java.lang.Object o)
- Description copied from class:
AbstractComponent
- Sets the content of the component
- Specified by:
setContent in interface Component- Specified by:
setContent in class AbstractComponent
- Parameters:
o - any object where the string representation is used for rendering
getContent
public java.lang.Object getContent()
- Specified by:
getContent in interface Component- Specified by:
getContent in class AbstractComponent
- Returns:
- the content object of the component
Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.