jet.html.impl
Class JetOutput

java.lang.Object
  extended by jet.html.core.JetComponent
      extended by jet.html.core.JetChildComponent
          extended by jet.html.core.JetOutputComponent
              extended by jet.html.impl.JetOutput
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Decodeable, JetChildComponent, JetComponent, JetOutput, JetOutputComponent
Direct Known Subclasses:
JetLabel

public class JetOutput
extends JetOutputComponent
implements JetOutput

This class just renders the given content to the form

Author:
Markus.Meisters@web.de
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface jet.html.JetChildComponent
JetChildComponent.HasNoParent
 
Field Summary
private  java.lang.String content
          The content given
private  java.lang.String escape
          indicates if the content will be html esscaped rendered or not
private  java.lang.String messageKey
          Key for resourcebundleto get the message to display
 
Fields inherited from class jet.html.core.JetComponent
eventSupport
 
Constructor Summary
JetOutput(java.lang.String identifier)
          Creates new Component - name and styleclass would be the same as identifier
JetOutput(java.lang.String identifier, java.lang.String styleclass)
          Creates new Component
JetOutput(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 getContent()
          Returns the content
 java.lang.String getEscape()
           
 java.lang.String getMessageKey()
          Returns the message key to use for localisation
 void setContent(java.lang.String content)
          Sets the content
 void setEscape(java.lang.String escape)
           
 void setMessageKey(java.lang.String messageKey)
          Sets the message key to use for localisation
 
Methods inherited from class jet.html.core.JetChildComponent
getForm, getParent, isHidden, setParent, toggleHidden
 
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.JetChildComponent
getForm, getParent, isHidden, setParent, toggleHidden
 
Methods inherited from interface jet.html.JetComponent
addListener, addListener, componentChanged, findComponent, findComponents, getIdentifier, getName, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass
 

Field Detail

content

private java.lang.String content
The content given


escape

private java.lang.String escape
indicates if the content will be html esscaped rendered or not


messageKey

private java.lang.String messageKey
Key for resourcebundleto get the message to display

Constructor Detail

JetOutput

public JetOutput(java.lang.String identifier)
Creates new Component - name and styleclass would be the same as identifier

Parameters:
identifier - the identifier

JetOutput

public JetOutput(java.lang.String identifier,
                 java.lang.String styleclass)
Creates new Component

Parameters:
identifier - the identifier
styleclass - the css style class

JetOutput

public JetOutput(java.lang.String identifier,
                 java.lang.String name,
                 java.lang.String styleclass)
Creates new Component

Parameters:
identifier - the identifier
name - the name of the component if different to identifier
styleclass - the css style class
Method Detail

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 JetOutput
Specified by:
decodeForm in class JetComponent
Parameters:
builder - builder to use

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 JetOutput
Specified by:
clone in class JetComponent
Returns:
Object the clone

getContent

public java.lang.String getContent()
Returns the content

Specified by:
getContent in interface JetOutput
Returns:
String content

setContent

public void setContent(java.lang.String content)
Sets the content

Specified by:
setContent in interface JetOutput
Parameters:
content - to render

getMessageKey

public java.lang.String getMessageKey()
Returns the message key to use for localisation

Specified by:
getMessageKey in interface JetOutput
Returns:
String message key

setMessageKey

public void setMessageKey(java.lang.String messageKey)
Sets the message key to use for localisation

Specified by:
setMessageKey in interface JetOutput
Parameters:
messageKey - message key

getEscape

public java.lang.String getEscape()
Specified by:
getEscape in interface JetOutput

setEscape

public void setEscape(java.lang.String escape)
Specified by:
setEscape in interface JetOutput