コード例 #1
0
 /**
  * Setter method for the state.
  * Normally only called by classes implementing the State interface.
  * @param newState the new state of this context
  */
 public void setState(IStateMode newState)
 {
     myState = newState;
 }
コード例 #2
0
 /**
  * Setter method for the state.
  * Normally only called by classes implementing the State interface.
  * @param newState the new state of this context
  */
 public void setState(IStateMode newState)
 {
     myState = newState;
 }