Class ActionEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.dreambot.api.script.event.ScriptEvent
-
- org.dreambot.api.script.event.impl.ActionEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ActionEvent extends ScriptEvent
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionEvent(int xCode, int yCode, int opCode, int variable, int itemId, int targetRegionIndex, java.lang.String action, java.lang.String option, int mouseX, int mouseY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(java.util.EventListener eventListener)
java.lang.String
getAction()
int
getMouseX()
int
getMouseY()
int
getOpCode()
java.lang.String
getOption()
int
getVariable()
int
getXCode()
int
getYCode()
java.lang.String
toString()
-
Methods inherited from class org.dreambot.api.script.event.ScriptEvent
getTimestamp
-
-
-
-
Method Detail
-
getXCode
public int getXCode()
-
getYCode
public int getYCode()
-
dispatch
public void dispatch(java.util.EventListener eventListener)
- Specified by:
dispatch
in classScriptEvent
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.util.EventObject
-
getOpCode
public int getOpCode()
-
getVariable
public int getVariable()
-
getAction
public java.lang.String getAction()
-
getOption
public java.lang.String getOption()
-
getMouseX
public int getMouseX()
-
getMouseY
public int getMouseY()
-
-