|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The base type for all HUD implementations; contains the major callbacks needed by the heads-up-editing system.
| Method Summary | |
java.lang.String |
getName()
Each HUD should have a unique user-readable name; must be unique, since it is used as a key in Maps |
boolean |
isActive()
Simply returns the value of the active flag |
void |
isActive(boolean b)
Used by the HUD-manager to inform the HUD it is no longer active, i.e. |
boolean |
isVisible()
Simply returns the value of the visibility flag |
void |
isVisible(boolean b)
Used by the HUD-manager to inform this HUD when it has been made visible or hidden |
void |
paint(java.awt.Graphics g)
If this HUD is visible, it will be asked to paint to the supplied display surface during repaints |
void |
setManager(HUDManager am)
Callback when added to a HUD manager to give the HUD a reference it can use to control or delegate to other HUDs etc |
| Methods inherited from interface java.awt.event.MouseListener |
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased |
| Methods inherited from interface java.awt.event.MouseMotionListener |
mouseDragged, mouseMoved |
| Method Detail |
public void setManager(HUDManager am)
am - public void paint(java.awt.Graphics g)
g - public java.lang.String getName()
public void isVisible(boolean b)
b - true if HUD is now visible, false otherwisepublic boolean isVisible()
public void isActive(boolean b)
b - public boolean isActive()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||