All Superinterfaces:
Serializable

public interface DragFilter extends Serializable
A Filter for disabling dragging for some components in the layout
Since:
0.6.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    boolean
    isDraggable(com.vaadin.ui.Component component)
    Is the component draggable
  • Field Details

    • ALL

      static final DragFilter ALL
      A filter for allowing dragging all components in a layout (default)
    • NONE

      static final DragFilter 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