Class TerminalStatusBar

All Implemented Interfaces:
Runnable, Drawable

public class TerminalStatusBar extends Composite implements Runnable
The status bar for the terminal window.
Author:
Christopher Mindus
  • Constructor Details

    • TerminalStatusBar

      public TerminalStatusBar(TerminalComposite parent)
      Constructor.
      Parameters:
      parent - The parent composite.
  • Method Details

    • setMessage

      public void setMessage(int state, String err, String info)
      Sets the message.
      Parameters:
      state - The state.
      err - The error.
      info - Information string (LU name, etc), null for none.
    • setMessage

      public void setMessage(Throwable exception)
      Sets an exception message.
      Parameters:
      exception - Exception for communication.
    • updateKeyState

      public void updateKeyState(int flipVirtualKey)
      Updates the key states for Caps Lock and Num Lock.
      Parameters:
      flipVirtualKey - The virtual key to flip, 0 for none.
    • run

      public void run()
      Rotation callback.
      Specified by:
      run in interface Runnable