public class ClickLocaliserControl extends AbstractLocaliserControl implements LocaliserControlModel, PamSettings
Constructor and Description |
---|
ClickLocaliserControl(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.
|
java.lang.String |
getLocaliserPanelName() |
PamPanel |
getPanel() |
java.io.Serializable |
getSettingsReference() |
long |
getSettingsVersion() |
StaticLocalisationMainPanel |
getStaticMainPanel()
Get the static main panel that this component belongs to.
|
java.lang.String |
getUnitName() |
java.lang.String |
getUnitType() |
boolean |
isPaused()
The display is paused if the pause check box is selected in the tdGrpah.
|
void |
loadData(long timeStart,
long timeEnd)
Refresh all the data in the control panel.
|
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) |
void |
setCurrentDetection(PamDetection pamDetection)
Set the current detection.
|
void |
update(int flag)
Update the dialog.
|
enableComponents, getLayerPanel, notifyDetectionUpdate, setlayerPanelEnabled, updatePanelsDetectionUpdate
public ClickLocaliserControl(StaticLocaliserControl staticLocaliserControl)
public java.lang.String getLocaliserPanelName()
getLocaliserPanelName
in class AbstractLocaliserControl
public PamPanel getPanel()
public void setCurrentDetection(PamDetection pamDetection)
SLPanel
setCurrentDetection
in interface SLPanel
public void update(int flag)
SLPanel
public boolean canLocalise(PamDetection pamDetection)
LocaliserControlModel
canLocalise
in interface LocaliserControlModel
public void loadData(long timeStart, long timeEnd)
LocaliserControlModel
loadData
in interface LocaliserControlModel
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 StaticLocalisationMainPanel getStaticMainPanel()
SLPanel
getStaticMainPanel
in interface SLPanel
public int[] getChannelMap()
LocaliserControlModel
getChannelMap
in interface LocaliserControlModel
public boolean isPaused()
isPaused
in interface LocaliserControlModel
isPaused
in class AbstractLocaliserControl
public java.lang.String getUnitName()
getUnitName
in interface PamSettings
public java.lang.String getUnitType()
getUnitType
in interface PamSettings
public java.io.Serializable getSettingsReference()
getSettingsReference
in interface PamSettings
public long getSettingsVersion()
getSettingsVersion
in interface PamSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings
in interface PamSettings