All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.util.ColorMap

java.lang.Object
   |
   +----CH.ifa.draw.util.ColorMap

public class ColorMap
extends Object
A map that is filled with some standard colors. The colors can be looked up by name or index.


Constructor Index

 o ColorMap()

Method Index

 o color(int)
 o color(String)
 o colorIndex(Color)
 o isTransparent(Color)
 o name(int)
 o size()

Constructors

 o ColorMap
 public ColorMap()

Methods

 o size
 public static int size()
 o color
 public static Color color(int index)
 o color
 public static Color color(String name)
 o name
 public static String name(int index)
 o colorIndex
 public static int colorIndex(Color color)
 o isTransparent
 public static boolean isTransparent(Color color)

All Packages  Class Hierarchy  This Package  Previous  Next  Index