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

synchronized void edu::hws::jcm::draw::CoordinateRect::add ( Drawable  d  )  [inline]

Add a drawable item to the CoordinateRect.

Definition at line 693 of file CoordinateRect.java.

References drawItems.

Referenced by edu::hws::jcm::draw::DisplayCanvas::add().

                                            { 
      if (d != null && !drawItems.contains(d)) {
         d.setOwnerData(canvas,this);
         drawItems.addElement(d);
      }
   }


Generated by  Doxygen 1.6.0   Back to index