bibliothek.gui.dock.toolbar.expand
Class ExpandManager
java.lang.Object
bibliothek.gui.dock.toolbar.expand.ExpandManager
public class ExpandManager
- extends Object
The ExpandManager is responsible for performing global effects that
happen after a ExpandableToolbarItemStrategy changed the
ExpandedState of a Dockable.
- Author:
- Benjamin Sigg
|
Constructor Summary |
ExpandManager(bibliothek.gui.DockController controller)
|
|
Method Summary |
void |
update(bibliothek.gui.Dockable item)
Called after the ExpandedState of item changed. |
protected void |
update(bibliothek.gui.dock.ScreenDockStation station,
bibliothek.gui.Dockable child)
Called if the ExpandedState of child or one of its
children has changed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandManager
public ExpandManager(bibliothek.gui.DockController controller)
update
public void update(bibliothek.gui.Dockable item)
- Called after the
ExpandedState of item changed. This
method will check the position and size of item and if
possible change the size such that it matches the preferred size of the
item.
- Parameters:
item - the item whose state changed
update
protected void update(bibliothek.gui.dock.ScreenDockStation station,
bibliothek.gui.Dockable child)
- Called if the
ExpandedState of child or one of its
children has changed. This method should update the size of
child such that it has its preferred size
- Parameters:
station - the parent of childchild - the child whose state changed