| 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.
|
| Modifier and Type | Field and Description |
|---|---|
private LayoutMap |
FormSpecParser.layoutMap |
private LayoutMap |
LayoutMap.parent
Refers to the parent map that is used to look up values
if this map contains no association for a given key.
|
private static LayoutMap |
LayoutMap.root
Holds the lazily initialized root map.
|
| Modifier and Type | Method and Description |
|---|---|
private static LayoutMap |
LayoutMap.createRoot() |
static LayoutMap |
LayoutMap.getRoot()
Lazily initializes and returns the LayoutMap that is used
for variable expansion, if no custom LayoutMap is provided.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnSpec |
ColumnSpec.decode(java.lang.String encodedColumnSpec,
LayoutMap layoutMap)
Parses the encoded column specifications and returns a ColumnSpec 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.
|
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. |
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. |
(package private) static ColumnSpec[] |
FormSpecParser.parseColumnSpecs(java.lang.String encodedColumnSpecs,
LayoutMap layoutMap) |
(package private) static RowSpec[] |
FormSpecParser.parseRowSpecs(java.lang.String encodedRowSpecs,
LayoutMap layoutMap) |
| Constructor and Description |
|---|
FormLayout(java.lang.String encodedColumnSpecs,
LayoutMap layoutMap)
Constructs a FormLayout using the given encoded column specifications
and LayoutMap.
|
FormLayout(java.lang.String encodedColumnSpecs,
java.lang.String encodedRowSpecs,
LayoutMap layoutMap)
Constructs a FormLayout using the given
encoded column and row specifications and the given LayoutMap.
|
FormSpecParser(java.lang.String source,
java.lang.String description,
LayoutMap layoutMap,
boolean horizontal)
Constructs a parser for the given encoded column/row specification,
the given LayoutMap, and orientation.
|
LayoutMap(LayoutMap parent)
Constructs a LayoutMap with the given optional parent.
|