Package repast.simphony.scenario
Class AbstractDescriptor
java.lang.Object
repast.simphony.scenario.AbstractDescriptor
- All Implemented Interfaces:
Descriptor
- Direct Known Subclasses:
AbstractTextSinkDescriptor
,BasicDisplayDescriptor
,ChartDescriptor
,DataSetDescriptor
,DefaultDisplayDescriptor
,DefaultUserPanelDescriptor
- Author:
- Nick Collier
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractDescriptor
(String name) Constructs the descriptor with the specified name. -
Method Summary
-
Field Details
-
scs
-
-
Constructor Details
-
AbstractDescriptor
Constructs the descriptor with the specified name.- Parameters:
name
- the name of the descriptor
-
-
Method Details
-
getName
Retrieves the name of this descriptor.- Specified by:
getName
in interfaceDescriptor
- Returns:
- the name of this descriptor
-
setName
Sets the name of this descriptor.- Specified by:
setName
in interfaceDescriptor
- Parameters:
name
- the name of this descriptor
-
addScenarioChangedListener
Adds the specified object to listen for scenario change events fired by this descriptor.- Parameters:
listener
- the listener to add
-
readResolve
-