def loadState(self, state):
        """Loads previously saved values to this component. 

        :param state: return value from `stateDict`
        :type state: dict
        """
        self._duration = state['duration']
        self._intensity = state['intensity']
        self._risefall = state['risefall']
Loads previously saved values to this component. 

        :param state: return value from `stateDict`
        :type state: dict