com.vaadin.shared.ui.grid.
Class ColumnState
-
All Implemented Interfaces:
public class ColumnState extends AbstractGridExtensionState
Shared state for a Grid column.
Since:
8.0
Author:
Vaadin Ltd
See Also:
-
-
Field Summary
Fields Modifier and Type Field Description String
assistiveCaption
The assistive device caption for the column.
String
caption
boolean
editable
int
expandRatio
How much of the remaining space this column will reserve.
boolean
handleWidgetEvents
Sets whether Grid should handle events from Widgets from this column or not.
boolean
hidable
Whether the column can be hidden by the user.
boolean
hidden
Whether this column is currently hidden.
String
hidingToggleCaption
The caption for the column hiding toggle.
String
internalId
double
maxWidth
The maximum expansion width of this column.
boolean
minimumWidthFromContent
Whether the contents define the minimum width for this column.
double
minWidth
The minimum expansion width of this column.
Connector
renderer
boolean
resizable
Whether this column is resizable by the user.
boolean
sortable
ContentMode
tooltipContentMode
The content mode for tooltips.
double
width
Column width in pixels.
-
Fields inherited from class com.vaadin.shared.communication.SharedState
enabled, registeredEventListeners, resources
-
-
Constructor Summary
Constructors Constructor Description ColumnState()
-
-
-
Field Detail
-
caption
public String caption
-
internalId
public String internalId
-
sortable
public boolean sortable
-
editable
public boolean editable
-
handleWidgetEvents
public boolean handleWidgetEvents
Sets whether Grid should handle events from Widgets from this column or not.
Since:
8.3
-
assistiveCaption
public String assistiveCaption
The assistive device caption for the column.
-
hidingToggleCaption
public String hidingToggleCaption
The caption for the column hiding toggle.
-
hidden
public boolean hidden
Whether this column is currently hidden.
-
hidable
public boolean hidable
Whether the column can be hidden by the user.
-
width
public double width
Column width in pixels. Default column width is -1.0.
-
expandRatio
public int expandRatio
How much of the remaining space this column will reserve.
-
maxWidth
public double maxWidth
The maximum expansion width of this column. -1 for "no maximum". If maxWidth is less than the calculated width, maxWidth is ignored.
-
minWidth
public double minWidth
The minimum expansion width of this column. -1 for "no minimum". If minWidth is less than the calculated width, minWidth will win.
-
resizable
public boolean resizable
Whether this column is resizable by the user.
-
renderer
public Connector renderer
-
minimumWidthFromContent
public boolean minimumWidthFromContent
Whether the contents define the minimum width for this column.
Since:
8.1
-
tooltipContentMode
public ContentMode tooltipContentMode
The content mode for tooltips.
Since:
8.2
-
-