Class Columns

All Implemented Interfaces:
Dimensions, Flexible

public class Columns extends HBox implements Flexible
A horizontal box that contains multiple vertical columns.
  • Method Details

    • create

      public static Columns create(List<Element> elements, ColumnLayout columnLayout)
    • getSize

      public long getSize()
      Description copied from interface: Flexible
      Get the size of this element in the dimension of its flexibility.
      Specified by:
      getSize in interface Flexible
    • getStretch

      public Flexibility getStretch()
      Description copied from interface: Flexible
      How much this element can stretch.
      Specified by:
      getStretch in interface Flexible
    • getShrink

      public Flexibility getShrink()
      Description copied from interface: Flexible
      How much this element can shrink.
      Specified by:
      getShrink in interface Flexible
    • fixed

      public Element fixed(long newSize)
      Description copied from interface: Flexible
      Fix the element to the specified size.
      Specified by:
      fixed in interface Flexible