Class ModelControlPanel

java.lang.Object
targetMotionModule.panels.ModelControlPanel
All Implemented Interfaces:
TMDialogComponent

public class ModelControlPanel extends Object implements TMDialogComponent
  • Constructor Details

  • Method Details

    • getPanel

      public JPanel getPanel()
      Specified by:
      getPanel in interface TMDialogComponent
      Returns:
      the mainPanel
    • canRun

      public boolean canRun()
      Specified by:
      canRun in interface TMDialogComponent
      Returns:
      true if settigns on this panel think it's possible to start a run
    • enableControls

      public void enableControls()
      Description copied from interface: TMDialogComponent
      Enable controls - based on event selection and other controls
      Specified by:
      enableControls in interface TMDialogComponent
    • isEnabled

      public boolean isEnabled(int i)
      Parameters:
      i - model index
      Returns:
      true if a particular model is enabled
    • 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