Class SolutionPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
QueueLenPanel, ResidTimePanel, RespTimePanel, SystemPowerPanel, SystemRespTimePanel, ThroughputPanel, UtilizationPanel

public abstract class SolutionPanel extends AlgorithmPanel
generic solution panel
See Also:
  • Field Details

    • helpText

      protected String helpText
    • name

      protected String name
    • help

      protected HoverHelp help
    • data

      protected ExactModel data
    • classes

      protected int classes
    • stations

      protected int stations
    • classNames

      protected String[] classNames
    • stationNames

      protected String[] stationNames
    • ReferenceStation

      protected int[] ReferenceStation
    • hasResults

      protected boolean hasResults
    • resultsOK

      protected boolean resultsOK
    • isSingle

      protected boolean isSingle
    • classTypes

      protected int[] classTypes
    • visits

      protected double[][] visits
    • serviceTimes

      protected double[][][] serviceTimes
    • table

      protected ResultsTable table
    • statusLabel

      protected JLabel statusLabel
    • iteration

      protected int iteration
      Number of iteration to be shown. Used by What-if analysis
  • Constructor Details

  • Method Details

    • sync

      protected void sync()
      gets status from data object
    • initComponents

      protected void initComponents()
      Set up the panel contents and layout
    • gotFocus

      public void gotFocus()
      Description copied from class: WizardPanel
      called by the Wizard when the panel becomes active
      Overrides:
      gotFocus in class WizardPanel
    • help

      public void help()
      Description copied from class: WizardPanel
      called by the Wizard when the user presses the help button
      Overrides:
      help in class WizardPanel
    • getName

      public String getName()
      Overrides:
      getName in class AlgorithmPanel
      Returns:
      the panel's name
    • getTableModel

      protected abstract ExactTableModel getTableModel()
      Returns table model that must describe data contained in this panel's table.
      Returns:
      :this panel's table model.
    • getDescriptionMessage

      protected abstract String getDescriptionMessage()
      Returns this panel's purpose description.
      Returns:
      :message describing data contained in this panel.
    • setIteration

      public void setIteration(int iteration)
      Sets iteration number for results to be shown. This is used for what-if analysis. Default is first iteration (0)
      Overrides:
      setIteration in class AlgorithmPanel
      Parameters:
      iteration - number of iteration to be shown. Must be between 0 and [number of iterations]-1