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 Details

  • Method Details

    • createMainPanel

      public PamPanel createMainPanel()
    • getMainPanel

      public PamPanel getMainPanel()
    • getLayerPanel

      public JLayer<JPanel> 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 interface TMDialogComponent