Class VAcceptCriterion

    • Constructor Detail

      • VAcceptCriterion

        public VAcceptCriterion()
    • Method Detail

      • accept

        public void accept​(VDragEvent drag,
                           UIDL configuration,
                           VAcceptCallback callback)
        Checks if current drag event has valid drop target and target accepts the transferable. If drop target is valid, callback is used.
        Parameters:
        drag -
        configuration -
        callback -
      • accept

        protected abstract boolean accept​(VDragEvent drag,
                                          UIDL configuration)
      • needsServerSideCheck

        public boolean needsServerSideCheck​(VDragEvent drag,
                                            UIDL criterioUIDL)