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 FormBuilderFormBuilder.ComponentAdder.builderprivate final FormBuilderFormBuilder.ViewAdder.builderMethods in com.jgoodies.forms.builder that return FormBuilderModifier and TypeMethodDescriptionprotected FormBuilderFormBuilder.ComponentAdder.add(CellConstraints constraints) protected FormBuilderFormBuilder.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 FormBuilderFormBuilder.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 FormBuilderFormBuilder.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 whetherFormBuilder.add(String, Object...)delegates toFormBuilder.addLabel(String, Object...)orFormBuilder.addROLabel(String, Object...).FormBuilder.factory(ComponentFactory factory) Setsfactoryas 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) Setslayoutas 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 byoffsetXandoffsetYrespectively.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.Setspanelas the panel that this builder shall work with.final FormBuilderFormBuilder.ComponentAdder.rc(int row, int col) Sets row and column origins; sets height and width to 1; uses the default alignments.final FormBuilderFormBuilder.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 FormBuilderSets row and column origins; sets height and width to 1; decodes vertical and horizontal alignments from the given string.final FormBuilderFormBuilder.ComponentAdder.rchw(int row, int col, int rowSpan, int colSpan) Sets the row, column, height, and width; uses default alignments.final FormBuilderFormBuilder.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 FormBuilderFormBuilder.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 FormBuilderFormBuilder.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 FormBuilderFormBuilder.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 FormBuilderSets 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 bydxanddyrespectively.final FormBuilderFormBuilder.ComponentAdder.xy(int col, int row) Sets column and row origins; sets width and height to 1; uses the default alignments.final FormBuilderFormBuilder.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 FormBuilderSets 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 FormBuilderFormBuilder.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 FormBuilderFormBuilder.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 FormBuilderSets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string.final FormBuilderFormBuilder.ComponentAdder.xywh(int col, int row, int colSpan, int rowSpan) Sets the column, row, width, and height; uses default alignments.final FormBuilderFormBuilder.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 FormBuilderFormBuilder.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 TypeMethodDescriptionvoidFormBuilder.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)
FormBuilder.padding(String, Object...)instead