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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionThis return the panel with a JLayer overlay.voidsetlayerPanelEnabled(boolean enable) Enable or disable the panel.voidupdate(int flag) Updates the panel depending on the integer flag.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface targetMotionModule.panels.TargetMotionControlPanel
addLocaliserMenuItem, canLocalise, getPanel, getTargetMotionInfo, refreshData, saveData, setNullMethods 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:TMDialogComponentUpdates the panel depending on the integer flag.- Specified by:
 updatein interfaceTMDialogComponent
 
 -