public class WhistleLocaliserControl extends AbstractLocaliserControl implements LocaliserControlModel
Constructor and Description |
---|
WhistleLocaliserControl(StaticLocaliserControl staticLocaliserControl) |
Modifier and Type | Method and Description |
---|---|
boolean |
canLocalise(PamDetection pamDetection)
Checks to see if this pamDetection can be localised.
|
int[] |
getChannelMap()
Had to implement this as offline datablocks had problems with channel maps.
|
PamDetection |
getCurrentDetection() |
java.util.ArrayList<PamDetection> |
getCurrentDetections() |
java.lang.Integer |
getDetectionType()
return a flag to calculate what subset of detections to classify.
|
PamPanel |
getPanel() |
StaticLocalisationMainPanel |
getStaticMainPanel()
Get the static main panel that this component belongs to.
|
void |
loadData(long timeStart,
long timeEnd)
Refresh all the data in the control panel.
|
void |
setCurrentDetection(PamDetection pamDetection)
Set the current detection.
|
void |
update(int flag)
Update the dialog.
|
enableComponents, getLayerPanel, getLocaliserPanelName, isPaused, notifyDetectionUpdate, setlayerPanelEnabled, updatePanelsDetectionUpdate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPaused
public WhistleLocaliserControl(StaticLocaliserControl staticLocaliserControl)
public PamPanel getPanel()
public void setCurrentDetection(PamDetection pamDetection)
SLPanel
setCurrentDetection
in interface SLPanel
public void update(int flag)
SLPanel
public StaticLocalisationMainPanel getStaticMainPanel()
SLPanel
getStaticMainPanel
in interface SLPanel
public PamDetection getCurrentDetection()
getCurrentDetection
in interface LocaliserControlModel
public java.util.ArrayList<PamDetection> getCurrentDetections()
getCurrentDetections
in interface LocaliserControlModel
public java.lang.Integer getDetectionType()
LocaliserControlModel
getDetectionType
in interface LocaliserControlModel
public boolean canLocalise(PamDetection pamDetection)
LocaliserControlModel
canLocalise
in interface LocaliserControlModel
public int[] getChannelMap()
LocaliserControlModel
getChannelMap
in interface LocaliserControlModel
public void loadData(long timeStart, long timeEnd)
LocaliserControlModel
loadData
in interface LocaliserControlModel