Package | Description |
---|---|
com.jgoodies.forms.builder |
Contains optional builder classes of the Forms framework.
|
com.jgoodies.forms.layout |
Contains the core classes of the JGoodies Forms framework:
layout manager, column and row specifications, sizes and cell constraints
|
org.mlc.swing.layout |
FormLayoutMaker layout classes.
|
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 |
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 |
I15dPanelBuilder.addI15dLabel(java.lang.String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) textual label to the form using the
specified constraints.
|
javax.swing.JLabel |
I15dPanelBuilder.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.JComponent |
I15dPanelBuilder.addI15dSeparator(java.lang.String resourceKey,
CellConstraints constraints)
Adds an internationalized (i15d) titled separator to the form using the
specified constraints.
|
javax.swing.JLabel |
I15dPanelBuilder.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.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 |
FormLayout.getConstraints(java.awt.Component component)
Looks up and returns the constraints for the specified component.
|
CellConstraints |
CellConstraints.xy(int col,
int row)
Sets row and column 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 row and column 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 row and column 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 row, column, 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 row, column, 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 row, column, 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 row, column, 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 row, column, 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 row, column, 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.
|
Modifier and Type | Method and Description |
---|---|
CellConstraints |
ContainerLayout.getCellConstraints(java.lang.String name) |
CellConstraints |
ContainerLayout.getComponentConstraints(java.awt.Component component) |
CellConstraints |
ContainerLayout.removeCellConstraints(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.LinkedHashMap<java.lang.String,CellConstraints> |
ContainerLayout.getCellConstraints() |
Modifier and Type | Method and Description |
---|---|
void |
ContainerLayout.addCellConstraints(java.lang.String name,
CellConstraints constraints) |
void |
ContainerLayout.addComponent(java.lang.String componentName,
ComponentDef componentDef,
CellConstraints constraints) |
void |
ContainerLayout.constraintsChanged(java.lang.String name,
CellConstraints constraints) |
boolean |
FormEditor.editComponent(ComponentDef componentDef,
java.awt.Component component,
CellConstraints cellConstraints) |
void |
ContainerLayout.setCellConstraints(java.lang.String componentName,
CellConstraints constraints) |