Package tethys.swing
Class PAMGuardDeploymentsTable
java.lang.Object
tethys.swing.TethysGUIPanel
tethys.swing.PAMGuardDeploymentsTable
- All Implemented Interfaces:
TethysStateObserver
Table view of PAMGuard deployments. For a really simple deployment, this may have only
one line. For towed surveys where we stop and start a lot, it may have a LOT of lines.
- Author:
- dg50
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObserver(DeploymentTableObserver observer) protected voiddeleteDeployment(PDeployment pDeployment) protected voiddeleteMultipleDeployments(ArrayList<PDeployment> matchedDeployments) protected voiddisplayDeployment(PDeployment pDeployment) protected voidexportDeployment(PDeployment pDeployment) Get a list of selected periods irrespective of whether they have an existing deployment document.protected voidselectAll(boolean select) voidvoidupdateState(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.TethysGUIPanel
colourBackground, getErrorColour, getNormalColour, getTethysControl
-
Constructor Details
-
PAMGuardDeploymentsTable
-
-
Method Details
-
getComponent
- Specified by:
getComponentin classTethysGUIPanel
-
getMasterList
-
showPopup
-
selectAll
protected void selectAll(boolean select) -
deleteMultipleDeployments
-
deleteDeployment
-
exportDeployment
-
displayDeployment
-
updateState
Description copied from interface:TethysStateObserverReceive 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:
updateStatein interfaceTethysStateObserver- Overrides:
updateStatein classTethysGUIPanel- Parameters:
tethysState-
-
getSelectedPeriods
Get a list of selected periods irrespective of whether they have an existing deployment document.- Returns:
-
addObserver
-