com.vaadin.shared.ui.grid
Class GridColumnState

java.lang.Object
  extended by com.vaadin.shared.ui.grid.GridColumnState
All Implemented Interfaces:
java.io.Serializable

public class GridColumnState
extends java.lang.Object
implements java.io.Serializable

Column state DTO for transferring column properties from the server to the client

Since:
7.4
Author:
Vaadin Ltd
See Also:
Serialized Form

Field Summary
 boolean editable
          Whether the values in this column are editable when the editor interface is active.
 Connector editorConnector
          The connector for the field used to edit cells in this column when the editor interface is active.
 int expandRatio
          How much of the remaining space this column will reserve.
 java.lang.String headerCaption
          Column header caption
 boolean hidable
          Whether the column can be hidden by the user.
 boolean hidden
          Whether this column is currently hidden.
 java.lang.String hidingToggleCaption
          The caption for the column hiding toggle.
 java.lang.String id
          Id used by grid connector to map server side column with client side column
 double maxWidth
          The maximum expansion width of this column.
 double minWidth
          The minimum expansion width of this column.
 Connector rendererConnector
          The connector for the renderer used to render the cells in this column.
 boolean resizable
          Whether this column is resizable by the user.
 boolean sortable
          Whether this column is sortable by the user
 double width
          Column width in pixels.
 
Constructor Summary
GridColumnState()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.String id
Id used by grid connector to map server side column with client side column


width

public double width
Column width in pixels. Default column width is .


rendererConnector

public Connector rendererConnector
The connector for the renderer used to render the cells in this column.


editable

public boolean editable
Whether the values in this column are editable when the editor interface is active.


editorConnector

public Connector editorConnector
The connector for the field used to edit cells in this column when the editor interface is active.


sortable

public boolean sortable
Whether this column is sortable by the user


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.


hidden

public boolean hidden
Whether this column is currently hidden.


hidable

public boolean hidable
Whether the column can be hidden by the user.


hidingToggleCaption

public java.lang.String hidingToggleCaption
The caption for the column hiding toggle.


headerCaption

public java.lang.String headerCaption
Column header caption


resizable

public boolean resizable
Whether this column is resizable by the user.

Constructor Detail

GridColumnState

public GridColumnState()


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.