Java com.jgoodies.forms.factories CC fields, constructors, methods, implement or subclass

Example usage for Java com.jgoodies.forms.factories CC fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.jgoodies.forms.factories CC.

The text is from its open source code.

Field

AlignmentDEFAULT
AlignmentFILL
AlignmentLEFT
AlignmentRIGHT
AlignmentCENTER
AlignmentTOP
AlignmentBOTTOM

Method

CellConstraintsrc(int row, int col)
Sets row and column origins; sets height and width to 1; uses the default alignments.

Examples:

 CC.rc(1, 1); CC.rc(3, 1); 
CellConstraintsrchw(int row, int col, int rowSpan, int colSpan)
Sets the row, column, height, and width; uses default alignments.

Examples:

 CC.rchw(1, 3, 2, 1); CC.rchw(1, 3, 7, 3); 
CellConstraintsrcw(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.

Examples:

 CC.rcw(3, 1, 7); CC.rcw(3, 1, 2); 
CellConstraintsxy(int col, int row)
Sets column and row origins; sets width and height to 1; uses the default alignments.

Examples:

 CC.xy(1, 1); CC.xy(1, 3); 
CellConstraintsxy(int col, int row, Alignment colAlign, Alignment rowAlign)
Sets the column and row origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects.

Examples:

 CC.xy(1, 3, CellConstraints.LEFT,   CellConstraints.BOTTOM); CC.xy(1, 3, CellConstraints.CENTER, CellConstraints.FILL); 
CellConstraintsxy(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.

Examples:

 CC.xy(1, 3, "left, bottom"); CC.xy(1, 3, "l, b"); CC.xy(1, 3, "center, fill"); CC.xy(1, 3, "c, f"); 
CellConstraintsxyw(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.

Examples:

 CC.xyw(1, 3, 7); CC.xyw(1, 3, 2); 
CellConstraintsxyw(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.
CellConstraintsxyw(int col, int row, int colSpan, Alignment colAlign, Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects.
CellConstraintsxywh(int col, int row, int colSpan, int rowSpan)
Sets the column, row, width, and height; uses default alignments.

Examples:

 CC.xywh(1, 3, 2, 1); CC.xywh(1, 3, 7, 3); 
CellConstraintsxywh(int col, int row, int colSpan, int rowSpan, Alignment colAlign, Alignment rowAlign)
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects.

Examples:

 CC.xywh(1, 3, 2, 1, CellConstraints.LEFT,   CellConstraints.BOTTOM); CC.xywh(1, 3, 7, 3, CellConstraints.CENTER, CellConstraints.FILL);