Interface DragFilter
- All Superinterfaces:
Serializable
A Filter for disabling dragging for some components in the layout
- Since:
- 0.6.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DragFilter
A filter for allowing dragging all components in a layout (default)static final DragFilter
A filter for preventing dragging any component in a layout -
Method Summary
Modifier and TypeMethodDescriptionboolean
isDraggable
(com.vaadin.ui.Component component) Is the component draggable
-
Field Details
-
ALL
A filter for allowing dragging all components in a layout (default) -
NONE
A filter for preventing dragging any component in a layout
-
-
Method Details
-
isDraggable
boolean isDraggable(com.vaadin.ui.Component component) Is the component draggable- Parameters:
component
- The component to test- Returns:
- Is the given component draggable or not
-