Interface DragGrabFilter

All Superinterfaces:
Serializable

public interface DragGrabFilter extends Serializable
Grab filter. If filter is set and returned false for some child/nested component then you will not be able to drag component grabbing this child. E.g. if we have composite Panel inside of some layout that includes Button and Label you can deny dragging of Panel using Button.
This feature is similar to DragFilter but more powerful, since it can filter out deep nested components.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canBeGrabbed(com.vaadin.ui.Component component)
     
  • Method Details

    • canBeGrabbed

      boolean canBeGrabbed(com.vaadin.ui.Component component)
      Parameters:
      component - nested component (can be deep child of Layout)
      Returns:
      true if this nested/deep child can be grabbed to drag child component