Interface ExpandingLayout

All Superinterfaces:
Component, ComponentContainer, HasComponents
All Known Subinterfaces:
BoxLayout, DialogWindow, Fragment, FragmentImplementation, Frame, GroupBoxLayout, HBoxLayout, RootWindow, TabWindow, VBoxLayout, Window, WindowImplementation
All Known Implementing Classes:
AbstractBox, DialogWindowImpl, FragmentImpl, GroupBoxImpl, HBoxLayoutImpl, RootWindowImpl, TabWindowImpl, VBoxLayoutImpl, WindowImpl

public interface ExpandingLayout extends ComponentContainer
Component container which can expand enclosing components.
  • Method Details

    • expand

      void expand(Component component)
      Specifies the component that will be given maximum available space.
      Parameters:
      component - the component
    • resetExpanded

      void resetExpanded()
      Resets the expanded component and provides equal space for all nested components.
    • isExpanded

      boolean isExpanded(Component component)
      Returns true if the component occupies the maximum available space.
      Parameters:
      component - component to check
      Returns:
      true if the component occupies the maximum available space
    • getExpandDirection

      ExpandingLayout.ExpandDirection getExpandDirection()
      Returns:
      expand direction
      See Also: