Interface ConsoleView
-
public interface ConsoleViewModules 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 booleandisplaySeparator()voiddraw(List<RenderingBo> renderingBo, CoordI2 dimension)RgbaColorgetConsoleWindowBorderColor()StringgetDisplayName()Localization idStringgetIconResourceModName()StringgetIconResourceName()intgetOrder()booleanhasDisplay()ClientConsoleComplexControlActiononClientComplexConsoleControlEvent(int button, CoordI2 normalizedCoordinate)voidonEvent(Event event)booleanonKeyRelease(int code, String key, int modifiers)booleanonMousePress(CoordI2 coord, int button, int modifiers)voidreset()voidrun()
-
-
-
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)
-
-