Class ClickEvent

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ClickEvent
    extends AbstractMouseEvent
    Created with IntelliJ IDEA.
    Since:
    : 2/10/2015 Time : 12:02 AM
    • Method Detail

      • run

        public void run()
      • setClickMode

        public void setClickMode​(ClickMode clickMode)
        Sets click mode.
        Parameters:
        clickMode - the click mode
      • generateMouseDownEvent

        public boolean generateMouseDownEvent()
        Generate mouse down event for the current set click type.
        Returns:
        true if mouse down event was generated successfully, otherwise false.
      • generateMouseUpEvent

        public boolean generateMouseUpEvent()
        Generate mouse up event for the current set click type.
        Returns:
        true if mouse up event was generated successfully, otherwise false.
      • getClickColorID

        public int getClickColorID()