anl.aida.palette
Class PaletteCreator

java.lang.Object
  extended by anl.aida.palette.PaletteCreator

public class PaletteCreator
extends java.lang.Object

Creates palettes that match those of the PAVE application.

Version:
$Revision$ $Date$

Field Summary
(package private) static int[] greymap
           
(package private) static int[] jetmap
           
(package private) static int[] newtonmap
           
 
Constructor Summary
PaletteCreator()
           
 
Method Summary
private  Palette createPalette(int[] map, int classes, java.lang.String description)
           
 java.util.List<Palette> createPalettes(int classes)
          Creates pave style palettes for the specified number of classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newtonmap

static int[] newtonmap

jetmap

static int[] jetmap

greymap

static int[] greymap
Constructor Detail

PaletteCreator

public PaletteCreator()
Method Detail

createPalettes

public java.util.List<Palette> createPalettes(int classes)
Creates pave style palettes for the specified number of classes.

Parameters:
classes - the number of classes (tiles) in the palette
Returns:
the created palettes.

createPalette

private Palette createPalette(int[] map,
                              int classes,
                              java.lang.String description)