public class ModelControlPanel extends java.lang.Object implements TMDialogComponent
Constructor and Description |
---|
ModelControlPanel(TargetMotionLocaliser targetMotionLocaliser,
TargetMotionMainPanel targetMotionDialog) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRun() |
void |
enableControls()
Enable controls - based on event selection and other controls
|
javax.swing.JPanel |
getPanel() |
boolean |
isEnabled(int i) |
void |
update(int flag)
Updates the panel depending on the integer flag.
|
public ModelControlPanel(TargetMotionLocaliser targetMotionLocaliser, TargetMotionMainPanel targetMotionDialog)
targetMotionLocaliser
- targetMotionDialog
- public javax.swing.JPanel getPanel()
getPanel
in interface TMDialogComponent
public boolean canRun()
canRun
in interface TMDialogComponent
public void enableControls()
TMDialogComponent
enableControls
in interface TMDialogComponent
public boolean isEnabled(int i)
i
- model indexpublic void update(int flag)
TMDialogComponent
update
in interface TMDialogComponent