Interface ShrinkablePerspectiveStation

All Superinterfaces:
PerspectiveElement, PerspectiveStation
All Known Implementing Classes:
CStackPerspective

public interface ShrinkablePerspectiveStation extends PerspectiveStation
This kind of PerspectiveStation can find out whether it is really needed and can remove itself if not.
Author:
Benjamin Sigg
  • Method Details

    • 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 either this, the only child of this, or null