megamek.client.ui.AWT.widget
Class PMGenericHotArea
java.lang.Object
megamek.client.ui.AWT.widget.PMGenericHotArea
- All Implemented Interfaces:
- PMElement, PMHotArea
- Direct Known Subclasses:
- PMPicPolygonalArea
public abstract class PMGenericHotArea
- extends java.lang.Object
- implements PMHotArea
Abstract class which defines common functionality for all hot areas such as
event handling and dispatching.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PMGenericHotArea
public PMGenericHotArea()
getCursor
public java.awt.Cursor getCursor()
- Specified by:
getCursor in interface PMHotArea
setCursor
public void setCursor(java.awt.Cursor c)
- Specified by:
setCursor in interface PMHotArea
addActionListener
public void addActionListener(java.awt.event.ActionListener l)
removeActionListener
public void removeActionListener(java.awt.event.ActionListener l)
onMouseClick
public void onMouseClick(java.awt.event.MouseEvent e)
- Specified by:
onMouseClick in interface PMHotArea
onMouseOver
public void onMouseOver(java.awt.event.MouseEvent e)
- Specified by:
onMouseOver in interface PMHotArea
onMouseExit
public void onMouseExit(java.awt.event.MouseEvent e)
- Specified by:
onMouseExit in interface PMHotArea
onMouseDown
public void onMouseDown(java.awt.event.MouseEvent e)
- Specified by:
onMouseDown in interface PMHotArea
onMouseUp
public void onMouseUp(java.awt.event.MouseEvent e)
- Specified by:
onMouseUp in interface PMHotArea