Package | Description |
---|---|
com.privatejgoodies.forms.factories | |
com.privatejgoodies.forms.layout |
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.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 © 2018. All rights reserved.