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

Drawable edu::hws::jcm::draw::CoordinateRect::getDrawable ( int  i  )  [inline]

Get the i-th Drawable in this Rect, or null if i is less than zero or greater than or equal to the number of items.

i The number of the item to be returned, where the first item is number zero.

Definition at line 722 of file CoordinateRect.java.

References drawItems.

      if (drawItems != null && i >= 0 && i < drawItems.size())
         return (Drawable)drawItems.elementAt(i);
         return null;

Generated by  Doxygen 1.6.0   Back to index