com.mindbright.terminal.tandem6530
Class ColorMap

java.lang.Object
  extended bycom.mindbright.terminal.tandem6530.ColorMap

public class ColorMap
extends java.lang.Object


Field Summary
protected  byte[] defaultSource
           
protected  int[] map
           
protected  byte[] source
           
 
Constructor Summary
ColorMap()
           
 
Method Summary
protected  int[] makeMap(byte[] src)
           
 int map(int index)
           
protected  int mapByteToAttrib(byte b)
           
protected  int mapColor(boolean highIntensity, int color)
           
 java.lang.String read()
           
 void reset()
           
 void set(int startIndex, byte[] entries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultSource

protected byte[] defaultSource

source

protected byte[] source

map

protected int[] map
Constructor Detail

ColorMap

public ColorMap()
Method Detail

mapColor

protected int mapColor(boolean highIntensity,
                       int color)

mapByteToAttrib

protected int mapByteToAttrib(byte b)

makeMap

protected int[] makeMap(byte[] src)

set

public void set(int startIndex,
                byte[] entries)

reset

public void reset()

read

public java.lang.String read()

map

public int map(int index)