Class DefaultGroundContainerMouseState
java.lang.Object
games.stendhal.client.gui.MouseHandler
games.stendhal.client.gui.spellcasting.GroundContainerMouseState
games.stendhal.client.gui.spellcasting.DefaultGroundContainerMouseState
- All Implemented Interfaces:
MouseListener,MouseMotionListener,EventListener
-
Field Summary
Fields inherited from class games.stendhal.client.gui.spellcasting.GroundContainerMouseState
MENU_OFFSET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet cursor for a point.protected voidonDragStart(Point point) Called when mouse dragging starts.protected booleanonMouseClick(Point point) Called on left mouse single click.protected booleanonMouseDoubleClick(Point point) Called on left double click.protected voidonMouseRightClick(Point point) Called on right mouse single click.voidMethods inherited from class games.stendhal.client.gui.spellcasting.GroundContainerMouseState
mousePressedMethods inherited from class games.stendhal.client.gui.MouseHandler
isCtrlDown, isShiftDown, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased
-
Constructor Details
-
DefaultGroundContainerMouseState
-
-
Method Details
-
onMouseClick
Description copied from class:MouseHandlerCalled on left mouse single click.- Specified by:
onMouseClickin classMouseHandler- Parameters:
point- location- Returns:
trueif the click was handled
-
onMouseDoubleClick
Description copied from class:MouseHandlerCalled on left double click.- Specified by:
onMouseDoubleClickin classMouseHandler- Parameters:
point- location- Returns:
trueif the click was handled
-
onMouseRightClick
Description copied from class:MouseHandlerCalled on right mouse single click.- Specified by:
onMouseRightClickin classMouseHandler- Parameters:
point- location
-
onDragStart
Description copied from class:MouseHandlerCalled when mouse dragging starts.- Specified by:
onDragStartin classMouseHandler- Parameters:
point- location
-
switchState
public void switchState()- Specified by:
switchStatein classGroundContainerMouseState
-
getCursor
Description copied from class:GroundContainerMouseStateGet cursor for a point.- Specified by:
getCursorin classGroundContainerMouseState- Returns:
- cursor
-