Class ClickEvent
- java.lang.Object
-
- org.dreambot.api.input.event.AbstractEvent
-
- org.dreambot.api.input.event.impl.mouse.type.AbstractMouseEvent
-
- org.dreambot.api.input.event.impl.mouse.type.ClickEvent
-
- All Implemented Interfaces:
java.lang.Runnable
public class ClickEvent extends AbstractMouseEvent
Sends aMouseEvent.MOUSE_CLICKED
event Removes this mouse button from mouse modifiers Does NOT handle press/release events
-
-
Constructor Summary
Constructors Constructor Description ClickEvent(MouseButton mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.awt.event.MouseEvent
getEvent()
MouseButton
getMouseButton()
int
hashCode()
void
run()
void
setEvent(java.awt.event.MouseEvent event)
void
setMouseButton(MouseButton mouseButton)
java.lang.String
toString()
-
Methods inherited from class org.dreambot.api.input.event.impl.mouse.type.AbstractMouseEvent
completed, failed
-
-
-
-
Constructor Detail
-
ClickEvent
public ClickEvent(MouseButton mode)
-
-
Method Detail
-
run
public void run()
-
getMouseButton
public MouseButton getMouseButton()
-
getEvent
public java.awt.event.MouseEvent getEvent()
-
setMouseButton
public void setMouseButton(MouseButton mouseButton)
-
setEvent
public void setEvent(java.awt.event.MouseEvent event)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-