Package | Description |
---|---|
com.jgoodies.forms.builder |
Contains optional builder classes of the Forms framework.
|
com.jgoodies.forms.factories |
Consists of optional Forms framework factory classes that assist you
in building consistent forms quickly
|
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.
|
Modifier and Type | Field and Description |
---|---|
static ColumnSpec |
FormFactory.BUTTON_COLSPEC
Describes a logical horizontal column for a fixed size button.
|
static ColumnSpec |
FormFactory.DEFAULT_COLSPEC
An unmodifyable
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 |
FormFactory.GLUE_COLSPEC
An unmodifyable
ColumnSpec that has an initial width
of 0 pixels and that grows. |
static ColumnSpec |
FormFactory.GROWING_BUTTON_COLSPEC
Describes a logical horizontal column for a growing button.
|
static ColumnSpec |
FormFactory.LABEL_COMPONENT_GAP_COLSPEC
Describes a logical horizontal gap between a label and an associated
component.
|
static ColumnSpec |
FormFactory.MIN_COLSPEC
An unmodifyable
ColumnSpec that determines its width by
computing the maximum of all column component minimum widths. |
static ColumnSpec |
FormFactory.PREF_COLSPEC
An unmodifyable
ColumnSpec that determines its width by
computing the maximum of all column component preferred widths. |
static ColumnSpec |
FormFactory.RELATED_GAP_COLSPEC
Describes a logical horizontal gap between two related components.
|
static ColumnSpec |
FormFactory.UNRELATED_GAP_COLSPEC
Describes a logical horizontal gap between two unrelated components.
|
Modifier and Type | Method and Description |
---|---|
static ColumnSpec |
FormFactory.createGapColumnSpec(ConstantSize gapSize)
Creates and returns a
ColumnSpec that represents a gap with the
specified ConstantSize . |
Modifier and Type | Method and Description |
---|---|
static FormLayout |
FormFactory.createColumnLayout(int majorColumns,
int minorColumns,
ColumnSpec labelColumnSpec)
Creates and returns an instance of
FormLayout
to build forms with the specified number of major and minor columns. |
static FormLayout |
FormFactory.createColumnLayout(int majorColumns,
int minorColumns,
ColumnSpec labelColumnSpec,
ColumnSpec componentColumnSpec,
ConstantSize indent,
ConstantSize majorColumnGap,
ConstantSize minorColumnGap)
Creates and returns an instance of
FormLayout
to build forms with the given number of major columns. |
static FormLayout |
FormFactory.createColumnLayout(int majorColumns,
int minorColumns,
ColumnSpec labelColumnSpec,
ConstantSize indent,
ConstantSize minorColumnGap)
Creates and returns an instance of
FormLayout
to build forms with the given number of major columns. |
Modifier and Type | Method and Description |
---|---|
static ColumnSpec[] |
ColumnSpec.decodeSpecs(java.lang.String encodedColumnSpecs)
Parses and splits encoded column specifications 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.
|
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,
RowSpec[] rowSpecs)
Constructs a FormLayout using the given column and row specifications.
|