Class DragStartEvent<T extends AbstractComponent>

    • Constructor Detail

      • DragStartEvent

        public DragStartEvent​(T source,
                              EffectAllowed effectAllowed)
        Creates a drag start event.
        Parameters:
        source - Component that is dragged.
        effectAllowed - Allowed effects from DataTransfer.effectAllowed object.
    • Method Detail

      • getEffectAllowed

        public EffectAllowed getEffectAllowed()
        Returns the effectAllowed parameter of this event.
        Returns:
        This event's effectAllowed parameter.
      • getComponent

        public T getComponent()
        Returns the drag source component where the dragstart event occurred.
        Overrides:
        getComponent in class Component.Event
        Returns:
        Component which is dragged.