Interface Split


public interface Split
Split describes a splitting of the UI space for different LayoutViews.
Since:
9.10.8
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Orientation describes the direction the space is split.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the orientation of this split.
    Returns the subsplits inside this split.
    Returns the views that are inside this split.
    double
    Returns the relative weight of this split element amongst it siblings.
  • Method Details

    • getOrientation

      Split.Orientation getOrientation()
      Returns the orientation of this split. Horizontal means that the parts of this split are on top of each other. Vertical means that the parts of this split are next to each other.
      Returns:
      the orientation
      Since:
      9.10.8
    • getWeight

      double getWeight()
      Returns the relative weight of this split element amongst it siblings.
      Returns:
      the weight
      Since:
      9.10.8
    • getSubSplits

      List<Split> getSubSplits()
      Returns the subsplits inside this split. If this split contains any subsplits it will not contain any views.
      Returns:
      a list of the subsplits
      Since:
      9.10.8
    • getViews

      List<LayoutView> getViews()
      Returns the views that are inside this split. If this split contains any views, it will not contain any subsplits.
      Returns:
      a list of the contained views
      Since:
      9.10.8