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

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

When this is called, the CoordinateRect will call the compute method of any Drawable it contains that is also a Computable. This is ordinarly only called by a DisplayCanvas.

Implements edu::hws::jcm::awt::Computable.

Definition at line 670 of file CoordinateRect.java.

References drawItems.

                         {
      int ct = drawItems.size();
      for (int i = 0; i < ct; i++)
         if (drawItems.elementAt(i) instanceof Computable)
            ((Computable)drawItems.elementAt(i)).compute();
   }


Generated by  Doxygen 1.6.0   Back to index