|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.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
- identifierpublic JetParentComponent(java.lang.String identifier, java.lang.String styleclass)
identifier
- identifierstyleclass
- the styleclass to usepublic JetParentComponent(java.lang.String identifier, java.lang.String name, java.lang.String styleclass)
identifier
- identifiername
- namestyleclass
- the styleclass to useMethod Detail |
---|
public void add(java.util.Collection<JetChildComponent> tchilds) throws java.lang.IllegalAccessException, JetActionException
add
in interface JetParentComponent
java.lang.IllegalAccessException
JetActionException
public void add(JetChildComponent obj) throws java.lang.IllegalAccessException, JetActionException
add
in interface JetParentComponent
java.lang.IllegalAccessException
JetActionException
public void remove(JetChildComponent obj) throws NotFoundException
remove
in interface JetParentComponent
NotFoundException
public java.util.Collection<JetChildComponent> getChilds()
getChilds
in interface JetParentComponent
public JetChildComponent getChild(java.lang.String identifier)
getChild
in interface JetParentComponent
identifier
- 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 JetParentComponent
java.io.UnsupportedEncodingException
public void reset()
reset
in interface JetParentComponent
public 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 |