Class GroundContainerMouseState
java.lang.Object
games.stendhal.client.gui.MouseHandler
games.stendhal.client.gui.spellcasting.GroundContainerMouseState
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,EventListener
- Direct Known Subclasses:
DefaultGroundContainerMouseState
,SpellCastingGroundContainerMouseState
- Author:
- madmetzger
-
Field Summary
Modifier and TypeFieldDescriptionprotected static int
The amount to shift popup menus to have the first entry under the mouse. -
Method Summary
Modifier and TypeMethodDescriptionabstract StendhalCursor
Get cursor for a point.void
abstract void
Methods inherited from class games.stendhal.client.gui.MouseHandler
isCtrlDown, isShiftDown, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, onDragStart, onMouseClick, onMouseDoubleClick, onMouseRightClick
-
Field Details
-
MENU_OFFSET
protected static final int MENU_OFFSETThe amount to shift popup menus to have the first entry under the mouse.- See Also:
- Constant Field Values
-
-
Method Details
-
switchState
public abstract void switchState() -
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classMouseHandler
-
getCursor
Get cursor for a point.- Parameters:
point
-- Returns:
- cursor
-