-
static class
A special layout constraint used by
TextWidget
s which adjusts only the text size of
the widget, leaving the remaining dimensions (icon, insets, etc.) unmodified.
Returns the layout constraint configured on this element, or null.
Returns a layout constraint that forces the widget's preferred height to the specified value.
Constraints.fixedSize(float width,
float height)
Returns a layout constraint that forces the widget's preferred width height to the specified
values.
Returns a layout constriant that forces the widget's preferred size to be precisely what is
needed to accommodate the supplied template text string.
Returns a layout constraint that forces the widget's preferred width to the specified value.
Returns a layout constraint that forces the widget's preferred height to be no more than the
specified value.
Constraints.maxSize(float width,
float height)
Returns a layout constraint that forces the widget's preferred width height to be no more
than the specified values.
Returns a layout constraint that forces the widget's preferred width to be no more than the
specified value.
Returns a layout constraint that forces the widget's preferred height to be no less than the
specified value.
Constraints.minSize(float width,
float height)
Returns a layout constraint that forces the widget's preferred width height to be no less
than the specified values.
Returns a layout constriant that forces the widget's preferred size to be no less than what
is needed to accommodate the supplied template text string.
Returns a layout constraint that forces the widget's preferred width to be no less than the
specified value.
Configures the layout constraint on this element.
-
static final class
Defines absolute layout constraints.
static final class
Defines axis layout constraints.
static class
Implements the constraints.
static class
Defines a colspan constraint.