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.
|
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 the
Size interface that represents constant
sizes described by a value and unit, for example:
10 pixel, 15 point or 4 dialog units. |
class |
PrototypeSize |
A
Size implementation that computes its width and height
by a prototype String. |
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.
|
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) |
|
java.lang.String |
LayoutMap.rowPut(java.lang.String key,
Size value) |
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 a
FormSpec 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.
|
Modifier and Type | Method | Description |
---|---|---|
abstract Size |
LayoutStyle.getDefaultButtonHeight() |
Returns this style's default button height.
|
abstract Size |
LayoutStyle.getDefaultButtonWidth() |
Returns this style's default button width.
|
Copyright © 2002-2009 JGoodies Karsten Lentzsch. All Rights Reserved.