com.jstatcom.project
Interface ProjectStateHandler
-
- All Known Implementing Classes:
- ModelFrame, TSCalcFrame
public interface ProjectStateHandlerInterface to be implemented by classes that should save and restore their state from an instance ofProjectState. This interface is typically implemented byModelFramesubclasses that are the top-level components for modules.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetID()Gets the ID of this handler for this project state.ProjectStategetState()Gets the current state of the implementing class.voidsetState(ProjectState state)Sets the state of the implementing class according to thestateargument.
-
-
-
Method Detail
-
setState
void setState(ProjectState state)
Sets the state of the implementing class according to thestateargument.- Parameters:
state- project state instance holding all relevant information
-
getState
ProjectState getState()
Gets the current state of the implementing class.- Returns:
- project state
-
getID
java.lang.String getID()
Gets the ID of this handler for this project state. This is required by theProjectManagerto retrieve the handler instance from a deserializedProjectState.- Returns:
- fully identified class name of corresponding handler
-
-
DMelt 3.0 © DataMelt by jWork.ORG