Uses of Interface
com.jgoodies.forms.layout.Size
-
Packages that use Size Package Description com.jgoodies.forms.layout Contains the core classes of the JGoodies Forms framework: layout manager, column and row specifications, sizes and cell constraints.com.jgoodies.forms.util 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 Size Modifier and Type Class Description class
BoundedSize
Describes sizes that provide lower and upper bounds as used by the JGoodies FormLayout.class
ConstantSize
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.class
PrototypeSize
ASize
implementation that computes its width and height by a prototype String.(package private) static class
Sizes.ComponentSize
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 Size Modifier and Type Field Description private Size
BoundedSize. basis
Holds the base size.private 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 Size
BoundedSize. upperBound
Holds an optional upper bound.Methods in com.jgoodies.forms.layout that return Size Modifier and Type Method Description static Size
Sizes. bounded(Size basis, Size lowerBound, Size upperBound)
Creates and returns a BoundedSize for the given basis using the specified lower and upper bounds.Size
BoundedSize. getBasis()
Returns the base size, which is not-null
.Size
BoundedSize. getLowerBound()
Returns the optional lower bound.Size
FormSpec. getSize()
Returns the size.Size
BoundedSize. getUpperBound()
Returns the optional upper bound.private Size
FormSpec. parseAtomicSize(java.lang.String token)
Decodes and returns an atomic size that is either a constant size or a component size.private Size
FormSpec. parseBoundedSize(java.lang.String token)
private Size
FormSpec. parseOldBoundedSize(java.lang.String token, boolean setMax)
Parses an encoded compound size and sets the size fields.private Size
FormSpec. parseSize(java.lang.String token)
Parses an encoded size spec and returns the size.Methods in com.jgoodies.forms.layout with parameters of type Size Modifier and Type Method Description static Size
Sizes. bounded(Size basis, Size lowerBound, Size upperBound)
Creates and returns a BoundedSize for the given basis using the specified lower and upper bounds.java.lang.String
LayoutMap. columnPut(java.lang.String key, Size value)
private static boolean
FormSpec. isConstant(Size aSize)
java.lang.String
LayoutMap. rowPut(java.lang.String key, Size value)
(package private) void
FormSpec. setSize(Size size)
Constructors in com.jgoodies.forms.layout with parameters of type Size Constructor Description BoundedSize(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.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.RowSpec(Size size)
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 Size Modifier and Type Field Description private static Size
MacLayoutStyle. BUTTON_HEIGHT
private static Size
WindowsLayoutStyle. BUTTON_HEIGHT
private static Size
MacLayoutStyle. BUTTON_WIDTH
private static Size
WindowsLayoutStyle. BUTTON_WIDTH
Methods in com.jgoodies.forms.util that return Size Modifier and Type Method Description abstract Size
LayoutStyle. getDefaultButtonHeight()
Returns this style's default button height.Size
MacLayoutStyle. getDefaultButtonHeight()
Size
WindowsLayoutStyle. getDefaultButtonHeight()
abstract Size
LayoutStyle. getDefaultButtonWidth()
Returns this style's default button width.Size
MacLayoutStyle. getDefaultButtonWidth()
Size
WindowsLayoutStyle. getDefaultButtonWidth()
-