示例#1
0
 /*! apply the inverse of this code page operator
  * \see edu.ksu.cis.util.graph.visualization.CodePageOperator::applyInverse(edu.ksu.cis.util.graph.visualization.CodePage)
  */
 public void applyInverse(CodePage CP) {
   CP.setActve(_oldindex);
 }
 /*! apply the inverse of this code page operator
  * \see edu.ksu.cis.util.graph.visualization.CodePageOperator::applyInverse(edu.ksu.cis.util.graph.visualization.CodePage)
  */
 public void applyInverse(CodePage CP) {
   CP.setLocal(_key, _oldvalue);
 }
示例#3
0
 /*! apply this code page operator
  * \see edu.ksu.cis.util.graph.visualization.CodePageOperator::apply(edu.ksu.cis.util.graph.visualization.CodePage)
  */
 public void apply(CodePage CP) {
   _currentPage = CP.getIndex();
   _oldindex = CP.getActive();
   CP.setActve(_newindex);
 }
 /*! apply this code page operator
  * \see edu.ksu.cis.util.graph.visualization.CodePageOperator::apply(edu.ksu.cis.util.graph.visualization.CodePage)
  */
 public void apply(CodePage CP) {
   _currentPage = CP.getIndex();
   _oldvalue = CP.getLocal(_key);
   CP.setLocal(_key, _value);
 }