Logo Search packages:      
Sourcecode: wims version File versions  Download package

void edu::hws::jcm::draw::CoordinateRect::setRestoreBuffer (  )  [inline]

Save current limits in buffer. They can be restored later by a call to the restore() method. Only one level of save/restore is provided.

Definition at line 483 of file CoordinateRect.java.

References badData().

Referenced by edu::hws::jcm::draw::LimitControlPanel::actionPerformed(), CoordinateRect(), and EpsilonDelta::doLoadExample().

                                  {  
      if (badData())
         return;
      checkLimits();
      restore_xmin = xmin;
      restore_xmax = xmax;
      restore_ymin = ymin;
      restore_ymax = ymax;
   }


Generated by  Doxygen 1.6.0   Back to index