T
- public class EventControlPanel<T extends PamDetection> extends java.lang.Object implements TMDialogComponent
Modifier and Type | Field and Description |
---|---|
static int |
SEL_ALL_EVENTS |
static int |
SEL_CHANGED_EVENTS |
static int |
SEL_ONE_EVENT |
Constructor and Description |
---|
EventControlPanel(TargetMotionLocaliser<T> targetMotionLocaliser,
TargetMotionDialog<T> targetMotionDialog) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRun() |
void |
enableControls()
Enable controls - based on event selection and other controls
|
int |
findEventListIndex(int selEventDBIndex) |
javax.swing.JPanel |
getPanel() |
void |
notifyNewResults() |
void |
progressReport(EventLocalisationProgress eventLocalisationProgress) |
void |
selectEventIndex(int selEventDBIndex)
Called when the database index has been changed somewhere.
|
void |
setCurrentEventIndex(int eventIndex,
java.lang.Object sender)
Current event has been set (possibly in one of the other panels)
|
public static final int SEL_ONE_EVENT
public static final int SEL_ALL_EVENTS
public static final int SEL_CHANGED_EVENTS
public EventControlPanel(TargetMotionLocaliser<T> targetMotionLocaliser, TargetMotionDialog<T> targetMotionDialog)
targetMotionLocaliser
- targetMotionDialog
- public javax.swing.JPanel getPanel()
getPanel
in interface TMDialogComponent
public void enableControls()
TMDialogComponent
enableControls
in interface TMDialogComponent
public void setCurrentEventIndex(int eventIndex, java.lang.Object sender)
TMDialogComponent
setCurrentEventIndex
in interface TMDialogComponent
public void selectEventIndex(int selEventDBIndex)
selEventDBIndex
- public int findEventListIndex(int selEventDBIndex)
public void notifyNewResults()
public boolean canRun()
canRun
in interface TMDialogComponent
public void progressReport(EventLocalisationProgress eventLocalisationProgress)