protected FormBuilder |
FormBuilder.ComponentAdder.add(CellConstraints constraints) |
|
protected FormBuilder |
FormBuilder.NoOpComponentAdder.add(CellConstraints constraints) |
|
FormBuilder |
FormBuilder.appendColumns(java.lang.String encodedColumnSpecs,
java.lang.Object... args) |
Appends the given columns to this builder's layout.
|
FormBuilder |
FormBuilder.appendRows(java.lang.String encodedRowSpecs,
java.lang.Object... args) |
Appends the given rows to this builder's layout.
|
FormBuilder |
FormBuilder.ComponentAdder.at(CellConstraints constraints) |
Sets the given cell constraints.
|
FormBuilder |
FormBuilder.background(java.awt.Color background) |
Sets the panel's background color and the panel to be opaque.
|
FormBuilder |
FormBuilder.border(java.lang.String paddingSpec) |
Deprecated.
|
FormBuilder |
FormBuilder.border(javax.swing.border.Border border) |
Sets the panel's border.
|
FormBuilder |
FormBuilder.columnGroup(int... columnIndices) |
Configures this builder's layout to group (make equally wide)
the columns with the given indices.
|
FormBuilder |
FormBuilder.columnGroups(int[]... multipleColumnGroups) |
Configures this builder's layout to group (make equally wide)
the columns per array of column indices.
|
FormBuilder |
FormBuilder.columns(java.lang.String encodedColumnSpecs,
java.lang.Object... args) |
Configures this builder's layout columns using a comma-separated
string of column specifications.
|
static FormBuilder |
FormBuilder.create() |
Creates and return a new FormBuilder instance.
|
FormBuilder |
FormBuilder.debug(boolean b) |
Enables or disables the display of layout debug information.
|
FormBuilder |
FormBuilder.defaultLabelType(FormBuilder.LabelType newValue) |
|
FormBuilder |
FormBuilder.factory(ComponentFactory factory) |
Sets factory as this builder's new component factory
that is used when adding implicitly created components such as
labels, titles, or titled separators.
|
FormBuilder |
FormBuilder.focusGroup(javax.swing.AbstractButton... buttons) |
Tries to build a focus group for the given buttons.
|
FormBuilder |
FormBuilder.focusTraversalPolicy(java.awt.FocusTraversalPolicy policy) |
Sets the panel's focus traversal policy and sets the panel
as focus traversal policy provider.
|
FormBuilder |
FormBuilder.focusTraversalType(FocusTraversalType focusTraversalType) |
Sets either a layout or container order focus traversal policy.
|
FormBuilder |
FormBuilder.honorsVisibility(boolean b) |
Specifies whether invisible components shall be taken into account by
this builder for computing the layout size and setting component bounds.
|
FormBuilder |
FormBuilder.honorsVisibility(javax.swing.JComponent c,
boolean b) |
Configures how this builder's layout shall handle the visibility
of the given component.
|
FormBuilder |
FormBuilder.initialComponent(javax.swing.JComponent initialComponent) |
Sets a component that should receive the focus when a Window is
made visible for the first time.
|
FormBuilder |
FormBuilder.labelForFeatureEnabled(boolean b) |
Enables or disables the setLabelFor feature for this builder.
|
FormBuilder |
FormBuilder.layout(FormLayout layout) |
Sets layout as the layout to use by this builder.
|
FormBuilder |
FormBuilder.layoutMap(LayoutMap layoutMap) |
Configures this builder's FormLayout to use the given layout map
for expanding layout variables.
|
FormBuilder |
FormBuilder.name(java.lang.String panelName) |
Sets the name of the panel this builder works with.
|
FormBuilder |
FormBuilder.offset(int offsetX,
int offsetY) |
When adding components, the cell constraints origin are moved
along the X and Y axis using an offset
as specified by offsetX and offsetY respectively.
|
FormBuilder |
FormBuilder.opaque(boolean b) |
Sets the panel's opaque state.
|
FormBuilder |
FormBuilder.padding(java.lang.String paddingSpec,
java.lang.Object... args) |
Sets the panel's padding as an EmptyBorder using the given specification
for the top, left, bottom, right margins in DLU.
|
FormBuilder |
FormBuilder.padding(javax.swing.border.EmptyBorder padding) |
Sets the panel's padding, an empty border.
|
FormBuilder |
FormBuilder.panel(javax.swing.JPanel panel) |
Sets panel as the panel that this builder shall work with.
|
FormBuilder |
FormBuilder.ComponentAdder.rc(int row,
int col) |
Sets row and column origins; sets height and width to 1;
uses the default alignments.
|
FormBuilder |
FormBuilder.ComponentAdder.rc(int row,
int col,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign) |
Sets the row and column origins; sets width and height to 1;
set horizontal and vertical alignment using the specified objects.
|
FormBuilder |
FormBuilder.ComponentAdder.rc(int row,
int col,
java.lang.String encodedAlignments) |
Sets row and column origins; sets height and width to 1;
decodes vertical and horizontal alignments from the given string.
|
FormBuilder |
FormBuilder.ComponentAdder.rchw(int row,
int col,
int rowSpan,
int colSpan) |
Sets the row, column, height, and width; uses default alignments.
|
FormBuilder |
FormBuilder.ComponentAdder.rchw(int row,
int col,
int rowSpan,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign) |
Sets the row, column, height, and width; sets the vertical and
horizontal alignment using the specified alignment objects.
|
FormBuilder |
FormBuilder.ComponentAdder.rchw(int row,
int col,
int rowSpan,
int colSpan,
java.lang.String encodedAlignments) |
Sets the row, column, height, and width;
decodes the vertical and horizontal alignments from the given string.
|
FormBuilder |
FormBuilder.ComponentAdder.rcw(int row,
int col,
int colSpan) |
Sets the row, column, height, and width; uses a height (row span) of 1
and the vertical and horizontal default alignments.
|
FormBuilder |
FormBuilder.ComponentAdder.rcw(int row,
int col,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign) |
Sets the row, column, height, and width; sets the vertical
and horizontal alignment using the specified alignment objects.
|
FormBuilder |
FormBuilder.ComponentAdder.rcw(int row,
int col,
int colSpan,
java.lang.String encodedAlignments) |
Sets the row, column, height, and width;
decodes the vertical and horizontal alignments from the given string.
|
FormBuilder |
FormBuilder.rowGroup(int... rowIndices) |
Configures this builder's layout to group (make equally high)
the rows with the given indices.
|
FormBuilder |
FormBuilder.rowGroups(int[]... multipleRowGroups) |
Configures this builder's layout to group (make equally wide)
the rows per array of row indices.
|
FormBuilder |
FormBuilder.rows(java.lang.String encodedRowSpecs,
java.lang.Object... args) |
Configures this builder's layout rows using a comma-separated
string of row specifications.The string can be a format string
and will then use the optional format arguments, see
String.format(String, Object...) .
|
FormBuilder |
FormBuilder.translate(int dX,
int dY) |
Moves the cell constraints offset along the X and Y axis
as specified by dx and dy respectively.
|
FormBuilder |
FormBuilder.ComponentAdder.xy(int col,
int row) |
Sets column and row origins; sets width and height to 1;
uses the default alignments.
|
FormBuilder |
FormBuilder.ComponentAdder.xy(int col,
int row,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign) |
Sets the column and row origins; sets width and height to 1;
set horizontal and vertical alignment using the specified objects.
|
FormBuilder |
FormBuilder.ComponentAdder.xy(int col,
int row,
java.lang.String encodedAlignments) |
Sets column and row origins; sets width and height to 1;
decodes horizontal and vertical alignments from the given string.
|
FormBuilder |
FormBuilder.ViewAdder.xy(int col,
int row) |
Sets column and row origins of the view to integrate.
|
FormBuilder |
FormBuilder.ComponentAdder.xyw(int col,
int row,
int colSpan) |
Sets the column, row, width, and height; uses a height (row span) of 1
and the horizontal and vertical default alignments.
|
FormBuilder |
FormBuilder.ComponentAdder.xyw(int col,
int row,
int colSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign) |
Sets the column, row, width, and height; sets the horizontal
and vertical alignment using the specified alignment objects.
|
FormBuilder |
FormBuilder.ComponentAdder.xyw(int col,
int row,
int colSpan,
java.lang.String encodedAlignments) |
Sets the column, row, width, and height;
decodes the horizontal and vertical alignments from the given string.
|
FormBuilder |
FormBuilder.ComponentAdder.xywh(int col,
int row,
int colSpan,
int rowSpan) |
Sets the column, row, width, and height; uses default alignments.
|
FormBuilder |
FormBuilder.ComponentAdder.xywh(int col,
int row,
int colSpan,
int rowSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign) |
Sets the column, row, width, and height; sets the horizontal
and vertical alignment using the specified alignment objects.
|
FormBuilder |
FormBuilder.ComponentAdder.xywh(int col,
int row,
int colSpan,
int rowSpan,
java.lang.String encodedAlignments) |
Sets the column, row, width, and height;
decodes the horizontal and vertical alignments from the given string.
|