Example usage for Java com.jgoodies.forms.builder ButtonBarBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
ButtonBarBuilder() Constructs an empty ButtonBarBuilder on a JPanel. | |
ButtonBarBuilder(JPanel panel) Constructs an empty ButtonBarBuilder on the given panel. |
ButtonBarBuilder | addButton(JComponent button) Adds a button component that has a minimum width specified by the LayoutStyle#getDefaultButtonWidth() . Although a JButton is expected, any JComponent is accepted to allow custom button component types. |
ButtonBarBuilder | addButton(JComponent... buttons) |
ButtonBarBuilder | addButton(Action... actions) |
ButtonBarBuilder | addFixed(JComponent component) Adds a fixed size component with narrow margin. |
ButtonBarBuilder | addGlue() Adds a glue that will be given the extra space, if this button bar is larger than its preferred size. |
ButtonBarBuilder | addRelatedGap() Adds the standard horizontal gap for related components. |
ButtonBarBuilder | addStrut(ConstantSize width) Adds a horizontal strut of the specified width. |
ButtonBarBuilder | addUnrelatedGap() Adds the standard horizontal gap for unrelated components. |
JPanel | build() Returns the panel used to build the form and lazily builds a focus traversal group for all contained AbstractButtons. |
JPanel | getPanel() Returns the panel used to build the form and lazily builds a focus traversal group for all contained AbstractButtons. |
void | setBorder(Border border) Sets the panel's border. |
void | setLeftToRight(boolean b) Sets the form fill direction to left-to-right or right-to-left. |