public class TLcdDGNColorTable extends Object implements Serializable
Constructor and Description |
---|
TLcdDGNColorTable()
Creates a new TLcdDGNColorTable with the default colors.
|
TLcdDGNColorTable(Color[] aColors,
String aFilename)
Creates a new TLcdDGNColorTable with the given colors and the given file
name.
|
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor() |
Color |
getColor(int aIndex) |
String |
getFilename() |
public TLcdDGNColorTable()
public TLcdDGNColorTable(Color[] aColors, String aFilename)
aColors
- an array containing 256 Color objects. The background color
is specified last.aFilename
- the file name from which the colors originate.