Documentation of 'com.jstatcom.project.ProjectStateHandler' Java class
ProjectStateHandler
com.jstatcom.project

Interface ProjectStateHandler

  • All Known Implementing Classes:
    ModelFrame, TSCalcFrame


    public interface ProjectStateHandler
    Interface to be implemented by classes that should save and restore their state from an instance of ProjectState. This interface is typically implemented by ModelFrame subclasses that are the top-level components for modules.
    • Method Detail

      • setState

        void setState(ProjectState state)
        Sets the state of the implementing class according to the state argument.
        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 the ProjectManager to retrieve the handler instance from a deserialized ProjectState.
        Returns:
        fully identified class name of corresponding handler

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.