com.vaadin.client.ui.dd.

Class VLazyInitItemIdentifiers

  • @Deprecated
    public class VLazyInitItemIdentifiers
    extends VAcceptCriterion
    Deprecated.
    Replaced in 8.1 with DropTargetExtension#setDragOverCriteria(String) and DropTargetExtension#setDropCriteria(String)

    Author:

    Vaadin Ltd

    • Constructor Detail

      • VLazyInitItemIdentifiers

        public VLazyInitItemIdentifiers()
        Deprecated.
    • Method Detail

      • accept

        public void accept​(VDragEvent drag,
                           UIDL configuration,
                           VAcceptCallback callback)
        Deprecated.

        Description copied from class: VAcceptCriterion

        Checks if current drag event has valid drop target and target accepts the transferable. If drop target is valid, callback is used.

        Overrides:

        accept in class VAcceptCriterion

        Parameters:

        drag - the drag event

        configuration - accept criterion UIDL

        callback - the callback that handles acceptance if the target is valid

      • needsServerSideCheck

        public boolean needsServerSideCheck​(VDragEvent drag,
                                            UIDL criterioUIDL)
        Deprecated.

        Description copied from class: VAcceptCriterion

        Returns whether a server side check is needed for determining acceptance.

        Overrides:

        needsServerSideCheck in class VAcceptCriterion

        Parameters:

        drag - the drag event

        criterioUIDL - accept criterion UIDL

        Returns:

        true if a server side check is needed, false otherwise

      • 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