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 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()
      • onEvent

        void onEvent​(Event event)
      • onMousePress

        boolean onMousePress​(CoordI2 coord,
                             int button,
                             int modifiers)
      • onKeyRelease

        boolean onKeyRelease​(int code,
                             String key,
                             int modifiers)