Package | Description |
---|---|
com.privatejgoodies.forms.factories | |
com.privatejgoodies.forms.layout |
Modifier and Type | Field and 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 and 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 and 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 and 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 and Description |
---|
CellConstraints(int gridX,
int gridY,
CellConstraints.Alignment hAlign,
CellConstraints.Alignment vAlign)
Constructs an instance of
CellConstraints for the given cell position, anchor, and
fill. |
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,
Insets insets)
Constructs an instance of
CellConstraints for the complete set of available
properties. |
Copyright © 2017. All rights reserved.