com.vaadin.client.ui.dd.

Class VAnd

    • Constructor Detail

      • VAnd

        public VAnd()
        Deprecated.
    • Method Detail

      • accept

        protected boolean accept​(VDragEvent drag,
                                 UIDL configuration)
        Deprecated.

        Description copied from class: VAcceptCriterion

        Returns whether a client-side check accepts the drop attempt.

        Specified by:

        accept in class VAcceptCriterion

        Parameters:

        drag - the drag event

        configuration - accept criterion UIDL

        Returns:

        true if a drop attempt is accepted, false otherwise

      • accepted

        public void accepted​(VDragEvent event)
        Deprecated.

        Description copied from interface: VAcceptCallback

        This method is called by VDragAndDropManager if the VDragEvent is still active. Developer can update for example drag icon or empahsis the target if the target accepts the transferable. If the drag and drop operation ends or the VAbstractDropHandler has changed before response arrives, the method is never called.

        Specified by:

        accepted in interface VAcceptCallback

        Parameters:

        event - the drag event