| Package | Description |
|---|---|
| com.jgoodies.forms.builder |
Contains optional builder classes of the Forms framework.
|
| com.jgoodies.forms.layout |
Contains the core classes of the JGoodies Forms framework:
layout manager, column and row specifications, sizes and cell constraints.
|
| Modifier and Type | Field and Description |
|---|---|
private static ColumnSpec[] |
ButtonBarBuilder.COL_SPECS
Specifies the columns of the initial FormLayout used in constructors.
|
private static ColumnSpec[] |
ButtonStackBuilder.COL_SPECS
Specifies the FormLayout's the single button stack column.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractButtonPanelBuilder.appendColumn(ColumnSpec columnSpec)
Appends the given column specification to the builder's layout.
|
void |
AbstractFormBuilder.appendColumn(ColumnSpec columnSpec)
Appends the given column specification to the builder's layout.
|
| Modifier and Type | Field and Description |
|---|---|
static ColumnSpec |
FormSpecs.BUTTON_COLSPEC
Describes a logical horizontal column for a fixed size button.
|
static ColumnSpec |
FormSpecs.DEFAULT_COLSPEC
An unmodifiable
ColumnSpec that determines its preferred
width by computing the maximum of all column component preferred widths
and its minimum width by computing all column component minimum widths. |
static ColumnSpec |
FormSpecs.GLUE_COLSPEC
An unmodifiable
ColumnSpec that has an initial width
of 0 pixels and that grows. |
static ColumnSpec |
FormSpecs.GROWING_BUTTON_COLSPEC
Describes a logical horizontal column for a growing button.
|
static ColumnSpec |
FormSpecs.LABEL_COMPONENT_GAP_COLSPEC
Describes a logical horizontal gap between a label and an associated
component.
|
static ColumnSpec |
FormSpecs.MIN_COLSPEC
An unmodifiable
ColumnSpec that determines its width by
computing the maximum of all column component minimum widths. |
static ColumnSpec |
FormSpecs.PREF_COLSPEC
An unmodifiable
ColumnSpec that determines its width by
computing the maximum of all column component preferred widths. |
static ColumnSpec |
FormSpecs.RELATED_GAP_COLSPEC
Describes a logical horizontal gap between two related components.
|
static ColumnSpec |
FormSpecs.UNRELATED_GAP_COLSPEC
Describes a logical horizontal gap between two unrelated components.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.String,ColumnSpec> |
ColumnSpec.CACHE
Maps encoded column specifications to ColumnSpec instances.
|
private java.util.List<ColumnSpec> |
FormLayout.colSpecs
Holds the column specifications.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnSpec |
ColumnSpec.createGap(ConstantSize gapWidth)
Creates and returns a
ColumnSpec that represents a gap with the
specified ConstantSize. |
static ColumnSpec |
ColumnSpec.decode(java.lang.String encodedColumnSpec)
Parses the encoded column specification and returns a ColumnSpec object
that represents the string.
|
static ColumnSpec |
ColumnSpec.decode(java.lang.String encodedColumnSpec,
LayoutMap layoutMap)
Parses the encoded column specifications and returns a ColumnSpec object
that represents the string.
|
(package private) static ColumnSpec |
ColumnSpec.decodeExpanded(java.lang.String expandedTrimmedLowerCaseSpec)
Decodes an expanded, trimmed, lower case column spec.
|
static ColumnSpec[] |
ColumnSpec.decodeSpecs(java.lang.String encodedColumnSpecs)
Parses and splits encoded column specifications using the default
LayoutMap and returns an array of ColumnSpec objects. |
static ColumnSpec[] |
ColumnSpec.decodeSpecs(java.lang.String encodedColumnSpecs,
LayoutMap layoutMap)
Splits and parses the encoded column specifications using the given
LayoutMap and returns an array of ColumnSpec objects. |
ColumnSpec |
FormLayout.getColumnSpec(int columnIndex)
Returns the
ColumnSpec at the specified column index. |
private ColumnSpec[] |
FormSpecParser.parseColumnSpecs() |
(package private) static ColumnSpec[] |
FormSpecParser.parseColumnSpecs(java.lang.String encodedColumnSpecs,
LayoutMap layoutMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
FormLayout.appendColumn(ColumnSpec columnSpec)
Appends the given column specification to the right hand side of all
columns.
|
java.lang.String |
LayoutMap.columnPut(java.lang.String key,
ColumnSpec value) |
private void |
LayoutMap.columnPut(java.lang.String key,
java.lang.String[] aliases,
ColumnSpec value) |
void |
FormLayout.insertColumn(int columnIndex,
ColumnSpec columnSpec)
Inserts the specified column at the specified position.
|
void |
FormLayout.setColumnSpec(int columnIndex,
ColumnSpec columnSpec)
Sets the ColumnSpec at the specified column index.
|
| Constructor and Description |
|---|
FormLayout(ColumnSpec[] colSpecs)
Constructs a FormLayout using the given column specifications.
|
FormLayout(ColumnSpec[] colSpecs,
RowSpec[] rowSpecs)
Constructs a FormLayout using the given column and row specifications.
|