Package targetMotionModule.panels
Class AbstractControlPanel
java.lang.Object
targetMotionModule.panels.AbstractControlPanel
- All Implemented Interfaces:
TargetMotionControlPanel
,TMDialogComponent
- Direct Known Subclasses:
EventControlPanel
public abstract class AbstractControlPanel
extends Object
implements TMDialogComponent, TargetMotionControlPanel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis return the panel with a JLayer overlay.void
setlayerPanelEnabled
(boolean enable) Enable or disable the panel.void
update
(int flag) Updates the panel depending on the integer flag.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface targetMotionModule.panels.TargetMotionControlPanel
addLocaliserMenuItem, canLocalise, getPanel, getTargetMotionInfo, refreshData, saveData, setNull
Methods inherited from interface targetMotionModule.panels.TMDialogComponent
canRun, enableControls, getPanel
-
Constructor Details
-
AbstractControlPanel
-
-
Method Details
-
createMainPanel
-
getMainPanel
-
getLayerPanel
This return the panel with a JLayer overlay. This overlay is used for disabling the panel during batch run. Note that this is a new feature of Java 7.- Returns:
-
setlayerPanelEnabled
public void setlayerPanelEnabled(boolean enable) Enable or disable the panel. Panel enabled shows the normal panel with all components enabled. Disabling the panel adds an animation over the top of the panel, greys out the rest of the panel and disables all components.- Parameters:
enable
-
-
update
public void update(int flag) Description copied from interface:TMDialogComponent
Updates the panel depending on the integer flag.- Specified by:
update
in interfaceTMDialogComponent
-