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 |
---|---|
java.awt.Component |
PanelBuilder.add(java.awt.Component component,
CellConstraints cellConstraints)
Adds a component to the panel using the given cell constraints.
|
java.awt.Component |
AbstractFormBuilder.add(java.awt.Component component,
CellConstraints cellConstraints)
Adds a component to the panel using the given cell constraints.
|
javax.swing.JLabel |
PanelBuilder.add(javax.swing.JLabel label,
CellConstraints labelConstraints,
java.awt.Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints.
|
javax.swing.JLabel |
AbstractI15dPanelBuilder.addI15dLabel(java.lang.String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) textual label to the form using the
specified constraints.
|
javax.swing.JLabel |
AbstractI15dPanelBuilder.addI15dLabel(java.lang.String resourceKey,
CellConstraints labelConstraints,
java.awt.Component component,
CellConstraints componentConstraints)
Adds an internationalized (i15d) label and component to the panel using
the given cell constraints.
|
javax.swing.JLabel |
AbstractI15dPanelBuilder.addI15dROLabel(java.lang.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.
|
javax.swing.JLabel |
AbstractI15dPanelBuilder.addI15dROLabel(java.lang.String resourceKey,
CellConstraints labelConstraints,
java.awt.Component component,
CellConstraints componentConstraints)
Adds an internationalized (i15d) label and component to the panel using
the given cell constraints.
|
javax.swing.JComponent |
AbstractI15dPanelBuilder.addI15dSeparator(java.lang.String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) titled separator to the form using the
specified constraints.
|
javax.swing.JLabel |
AbstractI15dPanelBuilder.addI15dTitle(java.lang.String resourceKey,
CellConstraints constraints)
Adds a title to the form using the specified constraints.
|
javax.swing.JLabel |
PanelBuilder.addLabel(java.lang.String textWithMnemonic,
CellConstraints constraints)
Adds a textual label to the form using the specified constraints.
|
javax.swing.JLabel |
PanelBuilder.addLabel(java.lang.String textWithMnemonic,
CellConstraints labelConstraints,
java.awt.Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints.
|
javax.swing.JLabel |
PanelBuilder.addROLabel(java.lang.String textWithMnemonic,
CellConstraints constraints)
Adds a textual label intended for labeling read-only components
to the form using the specified constraints.
|
javax.swing.JLabel |
PanelBuilder.addROLabel(java.lang.String textWithMnemonic,
CellConstraints labelConstraints,
java.awt.Component component,
CellConstraints componentConstraints)
Adds a label and component to the panel using the given cell constraints.
|
javax.swing.JComponent |
PanelBuilder.addSeparator(java.lang.String textWithMnemonic,
CellConstraints constraints)
Adds a titled separator to the form using the specified constraints.
|
javax.swing.JLabel |
PanelBuilder.addTitle(java.lang.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,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.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,
java.lang.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(java.awt.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,
java.lang.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,
java.lang.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,
java.lang.String encodedAlignments)
Sets the row, column, height, and width;
decodes the vertical and horizontal alignments from the given string.
|
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,
java.lang.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,
java.lang.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,
java.lang.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(java.awt.Component component,
CellConstraints constraints)
Sets the constraints for the specified component in this layout.
|
Copyright © 2002-2011 JGoodies Karsten Lentzsch. All Rights Reserved.