Java com.jgoodies.forms.builder ButtonBarBuilder fields, constructors, methods, implement or subclass

Example usage for Java com.jgoodies.forms.builder ButtonBarBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.jgoodies.forms.builder ButtonBarBuilder.

The text is from its open source code.

Constructor

ButtonBarBuilder()
Constructs an empty ButtonBarBuilder on a JPanel.
ButtonBarBuilder(JPanel panel)
Constructs an empty ButtonBarBuilder on the given panel.

Method

ButtonBarBuilderaddButton(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.

ButtonBarBuilderaddButton(JComponent... buttons)
ButtonBarBuilderaddButton(Action... actions)
ButtonBarBuilderaddFixed(JComponent component)
Adds a fixed size component with narrow margin.
ButtonBarBuilderaddGlue()
Adds a glue that will be given the extra space, if this button bar is larger than its preferred size.
ButtonBarBuilderaddRelatedGap()
Adds the standard horizontal gap for related components.
ButtonBarBuilderaddStrut(ConstantSize width)
Adds a horizontal strut of the specified width.
ButtonBarBuilderaddUnrelatedGap()
Adds the standard horizontal gap for unrelated components.
JPanelbuild()
Returns the panel used to build the form and lazily builds a focus traversal group for all contained AbstractButtons.
JPanelgetPanel()
Returns the panel used to build the form and lazily builds a focus traversal group for all contained AbstractButtons.
voidsetBorder(Border border)
Sets the panel's border.
voidsetLeftToRight(boolean b)
Sets the form fill direction to left-to-right or right-to-left.