Package tripleplay.ui.layout
Class BorderLayout.Constraint
java.lang.Object
tripleplay.ui.Layout.Constraint
tripleplay.ui.layout.BorderLayout.Constraint
- Enclosing class:
BorderLayout
Implements the constraints. Callers do not need to construct instances, but instead use the
declared constants and select or deselect the stretching option.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a new constraint specifying the same position as this, and with stretching.Returns a new constraint specifying the same position as this, and with no stretching.Methods inherited from class tripleplay.ui.Layout.Constraint
adjustHintX, adjustHintY, adjustPreferredSize, setElement
-
Method Details
-
stretched
Returns a new constraint specifying the same position as this, and with stretching. -
unstretched
Returns a new constraint specifying the same position as this, and with no stretching. The element's preferred size will be used and an appropriate alignment.
-