Class AxisLayout.Vertical

Enclosing class:
AxisLayout

public static class AxisLayout.Vertical extends AxisLayout
A vertical axis layout.
  • Constructor Details

    • Vertical

      public Vertical()
  • Method Details

    • computeSize

      public pythagoras.f.Dimension computeSize(Container<?> elems, float hintX, float hintY)
      Description copied from class: Layout
      Computes and returns the size needed to arrange children of the supplied container according to their preferred size, given the specified x and y size hints.
      Specified by:
      computeSize in class Layout
    • layout

      public void layout(Container<?> elems, float left, float top, float width, float height)
      Description copied from class: Layout
      Lays out the supplied elements into a region of the specified dimensions.
      Specified by:
      layout in class Layout