edu.umd.cs.piccolo.activities
Interface PColorActivity.Target

Enclosing class:
PColorActivity

public static interface PColorActivity.Target

Target Objects that want their color to be set by the color activity must implement this interface.


Method Summary
 java.awt.Color getColor()
          This method is called right before the color activity starts.
 void setColor(java.awt.Color color)
          This will be called by the color activity for each new interpolated color that it computes while it is stepping.
 

Method Detail

setColor

void setColor(java.awt.Color color)
This will be called by the color activity for each new interpolated color that it computes while it is stepping.


getColor

java.awt.Color getColor()
This method is called right before the color activity starts. That way an object's color is always animated from its current color the the destination color that is specified in the color activity.



Copyright 2005 by University of Maryland, College Park, MD 20742, USA All rights reserved.

Web Accessibility