Uses of Class
com.jgoodies.forms.builder.FormBuilder
Packages that use FormBuilder
Package
Description
Contains optional builder classes of the Forms framework.
-
Uses of FormBuilder in com.jgoodies.forms.builder
Fields in com.jgoodies.forms.builder declared as FormBuilderModifier and TypeFieldDescriptionprotected final FormBuilder
FormBuilder.ComponentAdder.builder
private final FormBuilder
FormBuilder.ViewAdder.builder
Methods in com.jgoodies.forms.builder that return FormBuilderModifier and TypeMethodDescriptionprotected FormBuilder
FormBuilder.ComponentAdder.add
(CellConstraints constraints) protected FormBuilder
FormBuilder.NoOpComponentAdder.add
(CellConstraints constraints) FormBuilder.appendColumns
(String encodedColumnSpecs, Object... args) Appends the given columns to this builder's layout.FormBuilder.appendRows
(String encodedRowSpecs, Object... args) Appends the given rows to this builder's layout.final FormBuilder
FormBuilder.ComponentAdder.at
(CellConstraints constraints) Sets the given cell constraints.FormBuilder.background
(Color background) Sets the panel's background color and the panel to be opaque.Deprecated.Sets the panel's border.FormBuilder.columnGroup
(int... columnIndices) Configures this builder's layout to group (make equally wide) the columns with the given indices.FormBuilder.columnGroups
(int[]... multipleColumnGroups) Configures this builder's layout to group (make equally wide) the columns per array of column indices.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.debug
(boolean b) Enables or disables the display of layout debug information.FormBuilder.defaultLabelType
(FormBuilder.LabelType newValue) Sets a new value for the default label type that is used to determine whetheradd(String, Object...)
delegates toaddLabel(String, Object...)
oraddROLabel(String, Object...)
.FormBuilder.factory
(ComponentFactory factory) Setsfactory
as this builder's new component factory that is used when adding implicitly created components such as labels, titles, or titled separators.FormBuilder.focusGroup
(AbstractButton... buttons) Tries to build a focus group for the given buttons.FormBuilder.focusTraversalPolicy
(FocusTraversalPolicy policy) Sets the panel's focus traversal policy and sets the panel as focus traversal policy provider.FormBuilder.focusTraversalType
(FocusTraversalType focusTraversalType) Sets either a layout or container order focus traversal policy.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.honorsVisibility
(JComponent c, boolean b) Configures how this builder's layout shall handle the visibility of the given component.FormBuilder.initialComponent
(JComponent initialComponent) Sets a component that should receive the focus when a Window is made visible for the first time.FormBuilder.labelForFeatureEnabled
(boolean b) Enables or disables the setLabelFor feature for this builder.FormBuilder.layout
(FormLayout layout) Setslayout
as the layout to use by this builder.Configures this builder's FormLayout to use the given layout map for expanding layout variables.Sets the name of the panel this builder works with.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 byoffsetX
andoffsetY
respectively.FormBuilder.opaque
(boolean b) Sets the panel's opaque state.Sets the panel's padding as an EmptyBorder using the given specification for the top, left, bottom, right margins in DLU.FormBuilder.padding
(EmptyBorder padding) Sets the panel's padding, an empty border.Setspanel
as the panel that this builder shall work with.final FormBuilder
FormBuilder.ComponentAdder.rc
(int row, int col) Sets row and column origins; sets height and width to 1; uses the default alignments.final 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.final FormBuilder
Sets row and column origins; sets height and width to 1; decodes vertical and horizontal alignments from the given string.final FormBuilder
FormBuilder.ComponentAdder.rchw
(int row, int col, int rowSpan, int colSpan) Sets the row, column, height, and width; uses default alignments.final 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.final FormBuilder
FormBuilder.ComponentAdder.rchw
(int row, int col, int rowSpan, int colSpan, String encodedAlignments) Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string.final 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.final 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.final FormBuilder
Sets the row, column, height, and width; decodes the vertical and horizontal alignments from the given string.FormBuilder.rowGroup
(int... rowIndices) Configures this builder's layout to group (make equally high) the rows with the given indices.FormBuilder.rowGroups
(int[]... multipleRowGroups) Configures this builder's layout to group (make equally wide) the rows per array of row indices.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, seeString.format(String, Object...)
.FormBuilder.translate
(int dX, int dY) Moves the cell constraints offset along the X and Y axis as specified bydx
anddy
respectively.final FormBuilder
FormBuilder.ComponentAdder.xy
(int col, int row) Sets column and row origins; sets width and height to 1; uses the default alignments.final 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.final FormBuilder
Sets column and row origins; sets width and height to 1; decodes horizontal and vertical alignments from the given string.FormBuilder.ViewAdder.xy
(int col, int row) Sets column and row origins of the view to integrate.final 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.final 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.final FormBuilder
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string.final FormBuilder
FormBuilder.ComponentAdder.xywh
(int col, int row, int colSpan, int rowSpan) Sets the column, row, width, and height; uses default alignments.final 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.final FormBuilder
FormBuilder.ComponentAdder.xywh
(int col, int row, int colSpan, int rowSpan, String encodedAlignments) Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string.Methods in com.jgoodies.forms.builder with parameters of type FormBuilderModifier and TypeMethodDescriptionvoid
FormBuilder.FormBuildingView.buildInto
(FormBuilder builder) Integrates this view into the form that is built by the given builder.Constructors in com.jgoodies.forms.builder with parameters of type FormBuilderModifierConstructorDescription(package private)
ComponentAdder
(FormBuilder builder, Component component) (package private)
NoOpComponentAdder
(FormBuilder builder) (package private)
ViewAdder
(FormBuilder builder, boolean expression, FormBuilder.FormBuildingView view)
padding(String, Object...)
instead