Interface DockingWorkbenchPanelView<P extends WorkbenchPanelPresenter>
-
- All Superinterfaces:
org.uberfire.client.mvp.HasPresenter<P>,com.google.gwt.user.client.ui.IsWidget,com.google.gwt.user.client.ui.RequiresResize,org.uberfire.client.mvp.UberView<P>,WorkbenchPanelView<P>
- All Known Implementing Classes:
AbstractDockingWorkbenchPanelView,AbstractMultiPartWorkbenchPanelView,AbstractSimpleWorkbenchPanelView,AdaptiveWorkbenchPanelView,ClosableSimpleWorkbenchPanelView,MultiListWorkbenchPanelView,MultiScreenWorkbenchPanelView,SimpleDnDWorkbenchPanelView,SimpleNoExpandWorkbenchPanelView,SimpleWorkbenchPanelView
public interface DockingWorkbenchPanelView<P extends WorkbenchPanelPresenter> extends WorkbenchPanelView<P>
Interface for workbench panel views that support "docking" nested panels along their edges.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleansetChildSize(WorkbenchPanelView<?> childPanel, int size)Sets the size (width for EAST or WEST children; height for NORTH and SOUTH children) allocated to the specified child by moving its splitter bar on the screen.-
Methods inherited from interface org.uberfire.client.workbench.panels.WorkbenchPanelView
addPanel, addPart, changeTitle, getPartDropRegion, getParts, getPresenter, maximize, removePanel, removePart, selectPart, setElementId, setFocus, unmaximize
-
-
-
-
Method Detail
-
setChildSize
boolean setChildSize(WorkbenchPanelView<?> childPanel, int size)
Sets the size (width for EAST or WEST children; height for NORTH and SOUTH children) allocated to the specified child by moving its splitter bar on the screen. If the requested space isn't available (for instance because it is larger than the browser window, or it would make the central panel of this view smaller than its minimum size) then the largest possible amount will be given to the requested child. Similarly, if the requested size is less than the child's minimum width or height (as appropriate) then the child will be set to its minimum.- Parameters:
childPanel- the panel whose size to change- Returns:
- true if the child was found and its size was adjusted (even if the requested amount was out of range); false if the given child was not found as a child of this panel.
-
-