BioLegato 0.7.5 GDE plugin

org.biolegato.gdesupport.data
Class ColourMask

java.lang.Object
  extended by org.biolegato.gdesupport.data.ColourMask

public final class ColourMask
extends java.lang.Object

Author:
alvare

Nested Class Summary
static class ColourMask.MaskType
           
 
Field Summary
static java.awt.Color FOREG
          The current default FOREG colour of normal unselected text
static int HASH_SIZE
          The functional maximum size of the hashtable.
 
Constructor Summary
ColourMask(ColourMask.MaskType type, java.lang.String name, java.awt.Color[] colours)
           
 
Method Summary
 void drawString(java.awt.Graphics gfx, char[] array, int xstart, int y, int start, int end)
           
static int hash(char test)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FOREG

public static final java.awt.Color FOREG
The current default FOREG colour of normal unselected text


HASH_SIZE

public static final int HASH_SIZE
The functional maximum size of the hashtable.

See Also:
Constant Field Values
Constructor Detail

ColourMask

public ColourMask(ColourMask.MaskType type,
                  java.lang.String name,
                  java.awt.Color[] colours)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

drawString

public void drawString(java.awt.Graphics gfx,
                       char[] array,
                       int xstart,
                       int y,
                       int start,
                       int end)

hash

public static int hash(char test)

BioLegato 0.7.5 GDE plugin

Copyright © 2008-2011 University of Manitoba.