Package tethys.swing
Class DatablockSynchPanel
java.lang.Object
tethys.swing.TethysGUIPanel
tethys.swing.TethysExportPanel
tethys.swing.DatablockSynchPanel
- All Implemented Interfaces:
TethysStateObserver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTableObserver
(StreamTableObserver observer) protected void
Export button has been pressed.protected void
void
notifyObservers
(PamDataBlock dataBlock) protected void
Options button has been pressed.void
showPopup
(MouseEvent e, int row) void
updateState
(TethysState tethysState) 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.Methods inherited from class tethys.swing.TethysExportPanel
disableExport, enableExport, getCollectionHandler, getComponent, getExportButton, getHelpButton, getHelpPoint, getMainPanel, getMessage, getNorthPanel, getOptionsButton, helpButtonPressed, isShowOptions, setHelpPoint, setShowOptions
Methods inherited from class tethys.swing.TethysGUIPanel
colourBackground, getErrorColour, getNormalColour, getTethysControl
-
Constructor Details
-
Method Details
-
exportData
protected void exportData() -
showPopup
-
updateState
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 interfaceTethysStateObserver
- Overrides:
updateState
in classTethysGUIPanel
- Parameters:
tethysState
-
-
addTableObserver
-
notifyObservers
-
exportButtonPressed
Description copied from class:TethysExportPanel
Export button has been pressed.- Specified by:
exportButtonPressed
in classTethysExportPanel
- Parameters:
e
-
-
optionsButtonPressed
Description copied from class:TethysExportPanel
Options button has been pressed.- Specified by:
optionsButtonPressed
in classTethysExportPanel
- Parameters:
e
-
-