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

    • TethysGUIPanel

      public TethysGUIPanel(TethysControl tethysControl)
  • Method Details

    • getTethysControl

      public TethysControl getTethysControl()
    • getComponent

      public abstract JComponent getComponent()
    • updateState

      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

      public Color getNormalColour()
    • getErrorColour

      public Color getErrorColour()
    • colourBackground

      public void colourBackground(int iCol)