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 | Method and Description |
---|---|
void |
AbstractFormBuilder.appendColumn(ColumnSpec columnSpec)
Appends the given column specification to the builder's layout.
|
protected void |
AbstractButtonPanelBuilder.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 | 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(String encodedColumnSpec)
Parses the encoded column specification and returns a ColumnSpec object
that represents the string.
|
static ColumnSpec |
ColumnSpec.decode(String encodedColumnSpec,
LayoutMap layoutMap)
Parses the encoded column specifications and returns a ColumnSpec object
that represents the string.
|
static ColumnSpec[] |
ColumnSpec.decodeSpecs(String encodedColumnSpecs)
Parses and splits encoded column specifications using the default
LayoutMap and returns an array of ColumnSpec objects. |
static ColumnSpec[] |
ColumnSpec.decodeSpecs(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. |
Modifier and Type | Method and Description |
---|---|
void |
FormLayout.appendColumn(ColumnSpec columnSpec)
Appends the given column specification to the right hand side of all
columns.
|
String |
LayoutMap.columnPut(String key,
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.
|
Copyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.