Package tripleplay.ui
Class Layout
java.lang.Object
tripleplay.ui.Layout
- Direct Known Subclasses:
AbsoluteLayout
,AxisLayout
,BorderLayout
,FlowLayout
,TableLayout
Defines the interface to layouts, which implement a particular layout policy.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
An abstract base class for all layout constraints. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract pythagoras.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.abstract void
Lays out the supplied elements into a region of the specified dimensions.
-
Constructor Details
-
Layout
public Layout()
-
-
Method Details
-
computeSize
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. -
layout
Lays out the supplied elements into a region of the specified dimensions.
-