|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.toolbar.expand.ExpandableStateController
public class ExpandableStateController
The ExpandableStateController
is a helper class intended for
ExpandableToolbarItem
s, it finds the first parent of a
ExpandableToolbarItem
which is acknowledged by the current
ExpandableToolbarItemStrategy
and changes the ExpandedState
of the item to the ExpandedState
of the parent.
Constructor Summary | |
---|---|
ExpandableStateController(ExpandableToolbarItem item)
Creates a new controller. |
Method Summary | |
---|---|
ExpandableToolbarItem |
getItem()
Gets the item which is observed by this controller. |
void |
refresh()
Searches the first parent of the item which is
acknowledged by the current ExpandableToolbarItemStrategy and
updates the ExpandedState of the item such that it has the same
state as its parent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExpandableStateController(ExpandableToolbarItem item)
item
- the item to observeMethod Detail |
---|
public ExpandableToolbarItem getItem()
null
public void refresh()
the item
which is
acknowledged by the current ExpandableToolbarItemStrategy
and
updates the ExpandedState
of the item such that it has the same
state as its parent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |