|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopointng.model.ExpansionGroup
public class ExpansionGroup
ExpansionGroup is a collection of Expandable's which allows
the expansion of only one Expandable at a time.
The accordion mode is a more restrictive form of this in that
it allows on only one Expandable to be expanded at one time and it
also requires at least one Expandable to be expanded.
| Constructor Summary | |
|---|---|
ExpansionGroup()
Constructs an ExpansionGroup |
|
| Method Summary | |
|---|---|
void |
addExpandable(Expandable expandable)
Adds a Expandable to the group. |
Expandable[] |
getExpandables()
Returns all Expandables in the group. |
java.lang.String |
getRenderId()
Returns an identifier that is unique within the ApplicationInstance with which the implementor will be
used. |
boolean |
isAccordionMode()
|
void |
removeExpandable(Expandable expandable)
Removes a Expandable from the group. |
void |
setAccordionMode(boolean newValue)
Controls whether the ExpansionGroup is in accordion mode. |
void |
validate()
This will validate that the Expandables in the in the right state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpansionGroup()
ExpansionGroup
| Method Detail |
|---|
public void addExpandable(Expandable expandable)
Expandable to the group.
expandable - the Expandable to addpublic Expandable[] getExpandables()
Expandables in the group.
Expandables in the group.public java.lang.String getRenderId()
RenderIdSupportApplicationInstance with which the implementor will be
used.
getRenderId in interface RenderIdSupportRenderIdSupport.getRenderId()public void removeExpandable(Expandable expandable)
Expandable from the group.
expandable - the Expandable to removepublic boolean isAccordionMode()
ExpansionGroup is in accordion mode.public void setAccordionMode(boolean newValue)
ExpansionGroup is in accordion mode. If it is
in accordion mode, the at least one of the Expanables is required to be
opened at all times.
public void validate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||