Class AbstractDescriptor

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractDescriptor​(java.lang.String name)
      Constructs the descriptor with the specified name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addScenarioChangedListener​(ScenarioChangedListener listener)
      Adds the specified object to listen for scenario change events fired by this descriptor.
      java.lang.String getName()
      Retrieves the name of this descriptor.
      void setName​(java.lang.String name)
      Sets the name of this descriptor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractDescriptor

        public AbstractDescriptor​(java.lang.String name)
        Constructs the descriptor with the specified name.
        Parameters:
        name - the name of the descriptor
    • Method Detail

      • getName

        public java.lang.String getName()
        Retrieves the name of this descriptor.
        Specified by:
        getName in interface Descriptor
        Returns:
        the name of this descriptor
      • setName

        public void setName​(java.lang.String name)
        Sets the name of this descriptor.
        Specified by:
        setName in interface Descriptor
        Parameters:
        name - the name of this descriptor
      • addScenarioChangedListener

        public void addScenarioChangedListener​(ScenarioChangedListener listener)
        Adds the specified object to listen for scenario change events fired by this descriptor.
        Parameters:
        listener - the listener to add