jet.html.impl
Class JetLabel
java.lang.Object
jet.html.core.JetComponent
jet.html.core.JetChildComponent
jet.html.core.JetOutputComponent
jet.html.impl.JetOutput
jet.html.impl.JetLabel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Decodeable, JetChildComponent, JetComponent, JetLabel, JetOutput, JetOutputComponent
public class JetLabel
- extends JetOutput
- implements JetLabel
This class renders a html label field
- Author:
- Markus.Meisters@web.de
- See Also:
- Serialized Form
|
Field Summary |
private java.lang.String |
forId
id of the field related to this label |
|
Constructor Summary |
JetLabel(java.lang.String identifier)
Creates new Component - name and styleclass would be the same as identifier |
JetLabel(java.lang.String identifier,
java.lang.String styleclass)
Creates new Component |
JetLabel(java.lang.String identifier,
java.lang.String name,
java.lang.String styleclass)
Creates new Component |
|
Method Summary |
java.lang.Object |
clone()
This method generates a clone of the curent one |
void |
decodeForm(java.lang.StringBuilder builder,
JetContext jetContext)
This method decodes the form to the given buffer |
java.lang.String |
getForId()
|
void |
setForId(java.lang.String forId)
|
| Methods inherited from class jet.html.core.JetComponent |
addListener, addListener, componentChanged, findComponent, findComponents, getGeneratedComponentIdentifier, getIdentifier, getName, getNewIdentifier, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jet.html.JetComponent |
addListener, addListener, componentChanged, findComponent, findComponents, getIdentifier, getName, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass |
forId
private java.lang.String forId
- id of the field related to this label
JetLabel
public JetLabel(java.lang.String identifier)
- Creates new Component - name and styleclass would be the same as identifier
- Parameters:
identifier - the identifier
JetLabel
public JetLabel(java.lang.String identifier,
java.lang.String styleclass)
- Creates new Component
- Parameters:
identifier - the identifierstyleclass - the css style class
JetLabel
public JetLabel(java.lang.String identifier,
java.lang.String name,
java.lang.String styleclass)
- Creates new Component
- Parameters:
identifier - the identifiername - the name of the component if different to identifierstyleclass - the css style class
decodeForm
public void decodeForm(java.lang.StringBuilder builder,
JetContext jetContext)
- This method decodes the form to the given buffer
- Specified by:
decodeForm in interface Decodeable- Specified by:
decodeForm in interface JetComponent- Specified by:
decodeForm in interface JetLabel- Specified by:
decodeForm in interface JetOutput- Overrides:
decodeForm in class JetOutput
- Parameters:
builder - the Stringbuilder to decode the formjetContext - the context object
clone
public java.lang.Object clone()
- This method generates a clone of the curent one
- Specified by:
clone in interface JetComponent- Specified by:
clone in interface JetLabel- Specified by:
clone in interface JetOutput- Overrides:
clone in class JetOutput
- Returns:
- Object the clone
getForId
public java.lang.String getForId()
- Specified by:
getForId in interface JetLabel
setForId
public void setForId(java.lang.String forId)
- Specified by:
setForId in interface JetLabel