Field Summary |
|
final public static ColumnSpec | BUTTON_COLSPEC Describes a logical horizontal column for a fixed size button. |
final public static ColumnSpec | DEFAULT_COLSPEC An unmodifyable ColumnSpec that determines its preferred
width by computing the maximum of all column component preferred widths
and its minimum width by computing all column component minimum widths.
Useful to let a column shrink from preferred width to minimum width
if the container space gets scarce. |
final public static RowSpec | DEFAULT_ROWSPEC An unmodifyable RowSpec that determines its preferred
height by computing the maximum of all column component preferred heights
and its minimum height by computing all column component minimum heights.
Useful to let a column shrink from preferred height to minimum height
if the container space gets scarce. |
final public static ColumnSpec | GLUE_COLSPEC An unmodifyable ColumnSpec that has an initial width
of 0 pixels and that grows. |
final public static RowSpec | GLUE_ROWSPEC An unmodifyable RowSpec that has an initial height
of 0 pixels and that grows. |
final public static ColumnSpec | GROWING_BUTTON_COLSPEC Describes a logical horizontal column for a growing button. |
final public static ColumnSpec | LABEL_COMPONENT_GAP_COLSPEC Describes a logical horizontal gap between a label and an associated
component. |
final public static RowSpec | LINE_GAP_ROWSPEC Describes the logical vertical default gap between two rows in the grid. |
final public static ColumnSpec | MIN_COLSPEC An unmodifyable ColumnSpec that determines its width by
computing the maximum of all column component minimum widths. |
final public static RowSpec | MIN_ROWSPEC An unmodifyable RowSpec that determines its height by
computing the maximum of all column component minimum heights. |
final public static RowSpec | NARROW_LINE_GAP_ROWSPEC Describes a logical vertical narrow gap between two rows in the grid. |
final public static RowSpec | PARAGRAPH_GAP_ROWSPEC Describes the logical vertical default gap between two paragraphs in
the layout grid. |
final public static ColumnSpec | PREF_COLSPEC An unmodifyable ColumnSpec that determines its width by
computing the maximum of all column component preferred widths. |
final public static RowSpec | PREF_ROWSPEC An unmodifyable RowSpec that determines its height by
computing the maximum of all column component preferred heights. |
final public static ColumnSpec | RELATED_GAP_COLSPEC Describes a logical horizontal gap between two related components. |
final public static RowSpec | RELATED_GAP_ROWSPEC Describes a logical vertzical gap between two related components. |
final public static ColumnSpec | UNRELATED_GAP_COLSPEC Describes a logical horizontal gap between two unrelated components.
Note: In a future version this constant will likely
be moved to a class LogicalSize or StyledSize . |
final public static RowSpec | UNRELATED_GAP_ROWSPEC Describes a logical vertical gap between two unrelated components.
Note: In a future version this constant will likely
be moved to a class LogicalSize or StyledSize . |
Method Summary |
|
public static FormLayout | createColumnLayout(int majorColumns, int minorColumns, ColumnSpec labelColumnSpec) |
public static FormLayout | createColumnLayout(int majorColumns, int minorColumns, ColumnSpec labelColumnSpec, ConstantSize indent, ConstantSize minorColumnGap) Creates and returns an instance of FormLayout
to build forms with the given number of major columns. |
public static FormLayout | createColumnLayout(int majorColumns, int minorColumns, ColumnSpec labelColumnSpec, ColumnSpec componentColumnSpec, ConstantSize indent, ConstantSize majorColumnGap, ConstantSize minorColumnGap) Creates and returns an instance of FormLayout
to build forms with the given number of major columns. |
public static ColumnSpec | createGapColumnSpec(ConstantSize gapSize) Creates and returns a
ColumnSpec that represents a gap with the
specified
ConstantSize . |
public static RowSpec | createGapRowSpec(ConstantSize gapSize) Creates and returns a
RowSpec that represents a gap with the
specified
ConstantSize . |