Class FormSpecs
java.lang.Object
com.vaadin.featurepack.desktop.layouts.form.FormSpecs
- All Implemented Interfaces:
Serializable
Provides frequently used column and row specifications.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColumnSpecAn unmodifiableColumnSpecthat 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.static final RowSpecAn unmodifiableRowSpecthat 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.static final ColumnSpecAn unmodifiableColumnSpecthat has an initial width of 0 pixels and that grows.static final RowSpecAn unmodifiableRowSpecthat has an initial height of 0 pixels and that grows.static final ColumnSpecDescribes a logical horizontal gap between a label and an associated component.static final RowSpecDescribes a logical vertical gap between a label and an associated component.static final RowSpecDescribes the logical vertical default gap between two rows in the grid.static final ColumnSpecAn unmodifiableColumnSpecthat determines its width by computing the maximum of all column component minimum widths.static final RowSpecAn unmodifiableRowSpecthat determines its height by computing the maximum of all column component minimum heights.static final RowSpecDescribes a logical vertical narrow gap between two rows in the grid.static final RowSpecDescribes the logical vertical default gap between two paragraphs in the layout grid.static final ColumnSpecAn unmodifiableColumnSpecthat determines its width by computing the maximum of all column component preferred widths.static final RowSpecAn unmodifiableRowSpecthat determines its height by computing the maximum of all column component preferred heights.static final ColumnSpecDescribes a logical horizontal gap between two related components.static final RowSpecDescribes a logical vertical gap between two related components.static final ColumnSpecDescribes a logical horizontal gap between two unrelated components.static final RowSpecDescribes a logical vertical gap between two unrelated components. -
Method Summary
-
Field Details
-
MIN_COLSPEC
An unmodifiableColumnSpecthat determines its width by computing the maximum of all column component minimum widths. -
PREF_COLSPEC
An unmodifiableColumnSpecthat determines its width by computing the maximum of all column component preferred widths. -
DEFAULT_COLSPEC
An unmodifiableColumnSpecthat 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. -
GLUE_COLSPEC
An unmodifiableColumnSpecthat has an initial width of 0 pixels and that grows. Useful to describe glue columns that fill the space between other columns.- See Also:
-
LABEL_COMPONENT_GAP_COLSPEC
Describes a logical horizontal gap between a label and an associated component. -
RELATED_GAP_COLSPEC
Describes a logical horizontal gap between two related components. -
UNRELATED_GAP_COLSPEC
Describes a logical horizontal gap between two unrelated components. -
MIN_ROWSPEC
An unmodifiableRowSpecthat determines its height by computing the maximum of all column component minimum heights. -
PREF_ROWSPEC
An unmodifiableRowSpecthat determines its height by computing the maximum of all column component preferred heights. -
DEFAULT_ROWSPEC
An unmodifiableRowSpecthat 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.
-
GLUE_ROWSPEC
An unmodifiableRowSpecthat has an initial height of 0 pixels and that grows. Useful to describe glue rows that fill the space between other rows. -
LABEL_COMPONENT_GAP_ROWSPEC
Describes a logical vertical gap between a label and an associated component. -
RELATED_GAP_ROWSPEC
Describes a logical vertical gap between two related components. -
UNRELATED_GAP_ROWSPEC
Describes a logical vertical gap between two unrelated components. -
NARROW_LINE_GAP_ROWSPEC
Describes a logical vertical narrow gap between two rows in the grid. Useful if the vertical space is scarce or if an individual vertical gap shall be small than the default line gap. -
LINE_GAP_ROWSPEC
Describes the logical vertical default gap between two rows in the grid. A little bit larger than the narrow line gap. -
PARAGRAPH_GAP_ROWSPEC
Describes the logical vertical default gap between two paragraphs in the layout grid. This gap is larger than the default line gap.
-