jet.html.impl
Class JetGridPanel2

java.lang.Object
  extended by jet.html.core.JetComponent
      extended by jet.html.core.JetChildComponent
          extended by jet.html.core.JetParentComponent
              extended by jet.html.impl.JetGridPanel
                  extended by jet.html.impl.JetGridPanel2
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Decodeable, JetChildComponent, JetComponent, JetGridPanel, JetGridPanel2, JetParentComponent

public class JetGridPanel2
extends JetGridPanel
implements JetGridPanel2

This class renders a gridpanelall - same as JetGridPanel exept that there each first row has a styleclass called given styleclass name + "1" and each second row stylclass name + "2"

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
 
Fields inherited from class jet.html.core.JetComponent
eventSupport
 
Constructor Summary
JetGridPanel2(java.lang.String identifier)
          Creates new Component - name and styleclass would be the same as identifier
JetGridPanel2(java.lang.String identifier, java.lang.String styleclass)
          Creates new Component
JetGridPanel2(java.lang.String identifier, java.lang.String name, java.lang.String styleclass)
          Creates new Component
 
Method Summary
 java.lang.Object clone()
          This method retruns a clone from the component
 void decodeForm(java.lang.StringBuilder builder, JetContext jetContext)
          This method decodes the form to the given buffer
 
Methods inherited from class jet.html.impl.JetGridPanel
decodeForm, getCols, setCols
 
Methods inherited from class jet.html.core.JetParentComponent
add, add, decodeGetString, encode, getChild, getChilds, remove, reset, setChilds
 
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.JetGridPanel
getCols, setCols
 
Methods inherited from interface jet.html.JetParentComponent
add, add, decodeGetString, encode, getChild, getChilds, remove, reset, setChilds
 
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
 

Constructor Detail

JetGridPanel2

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

Parameters:
identifier - the identifier

JetGridPanel2

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

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

JetGridPanel2

public JetGridPanel2(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 JetGridPanel
Specified by:
decodeForm in interface JetGridPanel2
Overrides:
decodeForm in class JetGridPanel
Parameters:
builder - builder to use

clone

public java.lang.Object clone()
This method retruns a clone from the component

Specified by:
clone in interface JetComponent
Specified by:
clone in interface JetGridPanel
Specified by:
clone in interface JetGridPanel2
Overrides:
clone in class JetGridPanel
Returns:
the cloned object