| 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 RowSpec |
DefaultFormBuilder.defaultRowSpec
Holds the row specification that is reused to describe rows
that are intended for labels and components.
|
private RowSpec |
DefaultFormBuilder.lineGapSpec
Holds the row specification that is reused to describe
the constant gaps between component lines.
|
private RowSpec |
DefaultFormBuilder.paragraphGapSpec
Holds the row specification that describes the constant gaps
between paragraphs.
|
private static RowSpec[] |
ButtonBarBuilder.ROW_SPECS
Specifies the FormLayout's the single button bar row.
|
private static RowSpec[] |
ButtonStackBuilder.ROW_SPECS
Specifies the rows of the initial FormLayout used in constructors.
|
| Modifier and Type | Method and Description |
|---|---|
private RowSpec |
DefaultFormBuilder.getCursorRowSpec()
Looks up and returns the row specification of the current row.
|
RowSpec |
DefaultFormBuilder.getDefaultRowSpec()
Deprecated.
Obsolete; will be deleted from the next version
|
RowSpec |
DefaultFormBuilder.getLineGapSpec()
Deprecated.
Obsolete; will be deleted from the next version
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractButtonPanelBuilder.appendRow(RowSpec rowSpec)
Appends the given row specification to the builder's layout.
|
void |
AbstractFormBuilder.appendRow(RowSpec rowSpec)
Appends the given row specification to the builder's layout.
|
DefaultFormBuilder |
DefaultFormBuilder.defaultRowSpec(RowSpec defaultRowSpec)
Sets the row specification that shall be used for component rows.
|
private void |
DefaultFormBuilder.ensureHasGapRow(RowSpec gapRowSpec)
Ensures that we have a gap row before the next component row.
|
void |
DefaultFormBuilder.setDefaultRowSpec(RowSpec defaultRowSpec)
Deprecated.
Replaced by
DefaultFormBuilder.defaultRowSpec(RowSpec) |
| Modifier and Type | Field and Description |
|---|---|
static RowSpec |
FormSpecs.BUTTON_ROWSPEC
Describes a logical row for a fixed size button.
|
static RowSpec |
FormSpecs.DEFAULT_ROWSPEC
An unmodifiable
RowSpec that determines its preferred
height by computing the maximum of all column component preferred heights
and its minimum height by computing all column component minimum heights. |
static RowSpec |
FormSpecs.GLUE_ROWSPEC
An unmodifiable
RowSpec that has an initial height
of 0 pixels and that grows. |
static RowSpec |
FormSpecs.LABEL_COMPONENT_GAP_ROWSPEC
Describes a logical horizontal gap between a label and an associated
component.
|
static RowSpec |
FormSpecs.LINE_GAP_ROWSPEC
Describes the logical vertical default gap between two rows in the grid.
|
static RowSpec |
FormSpecs.MIN_ROWSPEC
An unmodifiable
RowSpec that determines its height by
computing the maximum of all column component minimum heights. |
static RowSpec |
FormSpecs.NARROW_LINE_GAP_ROWSPEC
Describes a logical vertical narrow gap between two rows in the grid.
|
static RowSpec |
FormSpecs.PARAGRAPH_GAP_ROWSPEC
Describes the logical vertical default gap between two paragraphs in
the layout grid.
|
static RowSpec |
FormSpecs.PREF_ROWSPEC
An unmodifiable
RowSpec that determines its height by
computing the maximum of all column component preferred heights. |
static RowSpec |
FormSpecs.RELATED_GAP_ROWSPEC
Describes a logical vertical gap between two related components.
|
static RowSpec |
FormSpecs.UNRELATED_GAP_ROWSPEC
Describes a logical vertical gap between two unrelated components.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.String,RowSpec> |
RowSpec.CACHE
Maps encoded row specifications to RowSpec instances.
|
private java.util.List<RowSpec> |
FormLayout.rowSpecs
Holds the row specifications.
|
| Modifier and Type | Method and Description |
|---|---|
static RowSpec |
RowSpec.createGap(ConstantSize gapHeight)
Creates and returns a
RowSpec that represents a gap with the
specified ConstantSize. |
static RowSpec |
RowSpec.decode(java.lang.String encodedRowSpec)
Parses the encoded row specification and returns a RowSpec object
that represents the string.
|
static RowSpec |
RowSpec.decode(java.lang.String encodedRowSpec,
LayoutMap layoutMap)
Parses the encoded row specifications and returns a RowSpec object
that represents the string.
|
(package private) static RowSpec |
RowSpec.decodeExpanded(java.lang.String expandedTrimmedLowerCaseSpec)
Decodes an expanded, trimmed, lower case row spec.
|
static RowSpec[] |
RowSpec.decodeSpecs(java.lang.String encodedRowSpecs)
Parses and splits encoded row specifications using the default
LayoutMap and returns an array of RowSpec objects. |
static RowSpec[] |
RowSpec.decodeSpecs(java.lang.String encodedRowSpecs,
LayoutMap layoutMap)
Parses and splits encoded row specifications using the given
LayoutMap and returns an array of RowSpec objects. |
RowSpec |
FormLayout.getRowSpec(int rowIndex)
Returns the
RowSpec at the specified row index. |
private RowSpec[] |
FormSpecParser.parseRowSpecs() |
(package private) static RowSpec[] |
FormSpecParser.parseRowSpecs(java.lang.String encodedRowSpecs,
LayoutMap layoutMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
FormLayout.appendRow(RowSpec rowSpec)
Appends the given row specification to the bottom of all rows.
|
void |
FormLayout.insertRow(int rowIndex,
RowSpec rowSpec)
Inserts the specified column at the specified position.
|
java.lang.String |
LayoutMap.rowPut(java.lang.String key,
RowSpec value)
Associates the specified ColumnSpec with the specified key in this map.
|
private void |
LayoutMap.rowPut(java.lang.String key,
java.lang.String[] aliases,
RowSpec value) |
void |
FormLayout.setRowSpec(int rowIndex,
RowSpec rowSpec)
Sets the RowSpec at the specified row index.
|
| Constructor and Description |
|---|
FormLayout(ColumnSpec[] colSpecs,
RowSpec[] rowSpecs)
Constructs a FormLayout using the given column and row specifications.
|