Class DisplayWizardModel

java.lang.Object
org.pietschy.wizard.AbstractWizardModel
org.pietschy.wizard.models.DynamicModel
repast.simphony.visualization.gui.DisplayWizardModel
All Implemented Interfaces:
EventListener, org.pietschy.wizard.WizardListener, org.pietschy.wizard.WizardModel

public class DisplayWizardModel extends org.pietschy.wizard.models.DynamicModel implements org.pietschy.wizard.WizardListener
Wizard model for configuring displays.
Author:
Nick Collier
  • Constructor Details

  • Method Details

    • wizardCancelled

      public void wizardCancelled(org.pietschy.wizard.WizardEvent wizardEvent)
      Specified by:
      wizardCancelled in interface org.pietschy.wizard.WizardListener
    • wizardClosed

      public void wizardClosed(org.pietschy.wizard.WizardEvent wizardEvent)
      Specified by:
      wizardClosed in interface org.pietschy.wizard.WizardListener
    • getDescriptor

      public DisplayDescriptor getDescriptor()
    • getTypeDescriptor

      public ProjectionDescriptor getTypeDescriptor(String type)
    • getDefaultStyle

      public String getDefaultStyle()
    • contextContainsOnlyProjectionType

      public boolean contextContainsOnlyProjectionType(String type)
      Parameters:
      type - the type of projection (e.g. Network)
      Returns:
      true if this contains only projections of the specified type otherwise false
    • contextContainsProjectionType

      public boolean contextContainsProjectionType(String type)
      Parameters:
      type -
      Returns:
      true if the current list of projections contains the specified type.
    • containsOnlyProjectionType

      public boolean containsOnlyProjectionType(String type)
      Parameters:
      type - the type of projection (e.g. SNetwork)
      Returns:
      true if this contains only projections of the specified type otherwise false
    • containsProjectionType

      public boolean containsProjectionType(String type)
      Parameters:
      type -
      Returns:
      true if the current list of projections contains the specified type.
    • containsValueLayer

      public boolean containsValueLayer()
    • getContext

      public ContextData getContext()
    • setDescriptor

      public void setDescriptor(DisplayDescriptor descriptor)