Class DisplayControllerActionIO
- java.lang.Object
-
- repast.simphony.scenario.AbstractControllerActionIO<T>
-
- repast.simphony.scenario.AbstractDescriptorControllerActionIO<DisplayComponentControllerAction,DisplayDescriptor>
-
- repast.simphony.visualization.engine.DisplayControllerActionIO
-
- All Implemented Interfaces:
ControllerActionIO
public class DisplayControllerActionIO extends AbstractDescriptorControllerActionIO<DisplayComponentControllerAction,DisplayDescriptor>
ControllerActionIO for responsible for saving and loading component display actions.- Author:
- Nick Collier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DisplayControllerActionIO.DisplayActionLoader
-
Field Summary
-
Fields inherited from class repast.simphony.scenario.AbstractControllerActionIO
actionClass
-
-
Constructor Summary
Constructors Constructor Description DisplayControllerActionIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionLoader
getActionLoader(File actionFile, Object contextID)
Gets the ActionLoader used to load the saved action.String
getSerializationID()
Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction.-
Methods inherited from class repast.simphony.scenario.AbstractDescriptorControllerActionIO
getActionSaver
-
Methods inherited from class repast.simphony.scenario.AbstractControllerActionIO
getActionClass
-
-
-
-
Method Detail
-
getSerializationID
public String getSerializationID()
Description copied from interface:ControllerActionIO
Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction. This id associates the saved action with this ControllerActionIO.- Specified by:
getSerializationID
in interfaceControllerActionIO
- Overrides:
getSerializationID
in classAbstractControllerActionIO<DisplayComponentControllerAction>
- Returns:
- the id for this ControllerActionIO to be used in loading and saving a ControllerAction
-
getActionLoader
public ActionLoader getActionLoader(File actionFile, Object contextID)
Description copied from interface:ControllerActionIO
Gets the ActionLoader used to load the saved action.- Parameters:
actionFile
- the File containing the serialized datacontextID
- the context the context to load the action into- Returns:
- the ActionLoader used to load the saved action.
-
-