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 and 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 and 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 and 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.
|
String |
LayoutMap.columnPut(String key,
Size value) |
String |
LayoutMap.rowPut(String key,
Size value) |
Constructor and 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 and Description |
---|---|
Size |
MacLayoutStyle.getDefaultButtonHeight() |
abstract Size |
LayoutStyle.getDefaultButtonHeight()
Returns this style's default button height.
|
Size |
MacLayoutStyle.getDefaultButtonWidth() |
abstract Size |
LayoutStyle.getDefaultButtonWidth()
Returns this style's default button width.
|
Copyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.