|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.forms.factories.Forms
public class Forms
Provides convenience behavior for building forms.
Method Summary | |
---|---|
static JComponent |
border(Border border,
JComponent component)
|
static JComponent |
border(String emptyBorderSpec,
JComponent component)
|
protected static JComponent |
buildGroupedButtonBar(AbstractButton... buttons)
Builds and returns a button bar that consists of the given buttons. |
static JComponent |
buttonBar(JComponent... buttons)
|
static JComponent |
centered(JComponent component)
|
static JComponent |
checkBoxBar(JCheckBox... checkBoxes)
Builds and returns a panel where the given check boxes are laid out in a row. |
static JComponent |
horizontal(String gapColSpec,
JComponent... components)
|
static JComponent |
radioButtonBar(JRadioButton... radioButtons)
Builds and returns a panel where the given radio buttons are laid out in a row. |
static JComponent |
single(String columnSpec,
String rowSpec,
JComponent component)
|
static JComponent |
vertical(String gapRowSpec,
JComponent... components)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JComponent single(String columnSpec, String rowSpec, JComponent component)
public static JComponent centered(JComponent component)
public static JComponent border(Border border, JComponent component)
public static JComponent border(String emptyBorderSpec, JComponent component)
public static JComponent horizontal(String gapColSpec, JComponent... components)
public static JComponent vertical(String gapRowSpec, JComponent... components)
public static JComponent buttonBar(JComponent... buttons)
public static JComponent checkBoxBar(JCheckBox... checkBoxes)
If class com.jgoodies.jsdl.common.focus.FocusTraversalUtils
from the JSDL Common library is in the class path,
it is used to group the radio buttons. Focus is transferred to/from
the selected button in a group; and cursor-left/-right change
the selection in the group.
public static JComponent radioButtonBar(JRadioButton... radioButtons)
If class com.jgoodies.jsdl.common.focus.FocusTraversalUtils
from the JSDL Common library is in the class path,
it is used to group the radio buttons. Focus is transferred to/from
the selected button in a group; and cursor-left/-right change
the selection in the group.
protected static JComponent buildGroupedButtonBar(AbstractButton... buttons)
FocusTraversalUtils
,
if in the classpath.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |