protected void newCommandedState(int s){
  if (_commandedState != s) {
    int oldState=_commandedState;
    _commandedState=s;
    firePropertyChange("CommandedState",Integer.valueOf(oldState),Integer.valueOf(_commandedState));
  }
}

protected void newCommandedState ( int s ) { if ( _commandedState != s ) { int oldState = _commandedState ; _commandedState = s ; firePropertyChange ( "CommandedState" , Integer . valueOf ( oldState ) , Integer . valueOf ( _commandedState ) ) ; } }
sets a new commanded state , if need be notifying the listeners , but does not send the command downstream . this is used when a new commanded state is noticed from another command .
