br.usp.iterador.model
Class PaintColor

java.lang.Object
  extended by br.usp.iterador.model.PaintColor

public class PaintColor
extends java.lang.Object

Color painter

Author:
Guilherme Silveira

Constructor Summary
PaintColor()
           
 
Method Summary
 void change(java.awt.Color color)
          Changes the color
 void change(double r, double g, double b)
          Changes the color using r,g,b
 java.awt.Color getColor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaintColor

public PaintColor()
Method Detail

getColor

public java.awt.Color getColor()

change

public void change(double r,
                   double g,
                   double b)
Changes the color using r,g,b

Parameters:
r -
g -
b -

change

public void change(java.awt.Color color)
Changes the color

Parameters:
color -


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.