public class ColorMap extends Object
Constructor and Description |
---|
ColorMap()
Constructor takes no arguments.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor(int colorIndex)
Retrieve a mapped color as a Java Color from the color map.
|
MappedColor |
getMappedColor(int colorIndex)
Retrieve a mapped color from the color map.
|
static String |
getTag(int colorIndex)
Get a terse tag which describes which color a particular color index
represents.
|
void |
useBlackAndWhiteColorMap()
Change to the black&white color map.
|
void |
useDisplayColorMap()
Change to the display color map.
|
void |
useGrayscaleColorMap()
Change to the grayscale color map.
|
void |
usePrintColorMap()
Change to the print color map.
|
public static final int red
public static final int green
public static final int blue
public static final int cyan
public static final int magenta
public static final int yellow
public static final int orange
public static final int pink
public static final int white
public static final int lightGray
public static final int gray
public static final int darkGray
public static final int black
public static final int redAsGray
public static final int greenAsGray
public static final int blueAsGray
public static final int cyanAsGray
public static final int magentaAsGray
public static final int yellowAsGray
public static final int orangeAsGray
public static final int pinkAsGray
public static final int whiteAsGray
public static final int lightGrayAsGray
public static final int grayAsGray
public static final int darkGrayAsGray
public static final int blackAsGray
public static final int redInvisible
public static final int greenInvisible
public static final int blueInvisible
public static final int cyanInvisible
public static final int magentaInvisible
public static final int yellowInvisible
public static final int orangeInvisible
public static final int pinkInvisible
public static final int whiteInvisible
public static final int lightGrayInvisible
public static final int grayInvisible
public static final int darkGrayInvisible
public static final int blackInvisible
public static final String[] psColorTag
protected static final MappedColor displayRed
protected static final MappedColor printRed
protected static final MappedColor grayRed
protected static final MappedColor bwRed
protected static final MappedColor displayGreen
protected static final MappedColor printGreen
protected static final MappedColor grayGreen
protected static final MappedColor bwGreen
protected static final MappedColor displayBlue
protected static final MappedColor printBlue
protected static final MappedColor grayBlue
protected static final MappedColor bwBlue
protected static final MappedColor displayCyan
protected static final MappedColor printCyan
protected static final MappedColor grayCyan
protected static final MappedColor bwCyan
protected static final MappedColor displayMagenta
protected static final MappedColor printMagenta
protected static final MappedColor grayMagenta
protected static final MappedColor bwMagenta
protected static final MappedColor displayYellow
protected static final MappedColor printYellow
protected static final MappedColor grayYellow
protected static final MappedColor bwYellow
protected static final MappedColor displayOrange
protected static final MappedColor printOrange
protected static final MappedColor grayOrange
protected static final MappedColor bwOrange
protected static final MappedColor displayPink
protected static final MappedColor printPink
protected static final MappedColor grayPink
protected static final MappedColor bwPink
protected static final MappedColor displayWhite
protected static final MappedColor printWhite
protected static final MappedColor grayWhite
protected static final MappedColor bwWhite
protected static final MappedColor displayLightGray
protected static final MappedColor printLightGray
protected static final MappedColor grayLightGray
protected static final MappedColor bwLightGray
protected static final MappedColor displayGray
protected static final MappedColor printGray
protected static final MappedColor grayGray
protected static final MappedColor bwGray
protected static final MappedColor displayDarkGray
protected static final MappedColor printDarkGray
protected static final MappedColor grayDarkGray
protected static final MappedColor bwDarkGray
protected static final MappedColor displayBlack
protected static final MappedColor printBlack
protected static final MappedColor grayBlack
protected static final MappedColor bwBlack
protected static final MappedColor displayRedAsGray
protected static final MappedColor printRedAsGray
protected static final MappedColor grayRedAsGray
protected static final MappedColor bwRedAsGray
protected static final MappedColor displayGreenAsGray
protected static final MappedColor printGreenAsGray
protected static final MappedColor grayGreenAsGray
protected static final MappedColor bwGreenAsGray
protected static final MappedColor displayBlueAsGray
protected static final MappedColor printBlueAsGray
protected static final MappedColor grayBlueAsGray
protected static final MappedColor bwBlueAsGray
protected static final MappedColor displayCyanAsGray
protected static final MappedColor printCyanAsGray
protected static final MappedColor grayCyanAsGray
protected static final MappedColor bwCyanAsGray
protected static final MappedColor displayMagentaAsGray
protected static final MappedColor printMagentaAsGray
protected static final MappedColor grayMagentaAsGray
protected static final MappedColor bwMagentaAsGray
protected static final MappedColor displayYellowAsGray
protected static final MappedColor printYellowAsGray
protected static final MappedColor grayYellowAsGray
protected static final MappedColor bwYellowAsGray
protected static final MappedColor displayOrangeAsGray
protected static final MappedColor printOrangeAsGray
protected static final MappedColor grayOrangeAsGray
protected static final MappedColor bwOrangeAsGray
protected static final MappedColor displayPinkAsGray
protected static final MappedColor printPinkAsGray
protected static final MappedColor grayPinkAsGray
protected static final MappedColor bwPinkAsGray
protected static final MappedColor displayWhiteAsGray
protected static final MappedColor printWhiteAsGray
protected static final MappedColor grayWhiteAsGray
protected static final MappedColor bwWhiteAsGray
protected static final MappedColor displayLightGrayAsGray
protected static final MappedColor printLightGrayAsGray
protected static final MappedColor grayLightGrayAsGray
protected static final MappedColor bwLightGrayAsGray
protected static final MappedColor displayGrayAsGray
protected static final MappedColor printGrayAsGray
protected static final MappedColor grayGrayAsGray
protected static final MappedColor bwGrayAsGray
protected static final MappedColor displayDarkGrayAsGray
protected static final MappedColor printDarkGrayAsGray
protected static final MappedColor grayDarkGrayAsGray
protected static final MappedColor bwDarkGrayAsGray
protected static final MappedColor displayBlackAsGray
protected static final MappedColor printBlackAsGray
protected static final MappedColor grayBlackAsGray
protected static final MappedColor bwBlackAsGray
protected static final MappedColor displayRedInvisible
protected static final MappedColor printRedInvisible
protected static final MappedColor grayRedInvisible
protected static final MappedColor bwRedInvisible
protected static final MappedColor displayGreenInvisible
protected static final MappedColor printGreenInvisible
protected static final MappedColor grayGreenInvisible
protected static final MappedColor bwGreenInvisible
protected static final MappedColor displayBlueInvisible
protected static final MappedColor printBlueInvisible
protected static final MappedColor grayBlueInvisible
protected static final MappedColor bwBlueInvisible
protected static final MappedColor displayCyanInvisible
protected static final MappedColor printCyanInvisible
protected static final MappedColor grayCyanInvisible
protected static final MappedColor bwCyanInvisible
protected static final MappedColor displayMagentaInvisible
protected static final MappedColor printMagentaInvisible
protected static final MappedColor grayMagentaInvisible
protected static final MappedColor bwMagentaInvisible
protected static final MappedColor displayYellowInvisible
protected static final MappedColor printYellowInvisible
protected static final MappedColor grayYellowInvisible
protected static final MappedColor bwYellowInvisible
protected static final MappedColor displayOrangeInvisible
protected static final MappedColor printOrangeInvisible
protected static final MappedColor grayOrangeInvisible
protected static final MappedColor bwOrangeInvisible
protected static final MappedColor displayPinkInvisible
protected static final MappedColor printPinkInvisible
protected static final MappedColor grayPinkInvisible
protected static final MappedColor bwPinkInvisible
protected static final MappedColor displayWhiteInvisible
protected static final MappedColor printWhiteInvisible
protected static final MappedColor grayWhiteInvisible
protected static final MappedColor bwWhiteInvisible
protected static final MappedColor displayLightGrayInvisible
protected static final MappedColor printLightGrayInvisible
protected static final MappedColor grayLightGrayInvisible
protected static final MappedColor bwLightGrayInvisible
protected static final MappedColor displayGrayInvisible
protected static final MappedColor printGrayInvisible
protected static final MappedColor grayGrayInvisible
protected static final MappedColor bwGrayInvisible
protected static final MappedColor displayDarkGrayInvisible
protected static final MappedColor printDarkGrayInvisible
protected static final MappedColor grayDarkGrayInvisible
protected static final MappedColor bwDarkGrayInvisible
protected static final MappedColor displayBlackInvisible
protected static final MappedColor printBlackInvisible
protected static final MappedColor grayBlackInvisible
protected static final MappedColor bwBlackInvisible
protected static final MappedColor[] displayMap
protected static final MappedColor[] printMap
protected static final MappedColor[] grayMap
protected static final MappedColor[] bwMap
protected MappedColor[] currentColorMap
public ColorMap()
public void useDisplayColorMap()
public void usePrintColorMap()
public void useGrayscaleColorMap()
public void useBlackAndWhiteColorMap()
public MappedColor getMappedColor(int colorIndex)
public Color getColor(int colorIndex)
public static String getTag(int colorIndex)
Copyright © 2014. All rights reserved.