Interface I_CmsDraggable

    • Method Detail

      • getCursorOffsetDelta

        com.google.common.base.Optional<int[]> getCursorOffsetDelta()
        Gets an optional pair of integers which are to be used as an "offset delta" for the drag and drop process.

        Returns:
        an optional array containing exactly 2 entries [x,y]
      • getDragHelper

        com.google.gwt.dom.client.Element getDragHelper​(I_CmsDropTarget target)
        Creates the drag helper element and attaches it into the DOM.

        Parameters:
        target - the drop target
        Returns:
        the drag helper element
      • getElement

        com.google.gwt.dom.client.Element getElement()
        Returns the draggable element.

        Returns:
        the element
      • getId

        java.lang.String getId()
        Returns the draggable id.

        Returns:
        the id
      • getPlaceholder

        com.google.gwt.dom.client.Element getPlaceholder​(I_CmsDropTarget target)
        Creates the drag placeholder element.

        Parameters:
        target - the drop target
        Returns:
        the drag placeholder element
      • onDragCancel

        void onDragCancel()
        Executed on drag cancel.