com.mindbright.terminal.tandem6530
Class ColorMap
java.lang.Object
com.mindbright.terminal.tandem6530.ColorMap
- public class ColorMap
- extends java.lang.Object
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 |
defaultSource
protected byte[] defaultSource
source
protected byte[] source
map
protected int[] map
ColorMap
public ColorMap()
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)