public class ExpandManager
extends java.lang.Object
ExpandManager
is responsible for performing global effects that
happen after a ExpandableToolbarItemStrategy
changed the
ExpandedState
of a Dockable
.Constructor and Description |
---|
ExpandManager(bibliothek.gui.DockController controller) |
Modifier and Type | Method and Description |
---|---|
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. |
public void update(bibliothek.gui.Dockable item)
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
.item
- the item whose state changedprotected void update(bibliothek.gui.dock.ScreenDockStation station, bibliothek.gui.Dockable child)
ExpandedState
of child
or one of its
children has changed. This method should update the size of
child
such that it has its preferred sizestation
- the parent of child
child
- the child whose state changed