javax.swing
Class ColorTracker

java.lang.Object
  extended byjavax.swing.ColorTracker
All Implemented Interfaces:
ActionListener, EventListener, Serializable

class ColorTracker
extends Object
implements ActionListener, Serializable


Field Summary
(package private)  JColorChooser chooser
           
(package private)  Color color
           
 
Constructor Summary
ColorTracker(JColorChooser c)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Invoked when an action occurs.
 Color getColor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chooser

JColorChooser chooser

color

Color color
Constructor Detail

ColorTracker

public ColorTracker(JColorChooser c)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Description copied from interface: ActionListener
Invoked when an action occurs.

Specified by:
actionPerformed in interface ActionListener

getColor

public Color getColor()