Uses of Interface
com.jgoodies.forms.layout.Size
Packages that use Size
Package
Description
Contains the core classes of the JGoodies Forms framework:
layout manager, column and row specifications, sizes and cell constraints.
Consists of Forms framework helper classes for unit conversion and layout styles.
-
Uses of Size in com.jgoodies.forms.layout
Classes in com.jgoodies.forms.layout that implement SizeModifier and TypeClassDescriptionfinal class
Describes sizes that provide lower and upper bounds as used by the JGoodies FormLayout.final class
An implementation of theSize
interface that represents constant sizes described by a value and unit, for example: 10 pixel, 15 point or 4 dialog units.final class
ASize
implementation that computes its width and height by a prototype String.(package private) static final class
An ordinal-based serializable typesafe enumeration that implements theSize
interface for the component sizes: min, pref, default.Fields in com.jgoodies.forms.layout declared as SizeModifier and TypeFieldDescriptionprivate final Size
BoundedSize.basis
Holds the base size.private final Size
BoundedSize.lowerBound
Holds an optional lower bound.private Size
FormSpec.size
Holds the size that describes how to size this column or row.private final Size
BoundedSize.upperBound
Holds an optional upper bound.Methods in com.jgoodies.forms.layout that return SizeModifier and TypeMethodDescriptionstatic Size
Creates and returns a BoundedSize for the given basis using the specified lower and upper bounds.BoundedSize.getBasis()
Returns the base size, which is not-null
.BoundedSize.getLowerBound()
Returns the optional lower bound.final Size
FormSpec.getSize()
Returns the size.BoundedSize.getUpperBound()
Returns the optional upper bound.private Size
FormSpec.parseAtomicSize
(String token) Decodes and returns an atomic size that is either a constant size or a component size.private Size
FormSpec.parseBoundedSize
(String token) private Size
FormSpec.parseOldBoundedSize
(String token, boolean setMax) Parses an encoded compound size and sets the size fields.private Size
Parses an encoded size spec and returns the size.Methods in com.jgoodies.forms.layout with parameters of type SizeModifier and TypeMethodDescriptionstatic Size
Creates and returns a BoundedSize for the given basis using the specified lower and upper bounds.private static boolean
FormSpec.isConstant
(Size aSize) (package private) void
Constructors in com.jgoodies.forms.layout with parameters of type SizeModifierConstructorDescriptionBoundedSize
(Size basis, Size lowerBound, Size upperBound) Constructs a BoundedSize for the given basis using the specified lower and upper bounds.ColumnSpec
(FormSpec.DefaultAlignment defaultAlignment, Size size, double resizeWeight) Constructs a ColumnSpec for the given default alignment, size and resize weight.ColumnSpec
(Size size) Constructs a ColumnSpec for the given size using the default alignment, and no resizing.protected
FormSpec
(FormSpec.DefaultAlignment defaultAlignment, Size size, double resizeWeight) Constructs aFormSpec
for the given default alignment, size, and resize weight.RowSpec
(FormSpec.DefaultAlignment defaultAlignment, Size size, double resizeWeight) Constructs a RowSpec from the given default orientation, size, and resize weight.Constructs a RowSpec for the given size using the default alignment, and no resizing. -
Uses of Size in com.jgoodies.forms.util
Fields in com.jgoodies.forms.util declared as SizeModifier and TypeFieldDescriptionprivate static final Size
MacLayoutStyle.BUTTON_HEIGHT
private static final Size
WindowsLayoutStyle.BUTTON_HEIGHT
private static final Size
MacLayoutStyle.BUTTON_WIDTH
private static final Size
WindowsLayoutStyle.BUTTON_WIDTH
Methods in com.jgoodies.forms.util that return SizeModifier and TypeMethodDescriptionabstract Size
LayoutStyle.getDefaultButtonHeight()
Returns this style's default button height.MacLayoutStyle.getDefaultButtonHeight()
WindowsLayoutStyle.getDefaultButtonHeight()
abstract Size
LayoutStyle.getDefaultButtonWidth()
Returns this style's default button width.MacLayoutStyle.getDefaultButtonWidth()
WindowsLayoutStyle.getDefaultButtonWidth()