Class AgentSelectionStep

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.pietschy.wizard.PanelWizardStep
repast.simphony.ui.plugin.editor.PluginWizardStep
repast.simphony.visualization.gui.AgentSelectionStep
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, org.pietschy.wizard.WizardStep, PluginWizardStepListener
Direct Known Subclasses:
GISAgentSelectionStep

public class AgentSelectionStep extends PluginWizardStep
Display wizard step for selecting agents to style.
Author:
Nick Collier, Eric Tatara
See Also:
  • Field Details

  • Constructor Details

    • AgentSelectionStep

      public AgentSelectionStep()
  • Method Details

    • getContentPanel

      protected JPanel getContentPanel()
      Description copied from class: PluginWizardStep
      Subclasses must provide a JPanel with the wizard contents.
      Specified by:
      getContentPanel in class PluginWizardStep
      Returns:
      the content panel
    • init

      public void init(org.pietschy.wizard.WizardModel wizardModel)
      Specified by:
      init in interface org.pietschy.wizard.WizardStep
      Overrides:
      init in class org.pietschy.wizard.PanelWizardStep
    • applyState

      public void applyState() throws org.pietschy.wizard.InvalidStateException
      Specified by:
      applyState in interface org.pietschy.wizard.WizardStep
      Overrides:
      applyState in class org.pietschy.wizard.PanelWizardStep
      Throws:
      org.pietschy.wizard.InvalidStateException
    • getTargetAgentList

      protected List<AgentData> getTargetAgentList(DisplayDescriptor descriptor)
      Check if there are existing styles in the display. This would happen if the wizard is opened on an existing display. Subclass can override to provide the agent list in different order.
      Returns:
    • prepare

      public void prepare()
      Specified by:
      prepare in interface org.pietschy.wizard.WizardStep
      Overrides:
      prepare in class org.pietschy.wizard.PanelWizardStep
    • getListModel

      public ListModel getListModel()