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

void edu::hws::jcm::draw::DraggablePoint::setGhostColor ( Color  c  )  [inline]

Set the ghoseColor to be used for drawing the point when it location is undefined or is outside the proper limits. If the specified Color value is null, then nothing is done.

Definition at line 244 of file DraggablePoint.java.

References edu::hws::jcm::draw::Drawable::needsRedraw().

Referenced by DraggablePoint().

                                      {
      if (c != null) {
         ghostColor = c;
         needsRedraw();
      }
   }


Generated by  Doxygen 1.6.0   Back to index