Package repast.simphony.scenario
Interface ControllerActionIO
- All Known Implementing Classes:
AbstractControllerActionIO
,AbstractDescriptorControllerActionIO
,BuilderDataLoaderControllerActionIO
,CNDataLoaderControllerActionIO
,ConsoleSinkControllerActionIO
,ContextXMLDataLoaderControllerActionIO
,DataSetControllerActionIO
,DefaultControllerActionIO
,DelimitedFileFreezerActionIO
,DFDataLoaderControllerActionIO
,DisplayControllerActionIO
,FileSinkControllerActionIO
,HistogramControllerActionIO
,JDBCDataLoaderControllerActionIO
,JDBCFreezerActionIO
,MIContextXMLDataLoaderControllerActionIO
,TimeSeriesControllerActionIO
,UserPanelControllerActionIO
,XMLDataLoaderControllerActionIO
public interface ControllerActionIO
Provides
ActionSaver
and ActionLoader
classes for saving and loading
a ControllerAction.- Version:
- $Revision: 1.1 $ $Date: 2006/01/06 22:11:55 $
- Author:
- Nick Collier
-
Method Summary
Modifier and TypeMethodDescriptionGets the Class of the ControllerAction that this ControllerActionIO can save and load.getActionLoader
(File actionFile, Object contextID) Gets the ActionLoader used to load the saved action.Gets the ActionSaver used to save the ControllerAction.Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction.
-
Method Details
-
getActionClass
Class getActionClass()Gets the Class of the ControllerAction that this ControllerActionIO can save and load.- Returns:
- the Class of the ControllerAction that this ControllerActionIO can save and load.
-
getSerializationID
String getSerializationID()Gets the id for this ControllerActionIO to be used in loading and saving a ControllerAction. This id associates the saved action with this ControllerActionIO.- Returns:
- the id for this ControllerActionIO to be used in loading and saving a ControllerAction
-
getActionSaver
ActionSaver getActionSaver()Gets the ActionSaver used to save the ControllerAction.- Returns:
- the ActionSaver used to save the ControllerAction.
-
getActionLoader
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.
-