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
FieldsModifier and TypeFieldDescriptionprotected static final intThe amount to shift popup menus to have the first entry under the mouse. -
Method Summary
Modifier and TypeMethodDescriptionabstract StendhalCursorGet cursor for a point.voidabstract voidMethods 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:
-
-
Method Details
-
switchState
public abstract void switchState() -
mousePressed
- Specified by:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classMouseHandler
-
getCursor
Get cursor for a point.- Parameters:
point-- Returns:
- cursor
-