Class DragStartedEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
com.saperion.ngc.events.DragStartedEvent
All Implemented Interfaces:
Serializable

public class DragStartedEvent extends org.zkoss.zk.ui.event.Event
Event fired when a component gets dragged.
See Also:
  • 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

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    boolean
     

    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 Details

    • 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 Details

    • 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