Package tethys.swing

Class TethysGUIPanel

java.lang.Object
tethys.swing.TethysGUIPanel
All Implemented Interfaces:
TethysStateObserver
Direct Known Subclasses:
CalibrationsTable, DatablockDetectionsPanel, DeploymentExportPanel, DetectionsExportPanel, PAMGuardDeploymentsTable, TethysConnectionPanel, TethysDeploymentsTable, TethysExportPanel, TethysMainPanel

public abstract class TethysGUIPanel extends Object implements TethysStateObserver
  • Constructor Details Link icon

    • TethysGUIPanel Link icon

      public TethysGUIPanel(TethysControl tethysControl)
  • Method Details Link icon

    • getTethysControl Link icon

      public TethysControl getTethysControl()
    • getComponent Link icon

      public abstract JComponent getComponent()
    • updateState Link icon

      public void updateState(TethysState tethysState)
      Description copied from interface: TethysStateObserver
      Receive state updates when Tethys has done something (made a connection, moved some data, etc.)
      Note that this is for RECEIVING state updates, not for sending them. To avoid infinite notifications loops, use tethysControl.sendStateUpdate(TethysState) to send out state notifications.
      Specified by:
      updateState in interface TethysStateObserver
    • getNormalColour Link icon

      public Color getNormalColour()
    • getErrorColour Link icon

      public Color getErrorColour()
    • colourBackground Link icon

      public void colourBackground(int iCol)