Class ScriptPaint
java.lang.Object
org.rspeer.game.script.meta.paint.ScriptPaint
- All Implemented Interfaces:
BotMouseListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanInvoked when the mouse button has been clicked (pressed and released) on the canvas.booleanInvoked when a mouse button is pressed on the canvas and then dragged.booleanInvoked when the mouse cursor has been moved onto the canvas but no buttons have been pushed.booleanInvoked when a mouse button has been pressed on the canvas.booleanInvoked when a mouse button has been released on the canvas.voidvoidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BotMouseListener
mouseEntered, mouseExited
-
Constructor Details
-
ScriptPaint
-
-
Method Details
-
mouseClicked
Description copied from interface:BotMouseListenerInvoked when the mouse button has been clicked (pressed and released) on the canvas.- Specified by:
mouseClickedin interfaceBotMouseListener- Parameters:
e- the event to be processed- Returns:
- true to consume the event
-
mousePressed
Description copied from interface:BotMouseListenerInvoked when a mouse button has been pressed on the canvas.- Specified by:
mousePressedin interfaceBotMouseListener- Parameters:
e- the event to be processed- Returns:
- true to consume the event
-
mouseReleased
Description copied from interface:BotMouseListenerInvoked when a mouse button has been released on the canvas.- Specified by:
mouseReleasedin interfaceBotMouseListener- Parameters:
e- the event to be processed- Returns:
- true to consume the event
-
mouseDragged
Description copied from interface:BotMouseListenerInvoked when a mouse button is pressed on the canvas and then dragged.MOUSE_DRAGGEDevents will continue to be delivered to the component where the drag originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).Due to platform-dependent Drag&Drop implementations,
MOUSE_DRAGGEDevents may not be delivered during a native Drag&Drop operation.- Specified by:
mouseDraggedin interfaceBotMouseListener- Parameters:
e- the event to be processed- Returns:
- true to consume the event
-
mouseMoved
Description copied from interface:BotMouseListenerInvoked when the mouse cursor has been moved onto the canvas but no buttons have been pushed.- Specified by:
mouseMovedin interfaceBotMouseListener- Parameters:
e- the event to be processed- Returns:
- true to consume the event
-
subscribe
public void subscribe() -
unsubscribe
public void unsubscribe()
-