|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pivot.wtk.Component
org.apache.pivot.wtk.Container
org.apache.pivot.wtk.Expander
@DefaultProperty(value="content") public class Expander
Navigation container that allows a user to expand and collapse a content component.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.pivot.wtk.Container |
|---|
Container.EDT_Checker |
| Nested classes/interfaces inherited from class org.apache.pivot.wtk.Component |
|---|
Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary |
| Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence |
|---|
Sequence.Tree<T> |
| Constructor Summary | |
|---|---|
Expander()
|
|
| Method Summary | |
|---|---|
Component |
getContent()
|
ListenerList<ExpanderListener> |
getExpanderListeners()
|
String |
getTitle()
Returns the expander's title. |
boolean |
isCollapsible()
Returns the expander's collapsible flag. |
boolean |
isExpanded()
|
Sequence<Component> |
remove(int index,
int count)
Removes one or more items from the sequence. |
void |
setCollapsible(boolean collapsible)
Sets the expander's collapsible flag. |
void |
setContent(Component content)
|
void |
setExpanded(boolean expanded)
|
void |
setTitle(String title)
Sets the expander's title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Expander()
| Method Detail |
|---|
public String getTitle()
public void setTitle(String title)
title - The new title, or null for no title.public boolean isCollapsible()
public void setCollapsible(boolean collapsible)
collapsible - The collapsible flagpublic boolean isExpanded()
public void setExpanded(boolean expanded)
public Component getContent()
public void setContent(Component content)
public Sequence<Component> remove(int index,
int count)
Sequence
remove in interface Sequence<Component>remove in class Containerindex - The starting index to remove.count - The number of items to remove, beginning with index.
public ListenerList<ExpanderListener> getExpanderListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||