Package tripleplay.ui.layout
Class AxisLayout.Vertical
java.lang.Object
tripleplay.ui.Layout
tripleplay.ui.layout.AxisLayout
tripleplay.ui.layout.AxisLayout.Vertical
- Enclosing class:
AxisLayout
A vertical axis layout.
-
Nested Class Summary
Nested classes/interfaces inherited from class tripleplay.ui.layout.AxisLayout
AxisLayout.Constraint, AxisLayout.Horizontal, AxisLayout.Policy, AxisLayout.Vertical
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpythagoras.f.Dimension
computeSize
(Container<?> elems, float hintX, float hintY) 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.void
Lays out the supplied elements into a region of the specified dimensions.Methods inherited from class tripleplay.ui.layout.AxisLayout
fixed, gap, horizontal, offConstrain, offEqualize, offPolicy, offStretch, stretch, stretch, stretchByDefault, stretched, stretched, vertical
-
Constructor Details
-
Vertical
public Vertical()
-
-
Method Details
-
computeSize
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 classLayout
-
layout
Description copied from class:Layout
Lays out the supplied elements into a region of the specified dimensions.
-