Interface ShrinkablePerspectiveStation
- All Superinterfaces:
PerspectiveElement,PerspectiveStation
- All Known Implementing Classes:
CStackPerspective
This kind of
PerspectiveStation can find out whether it is really
needed and can remove itself if not.- Author:
- Benjamin Sigg
-
Method Summary
Methods inherited from interface bibliothek.gui.dock.perspective.PerspectiveElement
asDockable, asStation, getFactoryIDMethods inherited from interface bibliothek.gui.dock.perspective.PerspectiveStation
getDockable, getDockableCount, getDockableProperty, getPlaceholders, remove, replace, setPlaceholders
-
Method Details
-
shrink
PerspectiveDockable shrink()Checks the number of children this perspective has. If the number of children is 0 or 1, then this perspective replaces itself by its child in the of perspectives.- Returns:
- the replacement of
this, which is eitherthis, the only child ofthis, ornull
-