Class AxisLayout.Horizontal

java.lang.Object
tripleplay.ui.Layout
tripleplay.ui.layout.AxisLayout
tripleplay.ui.layout.AxisLayout.Horizontal
Enclosing class:
AxisLayout

public static class AxisLayout.Horizontal extends AxisLayout
A horizontal axis layout.
  • Constructor Details

    • Horizontal

      public Horizontal()
  • 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