Package | Description |
---|---|
com.jgoodies.forms.builder |
Contains optional builder classes of the Forms framework.
|
com.jgoodies.forms.extras |
Contains optional Forms framework classes that ship only with
the JGoodies Forms source distribution and are not yet part
of the binary Forms library.
|
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
|
Modifier and Type | Field and Description |
---|---|
protected CellConstraints |
AbstractBuilder.currentCellConstraints
Holds an instance of
CellConstraints that will be used to
specify the location, extent and alignments of the component to be
added next. |
Modifier and Type | Method and Description |
---|---|
protected CellConstraints |
AbstractFormBuilder.cellConstraints()
Returns the CellConstraints object that is used as a cursor and
holds the current column span and row span.
|
protected CellConstraints |
AbstractFormBuilder.createLeftAdjustedConstraints(int columnSpan)
Creates and returns a
CellConstraints object at
the current cursor position that uses the given column span
and is adjusted to the left. |
Modifier and Type | Method and Description |
---|---|
Component |
PanelBuilder.add(Component component,
CellConstraints cellConstraints)
Adds a component to the panel using the given cell constraints.
|
Component |
AbstractFormBuilder.add(Component component,
CellConstraints cellConstraints)
Adds a component to the panel using the given cell constraints.
|
JLabel |
PanelBuilder.add(JLabel label,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints.
|
JLabel |
I15dPanelBuilder.addI15dLabel(String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) textual label to the form using the
specified constraints.
|
JLabel |
I15dPanelBuilder.addI15dLabel(String resourceKey,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds an internationalized (i15d) label and component to the panel using
the given cell constraints.
|
JLabel |
I15dPanelBuilder.addI15dROLabel(String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) textual label to the form using the
specified constraints that is intended to label a read-only component.
|
JLabel |
I15dPanelBuilder.addI15dROLabel(String resourceKey,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds an internationalized (i15d) label and component to the panel using
the given cell constraints.
|
JComponent |
I15dPanelBuilder.addI15dSeparator(String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) titled separator to the form using the
specified constraints.
|
JLabel |
I15dPanelBuilder.addI15dTitle(String resourceKey,
CellConstraints constraints)
Adds a title to the form using the specified constraints.
|
JLabel |
PanelBuilder.addLabel(String textWithMnemonic,
CellConstraints constraints)
Adds a textual label to the form using the specified constraints.
|
JLabel |
PanelBuilder.addLabel(String textWithMnemonic,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints.
|
JLabel |
PanelBuilder.addROLabel(String textWithMnemonic,
CellConstraints constraints)
Adds a textual label intended for labeling read-only components
to the form using the specified constraints.
|
JLabel |
PanelBuilder.addROLabel(String textWithMnemonic,
CellConstraints labelConstraints,
Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints.
|
JComponent |
PanelBuilder.addSeparator(String textWithMnemonic,
CellConstraints constraints)
Adds a titled separator to the form using the specified constraints.
|
JLabel |
PanelBuilder.addTitle(String textWithMnemonic,
CellConstraints constraints)
Adds a title label to the form using the specified constraints.
|
Modifier and Type | Method and Description |
---|---|
CellConstraints |
FormLayoutUtils.ConstraintIterator.nextConstraints()
Returns the next element in the iteration.
|
Modifier and Type | Method and Description |
---|---|
static CellConstraints |
CC.rc(int row,
int col)
Sets row and column origins; sets height and width to 1;
uses the default alignments.
|
static CellConstraints |
CC.rc(int row,
int col,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row and column origins; sets width and height to 1;
set horizontal and vertical alignment using the specified objects.
|
static CellConstraints |
CC.rc(int row,
int col,
String encodedAlignments)
Sets row and column origins; sets height and width to 1;
decodes vertical and horizontal alignments from the given string.
|
static CellConstraints |
CC.rchw(int row,
int col,
int rowSpan,
int colSpan)
Sets the row, column, height, and width; uses default alignments.
|
static CellConstraints |
CC.rchw(int row,
int col,
int rowSpan,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row, column, height, and width; sets the vertical and
horizontal alignment using the specified alignment objects.
|
static CellConstraints |
CC.rchw(int row,
int col,
int rowSpan,
int colSpan,
String encodedAlignments)
Sets the row, column, height, and width;
decodes the vertical and horizontal alignments from the given string.
|
static CellConstraints |
CC.rcw(int row,
int col,
int colSpan)
Sets the row, column, height, and width; uses a height (row span) of 1
and the vertical and horizontal default alignments.
|
static CellConstraints |
CC.rcw(int row,
int col,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row, column, height, and width; sets the vertical
and horizontal alignment using the specified alignment objects.
|
static CellConstraints |
CC.rcw(int row,
int col,
int colSpan,
String encodedAlignments)
Sets the row, column, height, and width;
decodes the vertical and horizontal alignments from the given string.
|
static CellConstraints |
CC.xy(int col,
int row)
Sets column and row origins; sets width and height to 1;
uses the default alignments.
|
static CellConstraints |
CC.xy(int col,
int row,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column and row origins; sets width and height to 1;
set horizontal and vertical alignment using the specified objects.
|
static CellConstraints |
CC.xy(int col,
int row,
String encodedAlignments)
Sets column and row origins; sets width and height to 1;
decodes horizontal and vertical alignments from the given string.
|
static CellConstraints |
CC.xyw(int col,
int row,
int colSpan)
Sets the column, row, width, and height; uses a height (row span) of 1
and the horizontal and vertical default alignments.
|
static CellConstraints |
CC.xyw(int col,
int row,
int colSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal
and vertical alignment using the specified alignment objects.
|
static CellConstraints |
CC.xyw(int col,
int row,
int colSpan,
String encodedAlignments)
Sets the column, row, width, and height;
decodes the horizontal and vertical alignments from the given string.
|
static CellConstraints |
CC.xywh(int col,
int row,
int colSpan,
int rowSpan)
Sets the column, row, width, and height; uses default alignments.
|
static CellConstraints |
CC.xywh(int col,
int row,
int colSpan,
int rowSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal
and vertical alignment using the specified alignment objects.
|
static CellConstraints |
CC.xywh(int col,
int row,
int colSpan,
int rowSpan,
String encodedAlignments)
Sets the column, row, width, and height;
decodes the horizontal and vertical alignments from the given string.
|
Modifier and Type | Method and Description |
---|---|
CellConstraints |
FormLayout.getConstraints(Component component)
Looks up and returns the constraints for the specified component.
|
CellConstraints |
CellConstraints.rc(int row,
int col)
Sets row and column origins; sets height and width to 1;
uses the default alignments.
|
CellConstraints |
CellConstraints.rc(int row,
int col,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row and column origins; sets width and height to 1;
set horizontal and vertical alignment using the specified objects.
|
CellConstraints |
CellConstraints.rc(int row,
int col,
String encodedAlignments)
Sets row and column origins; sets height and width to 1;
decodes vertical and horizontal alignments from the given string.
|
CellConstraints |
CellConstraints.rchw(int row,
int col,
int rowSpan,
int colSpan)
Sets the row, column, height, and width; uses default alignments.
|
CellConstraints |
CellConstraints.rchw(int row,
int col,
int rowSpan,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row, column, height, and width; sets the vertical and
horizontal alignment using the specified alignment objects.
|
CellConstraints |
CellConstraints.rchw(int row,
int col,
int rowSpan,
int colSpan,
String encodedAlignments)
Sets the row, column, height, and width;
decodes the vertical and horizontal alignments from the given string.
|
CellConstraints |
CellConstraints.rcw(int row,
int col,
int colSpan)
Sets the row, column, height, and width; uses a height (row span) of 1
and the vertical and horizontal default alignments.
|
CellConstraints |
CellConstraints.rcw(int row,
int col,
int colSpan,
CellConstraints.Alignment rowAlign,
CellConstraints.Alignment colAlign)
Sets the row, column, height, and width; sets the vertical
and horizontal alignment using the specified alignment objects.
|
CellConstraints |
CellConstraints.rcw(int row,
int col,
int colSpan,
String encodedAlignments)
Sets the row, column, height, and width;
decodes the vertical and horizontal alignments from the given string.
|
CellConstraints |
CellConstraints.translate(int dx,
int dy)
Creates and returns a new CellConstraints instance where the origin
has been moved along the X and Y axis as specified by
dx
and dy respectively. |
CellConstraints |
CellConstraints.xy(int col,
int row)
Sets column and row origins; sets width and height to 1;
uses the default alignments.
|
CellConstraints |
CellConstraints.xy(int col,
int row,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column and row origins; sets width and height to 1;
set horizontal and vertical alignment using the specified objects.
|
CellConstraints |
CellConstraints.xy(int col,
int row,
String encodedAlignments)
Sets column and row origins; sets width and height to 1;
decodes horizontal and vertical alignments from the given string.
|
CellConstraints |
CellConstraints.xyw(int col,
int row,
int colSpan)
Sets the column, row, width, and height; uses a height (row span) of 1
and the horizontal and vertical default alignments.
|
CellConstraints |
CellConstraints.xyw(int col,
int row,
int colSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal
and vertical alignment using the specified alignment objects.
|
CellConstraints |
CellConstraints.xyw(int col,
int row,
int colSpan,
String encodedAlignments)
Sets the column, row, width, and height;
decodes the horizontal and vertical alignments from the given string.
|
CellConstraints |
CellConstraints.xywh(int col,
int row,
int colSpan,
int rowSpan)
Sets the column, row, width, and height; uses default alignments.
|
CellConstraints |
CellConstraints.xywh(int col,
int row,
int colSpan,
int rowSpan,
CellConstraints.Alignment colAlign,
CellConstraints.Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal
and vertical alignment using the specified alignment objects.
|
CellConstraints |
CellConstraints.xywh(int col,
int row,
int colSpan,
int rowSpan,
String encodedAlignments)
Sets the column, row, width, and height;
decodes the horizontal and vertical alignments from the given string.
|
Modifier and Type | Method and Description |
---|---|
void |
FormLayout.setConstraints(Component component,
CellConstraints constraints)
Sets the constraints for the specified component in this layout.
|
Copyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.