Example usage for Java com.jgoodies.forms.builder DefaultFormBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
RowSpec | defaultRowSpec Holds the row specification that is reused to describe rows that are intended for labels and components. |
int | leadingColumnOffset Holds the offset of the leading column - often 0 or 1. |
boolean | rowGroupingEnabled Determines whether new data rows are being grouped or not. |
DefaultFormBuilder(FormLayout layout) Constructs a DefaultFormBuilder for the given layout. | |
DefaultFormBuilder(FormLayout layout, JPanel container) Constructs a DefaultFormBuilder for the given layout and panel. | |
DefaultFormBuilder(FormLayout layout, ResourceBundle bundle) Constructs a DefaultFormBuilder for the given layout and resource bundle. | |
DefaultFormBuilder(FormLayout layout, StringResourceAccessor localizer) Constructs a DefaultFormBuilder for the given layout and resource bundle. | |
DefaultFormBuilder(FormLayout layout, ResourceBundle bundle, JPanel container) Constructs a DefaultFormBuilder for the given layout, resource bundle, and panel. | |
DefaultFormBuilder(FormLayout layout, StringResourceAccessor localizer, JPanel container) Constructs a DefaultFormBuilder for the given layout, resource bundle, and panel. |
void | append(Component component, int columnSpan) Adds a component to the panel using the default constraints with the given columnSpan. |
void | append(Component c1, Component c2) Adds two components to the panel; each component will span a single data column. |
JLabel | append(String textWithMnemonic, Component component) Adds a text label and component to the panel. |
void | append(Component component) Adds a component to the panel using the default constraints with a column span of 1. |
JLabel | append(String textWithMnemonic) Adds a text label to the panel and proceeds to the next column. |
void | append(Component c1, Component c2, Component c3) Adds three components to the panel; each component will span a single data column. |
JLabel | append(String textWithMnemonic, Component c, boolean nextLine) Adds a text label and component to the panel; the component will span the specified number columns. |
JLabel | append(String textWithMnemonic, Component c, int columnSpan) Adds a text label and component to the panel; the component will span the specified number columns. |
JLabel | append(String textWithMnemonic, Component c1, Component c2) Adds a text label and two components to the panel; each component will span a single column. |
JLabel | appendI15d(String resourceKey, Component component) Adds an internationalized (i15d) text label and component to the panel. |
JLabel | appendI15d(String resourceKey, Component component, boolean nextLine) Adds an internationalized (i15d) text label and component to the panel. |
JLabel | appendI15d(String resourceKey, Component c, int columnSpan) Adds an internationalized (i15d) text label to the panel using the given resource key; then proceeds to the next data column and adds a component with the given column span. |
JLabel | appendI15d(String resourceKey, Component c1, Component c2) Adds an internationalized (i15d) text label and two components to the panel; each component will span a single column. |
JComponent | appendI15dSeparator(String resourceKey) Appends an internationalized titled separator for the given resource key that spans all columns. |
JLabel | appendI15dTitle(String resourceKey) Adds an internationalized title label to the panel and proceeds to the next column. |
JComponent | appendSeparator(String text) Adds a separator with the given text that spans all columns. |
JComponent | appendSeparator() Adds a separator without text that spans all columns. |
JLabel | appendTitle(String textWithMnemonic) Adds a title label to the panel and proceeds to the next column. |
DefaultFormBuilder | border(Border border) |
DefaultFormBuilder | border(String emptyBorderSpec) |
RowSpec | getLineGapSpec() Returns the row specification that is used to separate component row. |
DefaultFormBuilder | lineGapSize(ConstantSize lineGapSize) Sets the size of gaps between component lines using the given constant size. Examples: .lineGapSize(Sizes.ZERO); .lineGapSize(Sizes.DLUY9); .lineGapSize(Sizes.pixel(1)); |
void | setLeadingColumnOffset(int columnOffset) Sets the offset of the leading column, often 0 or 1. |
void | setLineGapSize(ConstantSize lineGapSize) Sets the size of gaps between component lines using the given constant size. Examples: .setLineGapSize(Sizes.ZERO); .setLineGapSize(Sizes.DLUY9); .setLineGapSize(Sizes.pixel(1)); |
void | setRowGroupingEnabled(boolean enabled) Enables or disables the grouping of new data rows. |