hicosim.components.plugins.vga
Class LookUpTable

java.lang.Object
  extended by hicosim.components.plugins.vga.LookUpTable

public class LookUpTable
extends java.lang.Object

Class to look up codes for colors and signs.

Author:
Michael Wager, 19th May 2009

Constructor Summary
LookUpTable()
           
 
Method Summary
static java.lang.String ALUT(int ascii_code)
          This method returns a String which represents a 8x8 Pixel-Sign.
static int CLUT(int code)
          This method returns the color for the given int value "code" as an integer array.
static void setUp()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookUpTable

public LookUpTable()
Method Detail

setUp

public static void setUp()

CLUT

public static int CLUT(int code)
This method returns the color for the given int value "code" as an integer array. "code" can be between 0 and 15, else return black.

Parameters:
code - - int
Returns:
Color - int array

ALUT

public static java.lang.String ALUT(int ascii_code)
This method returns a String which represents a 8x8 Pixel-Sign. This is needed to render 8x8 Signs/Letters.

Parameters:
ascii_code - - int
Returns:
- String