Interface StatusView
-
public interface StatusView
Modules implementing this interface are displayed on the ingame status view. Examples are the sensor map or damage overview. StatusViews will automatically be discovered, so you don't need to register them explicitely.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
draw(List<RenderingBo> renderingBo, StatusViewContext context)
String
getDisplayName()
String
getIconResourceModName()
String
getIconResourceName()
String
getInternalName()
void
onActivate(StatusViewContext context)
void
onDeactivate(StatusViewContext context)
void
onEvent(Event event, StatusViewContext context)
boolean
onKeyRelease(int code, String key, int modifiers, StatusViewContext context)
void
onMessage(AbstractMessage message, StatusViewContext context)
boolean
onMouseDrag(CoordI2 coord, int button, int modifiers, StatusViewContext context)
boolean
onMousePress(CoordI2 coord, int button, int modifiers, StatusViewContext context)
boolean
onMouseRelease(CoordI2 coord, int button, int modifiers, StatusViewContext context)
-
-
-
Method Detail
-
getInternalName
String getInternalName()
-
getDisplayName
String getDisplayName()
-
getIconResourceName
String getIconResourceName()
-
getIconResourceModName
String getIconResourceModName()
-
draw
void draw(List<RenderingBo> renderingBo, StatusViewContext context)
-
onActivate
void onActivate(StatusViewContext context)
-
onDeactivate
void onDeactivate(StatusViewContext context)
-
onMessage
void onMessage(AbstractMessage message, StatusViewContext context)
-
onEvent
void onEvent(Event event, StatusViewContext context)
-
onMousePress
boolean onMousePress(CoordI2 coord, int button, int modifiers, StatusViewContext context)
-
onMouseRelease
boolean onMouseRelease(CoordI2 coord, int button, int modifiers, StatusViewContext context)
-
onMouseDrag
boolean onMouseDrag(CoordI2 coord, int button, int modifiers, StatusViewContext context)
-
onKeyRelease
boolean onKeyRelease(int code, String key, int modifiers, StatusViewContext context)
-
-