Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviation() - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints.Alignment
-
Returns the first character of this Alignment's name.
- abbreviation() - Method in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
- addComponent(Component) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
- appendColumn(ColumnSpec) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Appends the given column specification to the right hand side of all columns.
- appendRow(RowSpec) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Appends the given row specification to the bottom of all rows.
B
- BOTTOM - Static variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Put the component in the bottom.
- BOTTOM - Static variable in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
By default put the components in the bottom.
C
- CellConstraints - Class in com.vaadin.featurepack.desktop.layouts.form
-
Defines constraints for placing components inside the
FormLayout. - CellConstraints() - Constructor for class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Constructs a default instance of
CellConstraints. - CellConstraints(int, int) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Constructs an instance of
CellConstraintsfor the given cell position. - CellConstraints(int, int, int, int) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Constructs an instance of
CellConstraintsfor the given cell position and size. - CellConstraints(int, int, int, int, CellConstraints.Alignment, CellConstraints.Alignment) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Constructs an instance of
CellConstraintsfor the given cell position, size and alignment. - CellConstraints(int, int, CellConstraints.Alignment, CellConstraints.Alignment) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Constructs an instance of
CellConstraintsfor the given cell position and alignment. - CellConstraints(String) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Constructs an instance of
CellConstraintsfrom the given encoded string properties. - CellConstraints.Alignment - Class in com.vaadin.featurepack.desktop.layouts.form
-
An ordinal-based serializable type-safe enumeration for component alignment types as used by the
FormLayout. - CENTER - Static variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Put the component in the center.
- CENTER - Static variable in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
By default put the components in the center.
- CENTER - Static variable in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
By default put the components in the center.
- CENTIMETER - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
- clone() - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Creates a copy of this cell constraints object.
- ColumnSpec - Class in com.vaadin.featurepack.desktop.layouts.form
-
Specifies columns in
FormLayoutby their default alignment, size and resizing behavior. - ColumnSpec(FormSpec.DefaultAlignment, Size, double) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
Constructs a ColumnSpec for the given default alignment, size and resize weight.
- ColumnSpec(Size) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
Constructs a ColumnSpec for the given size using the default alignment, and no resizing.
- com.vaadin.featurepack.desktop.layouts.form - package com.vaadin.featurepack.desktop.layouts.form
- ComponentSize - Enum Class in com.vaadin.featurepack.desktop.layouts.form
-
A
Sizeimplementation for the component sizes: min, pref, default. - constant(String) - Static method in class com.vaadin.featurepack.desktop.layouts.form.Sizes
-
Creates and returns an instance of
ConstantSizefrom the given encoded size and unit description. - ConstantSize - Class in com.vaadin.featurepack.desktop.layouts.form
-
A
Sizeimplementation that represents constant sizes described by a value and unit. - ConstantSize(double, Unit) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.ConstantSize
-
Constructs a ConstantSize for the given size and unit.
- ConstantSize(int, Unit) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.ConstantSize
-
Constructs a ConstantSize for the given size and unit.
- createGap(ConstantSize) - Static method in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
Creates and returns a
ColumnSpecthat represents a gap with the specifiedConstantSize. - createGap(ConstantSize) - Static method in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
Creates and returns a
RowSpecthat represents a gap with the specifiedConstantSize.
D
- decode(String) - Static method in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
Parses the encoded column specifications and returns a ColumnSpec object that represents the string.
- decode(String) - Static method in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
Parses the encoded row specification and returns a RowSpec object that represents the string.
- decodeSpecs(String) - Static method in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
Parses and splits encoded column specifications and returns an array of ColumnSpec objects.
- decodeSpecs(String) - Static method in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
Parses and splits encoded row specifications and returns an array of RowSpec objects.
- DEFAULT - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.ComponentSize
-
In Swing, this means using the maximum of all component sizes as column or row size; measures preferred sizes when asked for the preferred size and minimum sizes when asked for the minimum size.
- DEFAULT - Static variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Use the column's or row's default alignment.
- DEFAULT - Static variable in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
Unless overridden the default alignment for a column is FILL.
- DEFAULT - Static variable in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
Unless overridden the default alignment for a row is CENTER.
- DEFAULT_COLSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
An unmodifiable
ColumnSpecthat 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. - DEFAULT_GROW - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpec
-
The default resize weight.
- DEFAULT_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
An unmodifiable
RowSpecthat 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. - DIALOG_UNITS - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
- dluX(int) - Static method in class com.vaadin.featurepack.desktop.layouts.form.Sizes
-
Creates and returns a ConstantSize for the specified value in horizontal dialog units.
- dluY(int) - Static method in class com.vaadin.featurepack.desktop.layouts.form.Sizes
-
Creates and returns a ConstantSize for the specified value in vertical dialog units.
E
- encode() - Method in enum class com.vaadin.featurepack.desktop.layouts.form.ComponentSize
-
Returns a parseable string representation of this ComponentSize.
- encode() - Method in class com.vaadin.featurepack.desktop.layouts.form.ConstantSize
-
Returns a parseable string representation of this constant size.
- encode() - Method in interface com.vaadin.featurepack.desktop.layouts.form.Size
-
Returns a String representation of this Size object.
- encode() - Method in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
-
Returns a parseable string representation of this unit.
- equals(Object) - Method in class com.vaadin.featurepack.desktop.layouts.form.ConstantSize
-
Indicates whether some other ConstantSize is "equal to" this one.
F
- fail(String, int, String) - Static method in class com.vaadin.featurepack.desktop.layouts.form.FormSpecParser
- FILL - Static variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Fill the cell either horizontally or vertically.
- FILL - Static variable in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
By default fill the component into the column.
- FILL - Static variable in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
By default fill the component into the row.
- FormLayout - Class in com.vaadin.featurepack.desktop.layouts.form
-
FormLayoutis a flexible layout that aligns components in a rectangular grid of cells, with each component occupying one or more cells. - FormLayout() - Constructor for class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Constructs a new
FormLayout. - FormLayout(ColumnSpec[], RowSpec[]) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Constructs a
FormLayoutusing the given column and row specifications. - FormLayout(String, String) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Constructs a
FormLayoutusing the given column and row specifications. - FormSpec - Class in com.vaadin.featurepack.desktop.layouts.form
-
An abstract class that specifies columns and rows in FormLayout by their default alignment, start size and resizing behavior.
- FormSpec(FormSpec.DefaultAlignment, Size, double) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.FormSpec
-
Constructs a
FormSpecfor the given default alignment, size, and resize weight. - FormSpec(FormSpec.DefaultAlignment, String) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.FormSpec
-
Constructs a FormSpec from the specified encoded description.
- FormSpec.DefaultAlignment - Class in com.vaadin.featurepack.desktop.layouts.form
-
An ordinal-based serializable type-safe enumeration for the column and row default alignment types.
- FormSpecParser - Class in com.vaadin.featurepack.desktop.layouts.form
-
Parses encoded column and row specifications.
- FormSpecParser.FormLayoutParseException - Exception Class in com.vaadin.featurepack.desktop.layouts.form
-
Used by the parser for encoded column and row specifications.
- FormSpecs - Class in com.vaadin.featurepack.desktop.layouts.form
-
Provides frequently used column and row specifications.
G
- getColumnCount() - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Returns the number of columns in this layout.
- getColumnSpec(int) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Returns the
ColumnSpecat the specified column index. - getConstraints(Component) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
- getDefaultAlignment() - Method in class com.vaadin.featurepack.desktop.layouts.form.FormSpec
-
Returns the default alignment.
- getResizeWeight() - Method in class com.vaadin.featurepack.desktop.layouts.form.FormSpec
-
Returns the current resize weight.
- getRowCount() - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Returns the number of rows in this layout.
- getRowSpec(int) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Returns the
RowSpecat the specified row index. - getSize() - Method in class com.vaadin.featurepack.desktop.layouts.form.FormSpec
-
Returns the size.
- getUnit() - Method in class com.vaadin.featurepack.desktop.layouts.form.ConstantSize
-
Returns this size's unit.
- getValue() - Method in class com.vaadin.featurepack.desktop.layouts.form.ConstantSize
-
Returns this size's value.
- GLUE_COLSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
An unmodifiable
ColumnSpecthat has an initial width of 0 pixels and that grows. - GLUE_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
An unmodifiable
RowSpecthat has an initial height of 0 pixels and that grows. - gridHeight - Variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Describes the component's vertical grid extent (number of cells).
- gridWidth - Variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Describes the component's horizontal grid extend (number of cells).
- gridX - Variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Describes the component's horizontal grid origin (starts at 1).
- gridY - Variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Describes the component's vertical grid origin (starts at 1).
H
- hAlign - Variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Describes the component's horizontal alignment.
- hashCode() - Method in class com.vaadin.featurepack.desktop.layouts.form.ConstantSize
-
Returns a hash code value for the object.
I
- INCH - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
- insertColumn(int, ColumnSpec) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Inserts the specified column at the specified position.
- insertRow(int, RowSpec) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Inserts the specified row at the specified position.
- isHorizontal() - Method in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
Returns if this is a horizontal specification (vs. vertical).
- isHorizontal() - Method in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
Returns if this is a horizontal specification (vs. vertical).
L
- LABEL_COMPONENT_GAP_COLSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes a logical horizontal gap between a label and an associated component.
- LABEL_COMPONENT_GAP_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes a logical vertical gap between a label and an associated component.
- LEFT - Static variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Put the component in the left.
- LEFT - Static variable in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
By default put components in the left.
- LINE_GAP_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes the logical vertical default gap between two rows in the grid.
M
- MILLIMETER - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
- MIN_COLSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
An unmodifiable
ColumnSpecthat determines its width by computing the maximum of all column component minimum widths. - MIN_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
An unmodifiable
RowSpecthat determines its height by computing the maximum of all column component minimum heights. - MINIMUM - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.ComponentSize
-
In Swing, this means using the maximum of all component minimum sizes as column or row size.
N
- NARROW_LINE_GAP_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes a logical vertical narrow gap between two rows in the grid.
- NO_GROW - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpec
-
Gives a column or row a fixed size.
O
- onContainerAttach(AttachEvent) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
P
- PARAGRAPH_GAP_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes the logical vertical default gap between two paragraphs in the layout grid.
- pixel(int) - Static method in class com.vaadin.featurepack.desktop.layouts.form.Sizes
-
Creates and returns a ConstantSize for the specified pixel value.
- PIXEL - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
- POINT - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
- PREF_COLSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
An unmodifiable
ColumnSpecthat determines its width by computing the maximum of all column component preferred widths. - PREF_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
An unmodifiable
RowSpecthat determines its height by computing the maximum of all column component preferred heights. - PREFERRED - Enum constant in enum class com.vaadin.featurepack.desktop.layouts.form.ComponentSize
-
In Swing, this means using the maximum of all component preferred sizes as column or row size.
R
- RELATED_GAP_COLSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes a logical horizontal gap between two related components.
- RELATED_GAP_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes a logical vertical gap between two related components.
- removeColumn(int) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Removes the column with the given column index from the layout.
- removeComponent(Component) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
- removeRow(int) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
-
Removes the row with the given row index from the layout.
- RIGHT - Static variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Put the component in the right.
- RIGHT - Static variable in class com.vaadin.featurepack.desktop.layouts.form.ColumnSpec
-
By default put components in the right.
- RowSpec - Class in com.vaadin.featurepack.desktop.layouts.form
-
Specifies rows in
FormLayoutby their default alignment, size and resizing behavior. - RowSpec(FormSpec.DefaultAlignment, Size, double) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
Constructs a RowSpec from the given default alignment, size, and resize weight.
- RowSpec(Size) - Constructor for class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
Constructs a RowSpec for the given size using the default alignment, and no resizing.
S
- setConstraints(Component, Object) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
- setContainer(Component) - Method in class com.vaadin.featurepack.desktop.layouts.form.FormLayout
- Size - Interface in com.vaadin.featurepack.desktop.layouts.form
-
A common interface for sizes used by the
FormLayout. - Sizes - Class in com.vaadin.featurepack.desktop.layouts.form
-
Consists only of static methods that create constant sizes as required by the
FormLayout.
T
- TOP - Static variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Put the component in the top.
- TOP - Static variable in class com.vaadin.featurepack.desktop.layouts.form.RowSpec
-
By default put the components in the top.
- toString() - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints.Alignment
-
Returns this Alignment's name.
- toString() - Method in enum class com.vaadin.featurepack.desktop.layouts.form.ComponentSize
- toString() - Method in class com.vaadin.featurepack.desktop.layouts.form.ConstantSize
-
Returns a string representation of this size object.
- toString() - Method in class com.vaadin.featurepack.desktop.layouts.form.FormSpec.DefaultAlignment
-
Returns this Alignment's name.
U
- Unit - Enum Class in com.vaadin.featurepack.desktop.layouts.form
-
An enumeration for units as used in instances of
ConstantSize. - UNRELATED_GAP_COLSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes a logical horizontal gap between two unrelated components.
- UNRELATED_GAP_ROWSPEC - Static variable in class com.vaadin.featurepack.desktop.layouts.form.FormSpecs
-
Describes a logical vertical gap between two unrelated components.
V
- vAlign - Variable in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Describes the component's vertical alignment.
- valueOf(String) - Static method in enum class com.vaadin.featurepack.desktop.layouts.form.ComponentSize
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.featurepack.desktop.layouts.form.ComponentSize
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.vaadin.featurepack.desktop.layouts.form.Unit
-
Returns an array containing the constants of this enum class, in the order they are declared.
X
- xy(int, int) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets column and row origins; sets width and height to 1.
- xy(int, int, CellConstraints.Alignment, CellConstraints.Alignment) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets the column and row origins; sets width and height to 1; set horizontal and vertical alignment using the specified objects.
- xy(int, int, String) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets column and row origins; sets width and height to 1; decodes horizontal and vertical alignments from the given string.
- xyw(int, int, int) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets the column, row, and width; uses a height (row span) of 1.
- xyw(int, int, int, CellConstraints.Alignment, CellConstraints.Alignment) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified objects.
- xyw(int, int, int, String) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string.
- xywh(int, int, int, int) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets the column, row, width, and height.
- xywh(int, int, int, int, CellConstraints.Alignment, CellConstraints.Alignment) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets the column, row, width, and height; sets the horizontal and vertical alignment using the specified alignment objects.
- xywh(int, int, int, int, String) - Method in class com.vaadin.featurepack.desktop.layouts.form.CellConstraints
-
Sets the column, row, width, and height; decodes the horizontal and vertical alignments from the given string.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form