Package | Description |
---|---|
com.jgoodies.forms.builder |
Contains optional builder classes of the Forms framework.
|
com.jgoodies.forms.factories |
Consists of optional Forms framework factory classes that assist you
in building consistent forms quickly
|
com.jgoodies.forms.layout |
Contains the core classes of the JGoodies Forms framework:
layout manager, column and row specifications, sizes and cell constraints
|
com.jgoodies.forms.util |
Consists of Forms framework helper classes for unit conversion and layout styles
|
Modifier and Type | Method and Description |
---|---|
void |
ButtonStackBuilder.addStrut(ConstantSize size)
Adds a strut of a specified size.
|
void |
ButtonBarBuilder.addStrut(ConstantSize size)
Adds a strut of a specified size.
|
void |
DefaultFormBuilder.setLineGapSize(ConstantSize lineGapSize)
Sets the size of gaps between component lines using the given
constant size.
|
void |
DefaultFormBuilder.setParagraphGapSize(ConstantSize paragraphGapSize)
Sets the size of gaps between paragraphs using the given
constant size.
|
Modifier and Type | Method and Description |
---|---|
ConstantSize |
Borders.EmptyBorder.bottom()
Returns this border's bottom size.
|
ConstantSize |
Borders.EmptyBorder.left()
Returns this border's left size.
|
ConstantSize |
Borders.EmptyBorder.right()
Returns this border's right size.
|
ConstantSize |
Borders.EmptyBorder.top()
Returns this border's top size.
|
Modifier and Type | Method and Description |
---|---|
static FormLayout |
FormFactory.createColumnLayout(int majorColumns,
int minorColumns,
ColumnSpec labelColumnSpec,
ColumnSpec componentColumnSpec,
ConstantSize indent,
ConstantSize majorColumnGap,
ConstantSize minorColumnGap)
Creates and returns an instance of
FormLayout
to build forms with the given number of major columns. |
static FormLayout |
FormFactory.createColumnLayout(int majorColumns,
int minorColumns,
ColumnSpec labelColumnSpec,
ConstantSize indent,
ConstantSize minorColumnGap)
Creates and returns an instance of
FormLayout
to build forms with the given number of major columns. |
static javax.swing.border.Border |
Borders.createEmptyBorder(ConstantSize top,
ConstantSize left,
ConstantSize bottom,
ConstantSize right)
Creates and returns an
EmptyBorder with the specified
gaps. |
static ColumnSpec |
FormFactory.createGapColumnSpec(ConstantSize gapSize)
Creates and returns a
ColumnSpec that represents a gap with the
specified ConstantSize . |
static RowSpec |
FormFactory.createGapRowSpec(ConstantSize gapSize)
Creates and returns a
RowSpec that represents a gap with the
specified ConstantSize . |
Modifier and Type | Field and Description |
---|---|
static ConstantSize |
Sizes.DLUX1 |
static ConstantSize |
Sizes.DLUX11 |
static ConstantSize |
Sizes.DLUX14 |
static ConstantSize |
Sizes.DLUX2 |
static ConstantSize |
Sizes.DLUX3 |
static ConstantSize |
Sizes.DLUX4 |
static ConstantSize |
Sizes.DLUX5 |
static ConstantSize |
Sizes.DLUX6 |
static ConstantSize |
Sizes.DLUX7 |
static ConstantSize |
Sizes.DLUX8 |
static ConstantSize |
Sizes.DLUX9 |
static ConstantSize |
Sizes.DLUY1 |
static ConstantSize |
Sizes.DLUY11 |
static ConstantSize |
Sizes.DLUY14 |
static ConstantSize |
Sizes.DLUY2 |
static ConstantSize |
Sizes.DLUY3 |
static ConstantSize |
Sizes.DLUY4 |
static ConstantSize |
Sizes.DLUY5 |
static ConstantSize |
Sizes.DLUY6 |
static ConstantSize |
Sizes.DLUY7 |
static ConstantSize |
Sizes.DLUY8 |
static ConstantSize |
Sizes.DLUY9 |
static ConstantSize |
Sizes.ZERO |
Modifier and Type | Method and Description |
---|---|
static ConstantSize |
Sizes.constant(java.lang.String encodedValueAndUnit,
boolean horizontal)
Creates and returns an instance of
ConstantSize from the
given encoded size and unit description. |
static ConstantSize |
Sizes.dluX(int value)
Creates and returns a ConstantSize for the specified value
in horizontal dialog units.
|
static ConstantSize |
Sizes.dluY(int value)
Creates and returns a ConstantSize for the specified value
in vertical dialog units.
|
static ConstantSize |
Sizes.pixel(int value)
Creates and returns a ConstantSize
for the specified pixel value.
|
Modifier and Type | Method and Description |
---|---|
abstract ConstantSize |
LayoutStyle.getButtonBarPad()
Returns a pad used to separate a button bar from a component.
|
abstract ConstantSize |
LayoutStyle.getDialogMarginX()
Returns this style's horizontal margin for general dialogs.
|
abstract ConstantSize |
LayoutStyle.getDialogMarginY()
Returns this style's vertical margin for general dialogs.
|
abstract ConstantSize |
LayoutStyle.getLabelComponentPadX()
Returns a gap used to separate a label and associated control.
|
abstract ConstantSize |
LayoutStyle.getLinePad()
Returns a narrow vertical pad used to separate lines.
|
abstract ConstantSize |
LayoutStyle.getNarrowLinePad()
Returns a narrow vertical pad used to separate lines.
|
abstract ConstantSize |
LayoutStyle.getParagraphPad()
Returns a pad used to separate paragraphs.
|
abstract ConstantSize |
LayoutStyle.getRelatedComponentsPadX()
Returns a horizontal gap used to separate related controls.
|
abstract ConstantSize |
LayoutStyle.getRelatedComponentsPadY()
Returns a vertical gap used to separate related controls.
|
abstract ConstantSize |
LayoutStyle.getTabbedDialogMarginX()
Returns this style's horizontal margin for dialogs that consist of
a tabbed pane.
|
abstract ConstantSize |
LayoutStyle.getTabbedDialogMarginY()
Returns this style's vertical margin for dialogs that consist of
a tabbed pane.
|
abstract ConstantSize |
LayoutStyle.getUnrelatedComponentsPadX()
Returns a horizontal gap used to separate unrelated controls.
|
abstract ConstantSize |
LayoutStyle.getUnrelatedComponentsPadY()
Returns a vertical gap used to separate unrelated controls.
|