Package tethys.swing

Class TethysConnectionPanel

java.lang.Object
tethys.swing.TethysGUIPanel
tethys.swing.TethysConnectionPanel
All Implemented Interfaces:
TethysStateObserver

public class TethysConnectionPanel extends TethysGUIPanel
Top strip of main Tethys GUI for connection and project information
Author:
dg50
  • Constructor Details

    • TethysConnectionPanel

      public TethysConnectionPanel(TethysControl tethysControl)
  • Method Details

    • getComponent

      public JComponent getComponent()
      Specified by:
      getComponent in class TethysGUIPanel
    • 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
      Overrides:
      updateState in class TethysGUIPanel