public class ExpandManager extends Object
ExpandManager is responsible for performing global effects that
happen after a ExpandableToolbarItemStrategy changed the
ExpandedState of a Dockable.| Constructor and Description |
|---|
ExpandManager(DockController controller) |
| Modifier and Type | Method and Description |
|---|---|
void |
update(Dockable item)
Called after the
ExpandedState of item changed. |
protected void |
update(ScreenDockStation station,
Dockable child)
Called if the
ExpandedState of child or one of its
children has changed. |
public ExpandManager(DockController controller)
public void update(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(ScreenDockStation station, 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 childchild - the child whose state changedCopyright © 2018. All rights reserved.