Class DragStartedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class DragStartedEvent
    extends org.zkoss.zk.ui.event.Event
    Event fired when a component gets dragged.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DragStartedEvent​(org.zkoss.zk.ui.Component target, boolean ctrlKey, boolean altKey, boolean shiftKey)
      Instantiates a new drag started event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isWithAltKey()  
      boolean isWithCtrlKey()  
      boolean isWithShiftKey()  
      • Methods inherited from class org.zkoss.zk.ui.event.Event

        getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DragStartedEvent

        public DragStartedEvent​(org.zkoss.zk.ui.Component target,
                                boolean ctrlKey,
                                boolean altKey,
                                boolean shiftKey)
        Instantiates a new drag started event.
        Parameters:
        target - the target component
        ctrlKey - if ctrl key was pressed
        altKey - if alt key was pressed
        shiftKey - if shift key was pressed
    • Method Detail

      • isWithCtrlKey

        public boolean isWithCtrlKey()
        Returns:
        true, if ctrl key was pressed
      • isWithAltKey

        public boolean isWithAltKey()
        Returns:
        true, if alt key was pressed
      • isWithShiftKey

        public boolean isWithShiftKey()
        Returns:
        true, if shift key was pressed