Class AbstractDescriptor

    • Constructor Detail

      • AbstractDescriptor

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

      • getName

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

        public void setName​(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
      • readResolve

        protected Object readResolve()