public void setCurrentScreenState ( WorkFlowScreenState state ) { /*log.fine("void setCurrentScreenState(WorkFlowScreenState): called");*/ WorkFlowScreenState oldState = currentScreenState ; // Keep the new state. currentScreenState = state ; // Notify all listeners of the change of current screen. firePropertyChange ( new PropertyChangeEvent ( this , "currentScreenState" , oldState , state ) ) ; }
Sets the new current screen state and notifies all listeners of the change in screen state .