com.vaadin.shared.ui.grid
Class GridConstants

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

public final class GridConstants
extends java.lang.Object
implements java.io.Serializable

Container class for common constants and default values used by the Grid component.

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

Field Summary
static java.lang.String DEFAULT_CANCEL_CAPTION
          The default cancel button caption in the editor
static double DEFAULT_COLUMN_WIDTH_PX
          Default width for columns.
static int DEFAULT_EXPAND_RATIO
          Default expand ratio for columns.
static double DEFAULT_MAX_WIDTH
          Default maximum width for columns.
static double DEFAULT_MIN_WIDTH
          Default minimum width for columns.
static int DEFAULT_PADDING
          Default padding in pixels when scrolling programmatically, without an explicitly defined padding value.
static java.lang.String DEFAULT_SAVE_CAPTION
          The default save button caption in the editor
static java.lang.String ITEM_CLICK_EVENT_ID
          Event ID for item click events
static int LONG_TAP_DELAY
          Delay before a long tap action is triggered.
static int LONG_TAP_THRESHOLD
          The threshold in pixels a finger can move while long tapping.
 
Constructor Summary
GridConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PADDING

public static final int DEFAULT_PADDING
Default padding in pixels when scrolling programmatically, without an explicitly defined padding value.

See Also:
Constant Field Values

LONG_TAP_DELAY

public static final int LONG_TAP_DELAY
Delay before a long tap action is triggered. Number in milliseconds.

See Also:
Constant Field Values

LONG_TAP_THRESHOLD

public static final int LONG_TAP_THRESHOLD
The threshold in pixels a finger can move while long tapping.

See Also:
Constant Field Values

DEFAULT_MAX_WIDTH

public static final double DEFAULT_MAX_WIDTH
Default maximum width for columns.

See Also:
Constant Field Values

DEFAULT_MIN_WIDTH

public static final double DEFAULT_MIN_WIDTH
Default minimum width for columns.

See Also:
Constant Field Values

DEFAULT_EXPAND_RATIO

public static final int DEFAULT_EXPAND_RATIO
Default expand ratio for columns.

See Also:
Constant Field Values

DEFAULT_COLUMN_WIDTH_PX

public static final double DEFAULT_COLUMN_WIDTH_PX
Default width for columns.

See Also:
Constant Field Values

ITEM_CLICK_EVENT_ID

public static final java.lang.String ITEM_CLICK_EVENT_ID
Event ID for item click events

See Also:
Constant Field Values

DEFAULT_SAVE_CAPTION

public static final java.lang.String DEFAULT_SAVE_CAPTION
The default save button caption in the editor

See Also:
Constant Field Values

DEFAULT_CANCEL_CAPTION

public static final java.lang.String DEFAULT_CANCEL_CAPTION
The default cancel button caption in the editor

See Also:
Constant Field Values
Constructor Detail

GridConstants

public GridConstants()


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