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.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractFormBuilder.setAlignment(CellConstraints.Alignment hAlign,
CellConstraints.Alignment vAlign) |
Sets the horizontal and vertical alignment.
|
void |
AbstractFormBuilder.setHAlignment(CellConstraints.Alignment alignment) |
Sets the horizontal alignment.
|
void |
AbstractFormBuilder.setVAlignment(CellConstraints.Alignment alignment) |
Sets the vertical alignment.
|
Modifier and Type | Field | Description |
---|---|---|
static CellConstraints.Alignment |
CC.BOTTOM |
|
static CellConstraints.Alignment |
CC.CENTER |
|
static CellConstraints.Alignment |
CC.DEFAULT |
|
static CellConstraints.Alignment |
CC.FILL |
|
static CellConstraints.Alignment |
CC.LEFT |
|
static CellConstraints.Alignment |
CC.RIGHT |
|
static CellConstraints.Alignment |
CC.TOP |
Modifier and Type | Method | Description |
---|---|---|
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.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.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.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.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.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.
|
Modifier and Type | Field | Description |
---|---|---|
static CellConstraints.Alignment |
CellConstraints.BOTTOM |
Put the component in the bottom.
|
static CellConstraints.Alignment |
CellConstraints.CENTER |
Put the component in the center.
|
static CellConstraints.Alignment |
CellConstraints.DEFAULT |
Use the column's or row's default alignment.
|
static CellConstraints.Alignment |
CellConstraints.FILL |
Fill the cell either horizontally or vertically.
|
CellConstraints.Alignment |
CellConstraints.hAlign |
Describes the component's horizontal alignment.
|
static CellConstraints.Alignment |
CellConstraints.LEFT |
Put the component in the left.
|
static CellConstraints.Alignment |
CellConstraints.RIGHT |
Put the component in the right.
|
static CellConstraints.Alignment |
CellConstraints.TOP |
Put the component in the top.
|
CellConstraints.Alignment |
CellConstraints.vAlign |
Describes the component's vertical alignment.
|
Modifier and Type | Method | Description |
---|---|---|
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.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.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.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.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.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.
|
Constructor | Description |
---|---|
CellConstraints(int gridX,
int gridY,
int gridWidth,
int gridHeight,
CellConstraints.Alignment hAlign,
CellConstraints.Alignment vAlign) |
Constructs an instance of
CellConstraints for the given
cell position and size, anchor, and fill. |
CellConstraints(int gridX,
int gridY,
int gridWidth,
int gridHeight,
CellConstraints.Alignment hAlign,
CellConstraints.Alignment vAlign,
java.awt.Insets insets) |
Constructs an instance of
CellConstraints for
the complete set of available properties. |
CellConstraints(int gridX,
int gridY,
CellConstraints.Alignment hAlign,
CellConstraints.Alignment vAlign) |
Constructs an instance of
CellConstraints for the given
cell position, anchor, and fill. |
Copyright © 2002-2009 JGoodies Karsten Lentzsch. All Rights Reserved.