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 classDescribes sizes that provide lower and upper bounds as used by the JGoodies FormLayout.final classAn implementation of theSizeinterface that represents constant sizes described by a value and unit, for example: 10 pixel, 15 point or 4 dialog units.final classASizeimplementation that computes its width and height by a prototype String.(package private) static final classAn ordinal-based serializable typesafe enumeration that implements theSizeinterface for the component sizes: min, pref, default.Fields in com.jgoodies.forms.layout declared as SizeModifier and TypeFieldDescriptionprivate final SizeBoundedSize.basisHolds the base size.private final SizeBoundedSize.lowerBoundHolds an optional lower bound.private SizeFormSpec.sizeHolds the size that describes how to size this column or row.private final SizeBoundedSize.upperBoundHolds an optional upper bound.Methods in com.jgoodies.forms.layout that return SizeModifier and TypeMethodDescriptionstatic SizeCreates 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 SizeFormSpec.getSize()Returns the size.BoundedSize.getUpperBound()Returns the optional upper bound.private SizeFormSpec.parseAtomicSize(String token) Decodes and returns an atomic size that is either a constant size or a component size.private SizeFormSpec.parseBoundedSize(String token) private SizeFormSpec.parseOldBoundedSize(String token, boolean setMax) Parses an encoded compound size and sets the size fields.private SizeParses an encoded size spec and returns the size.Methods in com.jgoodies.forms.layout with parameters of type SizeModifier and TypeMethodDescriptionstatic SizeCreates and returns a BoundedSize for the given basis using the specified lower and upper bounds.private static booleanFormSpec.isConstant(Size aSize) (package private) voidConstructors 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.protectedFormSpec(FormSpec.DefaultAlignment defaultAlignment, Size size, double resizeWeight) Constructs aFormSpecfor 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 SizeMacLayoutStyle.BUTTON_HEIGHTprivate static final SizeWindowsLayoutStyle.BUTTON_HEIGHTprivate static final SizeMacLayoutStyle.BUTTON_WIDTHprivate static final SizeWindowsLayoutStyle.BUTTON_WIDTHMethods in com.jgoodies.forms.util that return SizeModifier and TypeMethodDescriptionabstract SizeLayoutStyle.getDefaultButtonHeight()Returns this style's default button height.MacLayoutStyle.getDefaultButtonHeight()WindowsLayoutStyle.getDefaultButtonHeight()abstract SizeLayoutStyle.getDefaultButtonWidth()Returns this style's default button width.MacLayoutStyle.getDefaultButtonWidth()WindowsLayoutStyle.getDefaultButtonWidth()