Package megamek.client.ui.widget.picmap
Class PMGenericHotArea
java.lang.Object
megamek.client.ui.widget.picmap.PMGenericHotArea
- Direct Known Subclasses:
PMPicPolygonalArea
Abstract class which defines common functionality for all hot areas such as event handling and dispatching.
-
Field Summary
Fields inherited from interface megamek.client.ui.widget.picmap.PMHotArea
MOUSE_CLICK_LEFT, MOUSE_CLICK_RIGHT, MOUSE_DOUBLE_CLICK, MOUSE_DOWN, MOUSE_EXIT, MOUSE_OVER, MOUSE_UP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface megamek.client.ui.widget.picmap.PMElement
drawInto, getBounds, setVisible, translateMethods inherited from interface megamek.client.ui.widget.picmap.PMHotArea
getAreaShape
-
Constructor Details
-
PMGenericHotArea
public PMGenericHotArea()
-
-
Method Details
-
getCursor
-
setCursor
-
addActionListener
-
removeActionListener
-
onMouseClick
- Specified by:
onMouseClickin interfacePMHotArea
-
onMouseOver
- Specified by:
onMouseOverin interfacePMHotArea
-
onMouseExit
- Specified by:
onMouseExitin interfacePMHotArea
-
onMouseDown
- Specified by:
onMouseDownin interfacePMHotArea
-
onMouseUp
-