Class ClickEvent
- java.lang.Object
-
- org.dreambot.api.input.event.AbstractEvent
-
- org.dreambot.api.input.event.impl.mouse.AbstractMouseEvent
-
- org.dreambot.api.input.event.impl.mouse.impl.click.ClickEvent
-
- All Implemented Interfaces:
java.lang.Runnable
@Deprecated public class ClickEvent extends AbstractMouseEvent
Deprecated.seeClickEvent
-
-
Constructor Summary
Constructors Constructor Description ClickEvent(ClickMode mode)
Deprecated.ClickEvent(ClickMode mode, AbstractMouseDestination destinatino)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Condition
completed()
Deprecated.AbstractCondition
used to determine if current event is complete.Condition
failed()
Deprecated.AbstractCondition
used to determine if current event has failed.boolean
generateMouseDownEvent()
Deprecated.Generate mouse down event for the current set click type.boolean
generateMouseUpEvent()
Deprecated.Generate mouse up event for the current set click type.static ClickEvent
get(ClickMode clickMode)
Deprecated.static ClickEvent
get(ClickMode clickMode, AbstractMouseDestination destination)
Deprecated.int
getClickColorID()
Deprecated.void
run()
Deprecated.void
setClickMode(ClickMode clickMode)
Deprecated.Sets click mode.-
Methods inherited from class org.dreambot.api.input.event.impl.mouse.AbstractMouseEvent
getDestination, setDestination
-
-
-
-
Constructor Detail
-
ClickEvent
public ClickEvent(ClickMode mode)
Deprecated.
-
ClickEvent
public ClickEvent(ClickMode mode, AbstractMouseDestination destinatino)
Deprecated.
-
-
Method Detail
-
get
public static ClickEvent get(ClickMode clickMode)
Deprecated.
-
get
public static ClickEvent get(ClickMode clickMode, AbstractMouseDestination destination)
Deprecated.
-
completed
public Condition completed()
Deprecated.AbstractCondition
used to determine if current event is complete.- Overrides:
completed
in classAbstractMouseEvent
- Returns:
Condition
used to determine if current event has completed successfully.
-
failed
public Condition failed()
Deprecated.AbstractCondition
used to determine if current event has failed.- Overrides:
failed
in classAbstractMouseEvent
- Returns:
Condition
used to determine if current event has failed.
-
run
public void run()
Deprecated.
-
setClickMode
public void setClickMode(ClickMode clickMode)
Deprecated.Sets click mode.- Parameters:
clickMode
- the click mode
-
generateMouseDownEvent
public boolean generateMouseDownEvent()
Deprecated.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()
Deprecated.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()
Deprecated.
-
-