| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisidia.misc.colorpalette.ColorPalette
public class ColorPalette
ColorPalette is the base class for manipulating color palettes.
| Field Summary | |
|---|---|
| protected  java.util.Hashtable<java.lang.Object,java.awt.Color> | tableThe table. | 
| Constructor Summary | |
|---|---|
| protected  | ColorPalette()Instantiates a new color palette. | 
| Method Summary | |
|---|---|
|  java.awt.Color | getColor(java.lang.Object key)Gets the color associated to key. | 
|  java.util.Enumeration<java.lang.Object> | keys()Gets the keys. | 
|  int | size()Returns the number of colors in current palette. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.util.Hashtable<java.lang.Object,java.awt.Color> table
| Constructor Detail | 
|---|
protected ColorPalette()
| Method Detail | 
|---|
public java.awt.Color getColor(java.lang.Object key)
key - the key
public java.util.Enumeration<java.lang.Object> keys()
public int size()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||