|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclickDetector.offlineFuncs.ClicksOffline
public class ClicksOffline
Functions for handling offline data display and processing.
Basically, this is an add on the ClickController, but split off into a separate class since the main ClickController has got a bit over cumbersome.
| Nested Class Summary | |
|---|---|
private class |
ClicksOffline.LabelClick
|
private class |
ClicksOffline.LabelClicks
|
private class |
ClicksOffline.QuickAddClicks
|
(package private) class |
ClicksOffline.ReanalProgress
|
(package private) class |
ClicksOffline.ReanalWorker
Class that can execute jobs on files, or multiple files during offline reanalysis of data. |
private class |
ClicksOffline.ReanalyseClicks
|
private class |
ClicksOffline.ShowEvents
|
| Field Summary | |
|---|---|
private ClickControl |
clickControl
|
private OfflineParameters |
offlineParameters
|
| Constructor Summary | |
|---|---|
ClicksOffline(ClickControl clickControl)
Constructor, called from ClickControl. |
|
| Method Summary | |
|---|---|
int |
addBTMenuItems(java.awt.Container menu,
ClickBTDisplay btDisplay,
boolean hasZoom,
ClickDetection clickedClick)
Add menu items associated with right mouse actions on bearing time display |
int |
addDetectorMenuItems(java.awt.Frame owner,
java.awt.Container menu)
Add offline functions to the top of the main Detector menu when operating in viewer mode. |
ClicksOffline.ReanalWorker |
createReanalWorker(ReanalMonitor reanalMonitor)
|
private OfflineEventDataUnit |
findAutoEvent(ClickBTDisplay btDisplay)
Automatically work out if there is an obvious event to add clicks to. |
ClickBinaryDataSource |
findBinaryDataSource()
|
private BinaryStore |
findBinaryStore()
|
BinaryOfflineDataMap |
findOfflineDataMap()
|
ClickControl |
getClickControl()
|
OfflineParameters |
getOfflineParameters()
|
void |
labelClick(ClickBTDisplay btDisplay)
|
void |
labelClicks(ClickBTDisplay btDisplay)
|
protected void |
offlineDataChanged()
Called from when data have changed (eg from re doing click id). |
private void |
processClick(ClickDetection click)
|
void |
reAnalyseClicks()
Go through clicks and do things like re classify to species, look for trains, etc. |
protected void |
runClickClassification()
|
void |
setOfflineParameters(OfflineParameters offlineParameters)
|
protected void |
storageClosed()
Called when the click store has closed Will need to delete all data from the module. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ClickControl clickControl
private OfflineParameters offlineParameters
| Constructor Detail |
|---|
public ClicksOffline(ClickControl clickControl)
clickControl - | Method Detail |
|---|
protected void runClickClassification()
protected void storageClosed()
protected void offlineDataChanged()
public int addDetectorMenuItems(java.awt.Frame owner,
java.awt.Container menu)
menu - menu to add items to
public int addBTMenuItems(java.awt.Container menu,
ClickBTDisplay btDisplay,
boolean hasZoom,
ClickDetection clickedClick)
menu - menu to add items tohasZoom - whether or not the display has a zoomed area.isOnClick - whether or not the mouse is on a click.
private OfflineEventDataUnit findAutoEvent(ClickBTDisplay btDisplay)
this will either be the last event anything was added to, or a unique event already used with the clicks in the marked list.
btDisplay - Bearing time display
public void reAnalyseClicks()
public void labelClicks(ClickBTDisplay btDisplay)
public void labelClick(ClickBTDisplay btDisplay)
private void processClick(ClickDetection click)
public ClickControl getClickControl()
public void setOfflineParameters(OfflineParameters offlineParameters)
offlineParameters - the offlineParameters to setpublic OfflineParameters getOfflineParameters()
public ClicksOffline.ReanalWorker createReanalWorker(ReanalMonitor reanalMonitor)
public ClickBinaryDataSource findBinaryDataSource()
private BinaryStore findBinaryStore()
public BinaryOfflineDataMap findOfflineDataMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||