Package com.vaadin.shared.ui.grid
Class GridConstants
- java.lang.Object
-
- com.vaadin.shared.ui.grid.GridConstants
-
- All Implemented Interfaces:
Serializable
public final class GridConstants extends Object implements Serializable
Container class for common constants and default values used by the Grid component.- Since:
- 7.4
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GridConstants.Section
Enum describing different sections of Grid.
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CANCEL_CAPTION
The default cancel button caption in the editorstatic 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 String
DEFAULT_SAVE_CAPTION
The default save button caption in the editorstatic String
EDITOR_CLOSE_EVENT_ID
Event ID constant for editor close eventstatic String
EDITOR_MOVE_EVENT_ID
Event ID constant for editor move eventstatic String
EDITOR_OPEN_EVENT_ID
Event ID constant for editor open eventstatic String
ITEM_CLICK_EVENT_ID
Event ID for item click eventsstatic 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
Constructors Constructor Description GridConstants()
-
-
-
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 String ITEM_CLICK_EVENT_ID
Event ID for item click events- See Also:
- Constant Field Values
-
DEFAULT_SAVE_CAPTION
public static final String DEFAULT_SAVE_CAPTION
The default save button caption in the editor- See Also:
- Constant Field Values
-
DEFAULT_CANCEL_CAPTION
public static final String DEFAULT_CANCEL_CAPTION
The default cancel button caption in the editor- See Also:
- Constant Field Values
-
EDITOR_OPEN_EVENT_ID
public static final String EDITOR_OPEN_EVENT_ID
Event ID constant for editor open event- See Also:
- Constant Field Values
-
EDITOR_MOVE_EVENT_ID
public static final String EDITOR_MOVE_EVENT_ID
Event ID constant for editor move event- See Also:
- Constant Field Values
-
EDITOR_CLOSE_EVENT_ID
public static final String EDITOR_CLOSE_EVENT_ID
Event ID constant for editor close event- See Also:
- Constant Field Values
-
-