edu.stanford.hci.r3.actions.types.graphicscommands
Class SetColorCommand

java.lang.Object
  extended by edu.stanford.hci.r3.actions.types.graphicscommands.SetColorCommand
All Implemented Interfaces:
GraphicsCommand

public class SetColorCommand
extends java.lang.Object
implements GraphicsCommand

This software is distributed under the BSD License.


Constructor Summary
SetColorCommand(java.awt.Color c)
           
 
Method Summary
 void invoke(java.awt.Graphics2D g2d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetColorCommand

public SetColorCommand(java.awt.Color c)
Parameters:
c -
Method Detail

invoke

public void invoke(java.awt.Graphics2D g2d)
Specified by:
invoke in interface GraphicsCommand
See Also:
GraphicsCommand.invoke(java.awt.Graphics2D)

Copyright 2006 Stanford University