Interface ConsoleView
-
public interface ConsoleView
Modules implementing this interface add an additional view to the ingame console window. These views can show information about and control entities. Examples are entity details and mission information + selection. ConsoleViews 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 boolean
displaySeparator()
void
draw(List<RenderingBo> renderingBo, CoordI2 dimension)
RgbaColor
getConsoleWindowBorderColor()
String
getDisplayName()
Localization idString
getIconResourceModName()
String
getIconResourceName()
int
getOrder()
boolean
hasDisplay()
ClientConsoleComplexControlAction
onClientComplexConsoleControlEvent(int button, CoordI2 normalizedCoordinate)
void
onEvent(Event event)
boolean
onKeyRelease(int code, String key, int modifiers)
boolean
onMousePress(CoordI2 coord, int button, int modifiers)
void
reset()
void
run()
-
-
-
Method Detail
-
getDisplayName
String getDisplayName()
Localization id
-
getIconResourceName
String getIconResourceName()
-
getIconResourceModName
String getIconResourceModName()
-
getConsoleWindowBorderColor
RgbaColor getConsoleWindowBorderColor()
-
getOrder
int getOrder()
-
hasDisplay
boolean hasDisplay()
-
displaySeparator
boolean displaySeparator()
-
reset
void reset()
-
run
void run()
-
draw
void draw(List<RenderingBo> renderingBo, CoordI2 dimension)
-
onEvent
void onEvent(Event event)
-
onMousePress
boolean onMousePress(CoordI2 coord, int button, int modifiers)
-
onKeyRelease
boolean onKeyRelease(int code, String key, int modifiers)
-
onClientComplexConsoleControlEvent
ClientConsoleComplexControlAction onClientComplexConsoleControlEvent(int button, CoordI2 normalizedCoordinate)
-
-