|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjet.html.core.JetComponent
jet.html.core.JetChildComponent
jet.html.core.JetParentComponent
public abstract class JetParentComponent
This abstract class describes how parent objects work and implement general behave
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface jet.html.JetChildComponent |
|---|
JetChildComponent.HasNoParent |
| Field Summary | |
|---|---|
private EventProxy |
childEventProxy
|
private java.util.Map<java.lang.String,JetChildComponent> |
childs
Holds the child components |
| Fields inherited from class jet.html.core.JetComponent |
|---|
eventSupport |
| Constructor Summary | |
|---|---|
JetParentComponent(java.lang.String identifier)
Constructor(identifier) |
|
JetParentComponent(java.lang.String identifier,
java.lang.String styleclass)
Constructor(identifier) |
|
JetParentComponent(java.lang.String identifier,
java.lang.String name,
java.lang.String styleclass)
Constructor(identifier) |
|
| Method Summary | |
|---|---|
void |
add(java.util.Collection<JetChildComponent> tchilds)
adds a child component |
void |
add(JetChildComponent obj)
adds a child component |
java.lang.String |
decodeGetString(JetContext jetContext)
Method to decode GET string fro childs |
void |
encode(java.util.Map requestParameters)
Method to encode child values |
JetChildComponent |
getChild(java.lang.String identifier)
Returns teh child with the given id or null if not found |
java.util.Collection<JetChildComponent> |
getChilds()
Returns the childs |
void |
remove(JetChildComponent obj)
removes a child component |
void |
reset()
Method to reset childs |
void |
setChilds(java.util.Map<java.lang.String,JetChildComponent> childs)
Set the childs of this parent object |
| Methods inherited from class jet.html.core.JetChildComponent |
|---|
getForm, getParent, isHidden, setParent, toggleHidden |
| Methods inherited from class jet.html.core.JetComponent |
|---|
addListener, addListener, clone, componentChanged, decodeForm, 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, clone, componentChanged, decodeForm, findComponent, findComponents, getIdentifier, getName, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass |
| Field Detail |
|---|
private EventProxy childEventProxy
private java.util.Map<java.lang.String,JetChildComponent> childs
| Constructor Detail |
|---|
public JetParentComponent(java.lang.String identifier)
identifier - identifier
public JetParentComponent(java.lang.String identifier,
java.lang.String styleclass)
identifier - identifierstyleclass - the styleclass to use
public JetParentComponent(java.lang.String identifier,
java.lang.String name,
java.lang.String styleclass)
identifier - identifiername - namestyleclass - the styleclass to use| Method Detail |
|---|
public void add(java.util.Collection<JetChildComponent> tchilds)
throws java.lang.IllegalAccessException,
JetActionException
add in interface JetParentComponentjava.lang.IllegalAccessException
JetActionException
public void add(JetChildComponent obj)
throws java.lang.IllegalAccessException,
JetActionException
add in interface JetParentComponentjava.lang.IllegalAccessException
JetActionException
public void remove(JetChildComponent obj)
throws NotFoundException
remove in interface JetParentComponentNotFoundExceptionpublic java.util.Collection<JetChildComponent> getChilds()
getChilds in interface JetParentComponentpublic JetChildComponent getChild(java.lang.String identifier)
getChild in interface JetParentComponentidentifier - identifier
public void encode(java.util.Map requestParameters)
encode in interface JetParentComponent
public java.lang.String decodeGetString(JetContext jetContext)
throws java.io.UnsupportedEncodingException
decodeGetString in interface JetParentComponentjava.io.UnsupportedEncodingExceptionpublic void reset()
reset in interface JetParentComponentpublic void setChilds(java.util.Map<java.lang.String,JetChildComponent> childs)
setChilds in interface JetParentComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||