DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class Color

java.lang.Object
  |
  +--com.cete.dynamicpdf.Color
Direct Known Subclasses:
CmykColor, Grayscale, RgbColor

public abstract class Color
extends java.lang.Object

Class provides the base class representing color.


Constructor Summary
protected Color()
          Initializes a new instance of the Color class.
 
Method Summary
abstract  void draw(PageWriter writer, Apply apply)
          Draws the color data to the given PageWriter object.
abstract  boolean equals(java.lang.Object obj)
          Tests equality of colors.
static RgbColor getAliceBlue()
          Gets the color alice blue.
static RgbColor getAntiqueWhite()
          Gets the color antique white.
static RgbColor getAqua()
          Gets the color aqua.
static RgbColor getAquamarine()
          Gets the color aquamarine.
static RgbColor getAzure()
          Gets the color azure.
static RgbColor getBeige()
          Gets the color beige.
static RgbColor getBisque()
          Gets the color bisque.
static Grayscale getBlack()
          Gets the color black.
static RgbColor getBlanchedAlmond()
          Gets the color blanched almond.
static RgbColor getBlue()
          Gets the color blue.
static RgbColor getBlueViolet()
           
static RgbColor getBrown()
          Gets the color brown.
static RgbColor getBurlyWood()
          Gets the color burly wood.
static RgbColor getCadetBlue()
          Gets the color cadet blue.
static RgbColor getChartreuse()
          Gets the color chartreuse.
static RgbColor getChocolate()
          Gets the color chocolate.
static RgbColor getCoral()
          Gets the color coral.
static RgbColor getCornflowerBlue()
          Gets the color cornflower blue.
static RgbColor getCornsilk()
          Gets the color cornsilk.
static RgbColor getCrimson()
          Gets the color crimson.
static CmykColor getCyan()
          Gets the color cyan.
static RgbColor getDarkBlue()
          Gets the color dark blue.
static RgbColor getDarkCyan()
          Gets the color dark cyan.
static RgbColor getDarkGoldenRod()
          Gets the color dark golden rod.
static Grayscale getDarkGray()
          Gets the color dark gray.
static RgbColor getDarkGreen()
          Gets the color dark green.
static RgbColor getDarkKhaki()
          Gets the color dark khaki.
static RgbColor getDarkMagenta()
          Gets the color dark magenta.
static RgbColor getDarkOliveGreen()
          Gets the color dark olive green.
static RgbColor getDarkorange()
          Gets the color dark orange.
static RgbColor getDarkOrchid()
          Gets the color dark orchid.
static RgbColor getDarkRed()
          Gets the color dark red.
static RgbColor getDarkSalmon()
          Gets the color dark salmon.
static RgbColor getDarkSeaGreen()
          Gets the color dark sea green.
static RgbColor getDarkSlateBlue()
          Gets the color dark slate blue.
static RgbColor getDarkSlateGray()
          Gets the color dark slate gray.
static RgbColor getDarkTurquoise()
          Gets the color dark turquoise.
static RgbColor getDarkViolet()
          Gets the color dark violet.
static RgbColor getDeepPink()
          Gets the color deep pink.
static RgbColor getDeepSkyBlue()
          Gets the color deep sky blue.
static Grayscale getDimGray()
          Gets the color dim gray.
static RgbColor getDodgerBlue()
          Gets the color dodger blue.
static RgbColor getFeldspar()
          Gets the color feldspar.
static RgbColor getFireBrick()
          Gets the color fire brick.
static RgbColor getFloralWhite()
          Gets the color floral white.
static RgbColor getForestGreen()
          Gets the color forest green.
static RgbColor getFuchsia()
          Gets the color fuchsia.
static RgbColor getGainsboro()
          Gets the color gainsboro.
static RgbColor getGhostWhite()
          Gets the color ghost white.
static RgbColor getGold()
          Gets the color gold.
static RgbColor getGoldenRod()
          Gets the color golden rod.
static Grayscale getGray()
          Gets the color gray.
static RgbColor getGreen()
           
static RgbColor getGreenYellow()
          Gets the color green yellow.
static RgbColor getHoneyDew()
          Gets the color honey dew.
static RgbColor getHotPink()
          Gets the color hot pink.
static RgbColor getIndianRed()
          Gets the color indian red.
static RgbColor getIndigo()
          Gets the color indigo.
static RgbColor getIvory()
          Gets the color ivory.
static RgbColor getKhaki()
          Gets the color khaki.
static RgbColor getLavender()
          Gets the color lavender.
static RgbColor getLavenderBlush()
          Gets the color lavender blush.
static RgbColor getLawnGreen()
          Gets the color lawn green.
static RgbColor getLemonChiffon()
          Gets the color lemon chiffon.
static RgbColor getLightBlue()
          Gets the color light blue.
static RgbColor getLightCoral()
          Gets the color light coral.
static RgbColor getLightCyan()
          Gets the color light cyan.
static RgbColor getLightGoldenRodYellow()
          Gets the color light golden rod yellow.
static RgbColor getLightGreen()
          Gets the color light green.
static RgbColor getLightGrey()
          Gets the color light grey.
static RgbColor getLightPink()
          Gets the color light pink.
static RgbColor getLightSalmon()
          Gets the color light salmon.
static RgbColor getLightSeaGreen()
          Gets the color light sea green.
static RgbColor getLightSkyBlue()
          Gets the color light sky blue.
static RgbColor getLightSlateBlue()
          Gets the color light slate blue.
static RgbColor getLightSlateGray()
          Gets the color light slate gray.
static RgbColor getLightSteelBlue()
          Gets the color light steel blue.
static RgbColor getLightYellow()
          Gets the color light yellow.
static RgbColor getLime()
          Gets the color lime.
static RgbColor getLimeGreen()
          Gets the color lime green.
static RgbColor getLinen()
          Gets the color linen.
static CmykColor getMagenta()
          Gets the color magenta.
static RgbColor getMaroon()
          Gets the color maroon.
static RgbColor getMediumAquaMarine()
          Gets the color medium aqua marine.
static RgbColor getMediumBlue()
          Gets the color medium blue.
static RgbColor getMediumOrchid()
          Gets the color medium orchid.
static RgbColor getMediumPurple()
          Gets the color medium purple.
static RgbColor getMediumSeaGreen()
          Gets the color medium sea green.
static RgbColor getMediumSlateBlue()
          Gets the color medium slate blue.
static RgbColor getMediumSpringGreen()
          Gets the color medium spring green.
static RgbColor getMediumTurquoise()
          Gets the color medium turquoise.
static RgbColor getMediumVioletRed()
          Gets the color medium violet red.
static RgbColor getMidnightBlue()
          Gets the color midnight blue.
static RgbColor getMintCream()
          Gets the color mint cream.
static RgbColor getMistyRose()
          Gets the color misty rose.
static RgbColor getMoccasin()
          Gets the color moccasin.
static RgbColor getNavajoWhite()
          Gets the color navajo white.
static RgbColor getNavy()
          Gets the color navy.
static RgbColor getOldLace()
          Gets the color old lace.
static RgbColor getOlive()
          Gets the color olive.
static RgbColor getOliveDrab()
          Gets the color olive drab.
static RgbColor getOrange()
          Gets the color orange.
static RgbColor getOrangeRed()
          Gets the color orange red.
static RgbColor getOrchid()
          Gets the color orchid.
static RgbColor getPaleGoldenRod()
          Gets the color pale golden rod.
static RgbColor getPaleGreen()
          Gets the color pale green.
static RgbColor getPaleTurquoise()
          Gets the color pale turquoise.
static RgbColor getPaleVioletRed()
          Gets the color pale violet red.
static RgbColor getPapayaWhip()
          Gets the color papaya whip.
static RgbColor getPeachPuff()
          Gets the color peach puff.
static RgbColor getPeru()
          Gets the color peru.
static RgbColor getPink()
          Gets the color pink.
static RgbColor getPlum()
          Gets the color plum.
static RgbColor getPowderBlue()
          Gets the color powder blue.
static RgbColor getPurple()
          Gets the color purple.
static RgbColor getRed()
          Gets the color red.
static RgbColor getRosyBrown()
          Gets the color rosy brown.
static RgbColor getRoyalBlue()
          Gets the color royal blue.
static RgbColor getSaddleBrown()
          Gets the color saddle brown.
static RgbColor getSalmon()
          Gets the color salmon.
static RgbColor getSandyBrown()
          Gets the color sandy brown.
static RgbColor getSeaGreen()
          Gets the color sea green.
static RgbColor getSeaShell()
          Gets the color sea shell.
static RgbColor getSienna()
          Gets the color sienna.
static Grayscale getSilver()
          Gets the color silver.
static RgbColor getSkyBlue()
          Gets the color sky blue.
static RgbColor getSlateBlue()
          Gets the color slate blue.
static RgbColor getSlateGray()
          Gets the color slate gray.
static RgbColor getSnow()
          Gets the color snow.
static RgbColor getSpringGreen()
          Gets the color spring green.
static RgbColor getSteelBlue()
          Gets the color steel blue.
static RgbColor getTan()
          Gets the color tan.
static RgbColor getTeal()
          Gets the color teal.
static RgbColor getThistle()
          Gets the color thistle.
static RgbColor getTomato()
          Gets the color tomato.
static RgbColor getTurquoise()
          Gets the color turquoise.
static RgbColor getViolet()
          Gets the color violet.
static RgbColor getVioletRed()
          Gets the color violet red.
static RgbColor getWheat()
          Gets the color wheat.
static Grayscale getWhite()
          Gets the color white.
static RgbColor getWhiteSmoke()
          Gets the color white smoke.
static CmykColor getYellow()
          Gets the color yellow.
static RgbColor getYellowGreen()
          Gets the color yellow green.
abstract  int hashCode()
          Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Color

protected Color()
Initializes a new instance of the Color class.

See Also:
Color
Method Detail

equals

public abstract boolean equals(java.lang.Object obj)
Tests equality of colors.

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object to compare to the current Color.
Returns:
true if the two colors are equal.

hashCode

public abstract int hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Overrides:
hashCode in class java.lang.Object
Returns:
A hash code for the current Color.

draw

public abstract void draw(PageWriter writer,
                          Apply apply)
Draws the color data to the given PageWriter object. for use in hashing algorithms and data structures like a hash table.

Parameters:
writer - PageWriter object to receive the color data.
apply - Defines how the color is applied.

getBlack

public static Grayscale getBlack()
Gets the color black.


getSilver

public static Grayscale getSilver()
Gets the color silver.


getDarkGray

public static Grayscale getDarkGray()
Gets the color dark gray.


getGray

public static Grayscale getGray()
Gets the color gray.


getDimGray

public static Grayscale getDimGray()
Gets the color dim gray.


getWhite

public static Grayscale getWhite()
Gets the color white.


getRed

public static RgbColor getRed()
Gets the color red.


getGreen

public static RgbColor getGreen()

getLime

public static RgbColor getLime()
Gets the color lime.


getAqua

public static RgbColor getAqua()
Gets the color aqua.


getPurple

public static RgbColor getPurple()
Gets the color purple.


getBlue

public static RgbColor getBlue()
Gets the color blue.


getCyan

public static CmykColor getCyan()
Gets the color cyan.


getMagenta

public static CmykColor getMagenta()
Gets the color magenta.


getYellow

public static CmykColor getYellow()
Gets the color yellow.


getAliceBlue

public static RgbColor getAliceBlue()
Gets the color alice blue.


getAntiqueWhite

public static RgbColor getAntiqueWhite()
Gets the color antique white.


getAquamarine

public static RgbColor getAquamarine()
Gets the color aquamarine.


getAzure

public static RgbColor getAzure()
Gets the color azure.


getBeige

public static RgbColor getBeige()
Gets the color beige.


getBisque

public static RgbColor getBisque()
Gets the color bisque.


getBlanchedAlmond

public static RgbColor getBlanchedAlmond()
Gets the color blanched almond.


getBlueViolet

public static RgbColor getBlueViolet()

getBrown

public static RgbColor getBrown()
Gets the color brown.


getBurlyWood

public static RgbColor getBurlyWood()
Gets the color burly wood.


getCadetBlue

public static RgbColor getCadetBlue()
Gets the color cadet blue.


getChartreuse

public static RgbColor getChartreuse()
Gets the color chartreuse.


getChocolate

public static RgbColor getChocolate()
Gets the color chocolate.


getCoral

public static RgbColor getCoral()
Gets the color coral.


getCornflowerBlue

public static RgbColor getCornflowerBlue()
Gets the color cornflower blue.


getCornsilk

public static RgbColor getCornsilk()
Gets the color cornsilk.


getCrimson

public static RgbColor getCrimson()
Gets the color crimson.


getDarkBlue

public static RgbColor getDarkBlue()
Gets the color dark blue.


getDarkCyan

public static RgbColor getDarkCyan()
Gets the color dark cyan.


getDarkGoldenRod

public static RgbColor getDarkGoldenRod()
Gets the color dark golden rod.


getDarkGreen

public static RgbColor getDarkGreen()
Gets the color dark green.


getDarkKhaki

public static RgbColor getDarkKhaki()
Gets the color dark khaki.


getDarkMagenta

public static RgbColor getDarkMagenta()
Gets the color dark magenta.


getDarkOliveGreen

public static RgbColor getDarkOliveGreen()
Gets the color dark olive green.


getDarkorange

public static RgbColor getDarkorange()
Gets the color dark orange.


getDarkOrchid

public static RgbColor getDarkOrchid()
Gets the color dark orchid.


getDarkRed

public static RgbColor getDarkRed()
Gets the color dark red.


getDarkSalmon

public static RgbColor getDarkSalmon()
Gets the color dark salmon.


getDarkSeaGreen

public static RgbColor getDarkSeaGreen()
Gets the color dark sea green.


getDarkSlateBlue

public static RgbColor getDarkSlateBlue()
Gets the color dark slate blue.


getDarkSlateGray

public static RgbColor getDarkSlateGray()
Gets the color dark slate gray.


getDarkTurquoise

public static RgbColor getDarkTurquoise()
Gets the color dark turquoise.


getDarkViolet

public static RgbColor getDarkViolet()
Gets the color dark violet.


getDeepPink

public static RgbColor getDeepPink()
Gets the color deep pink.


getDeepSkyBlue

public static RgbColor getDeepSkyBlue()
Gets the color deep sky blue.


getDodgerBlue

public static RgbColor getDodgerBlue()
Gets the color dodger blue.


getFeldspar

public static RgbColor getFeldspar()
Gets the color feldspar.


getFireBrick

public static RgbColor getFireBrick()
Gets the color fire brick.


getFloralWhite

public static RgbColor getFloralWhite()
Gets the color floral white.


getForestGreen

public static RgbColor getForestGreen()
Gets the color forest green.


getFuchsia

public static RgbColor getFuchsia()
Gets the color fuchsia.


getGainsboro

public static RgbColor getGainsboro()
Gets the color gainsboro.


getGhostWhite

public static RgbColor getGhostWhite()
Gets the color ghost white.


getGold

public static RgbColor getGold()
Gets the color gold.


getGoldenRod

public static RgbColor getGoldenRod()
Gets the color golden rod.


getGreenYellow

public static RgbColor getGreenYellow()
Gets the color green yellow.


getHoneyDew

public static RgbColor getHoneyDew()
Gets the color honey dew.


getHotPink

public static RgbColor getHotPink()
Gets the color hot pink.


getIndianRed

public static RgbColor getIndianRed()
Gets the color indian red.


getIndigo

public static RgbColor getIndigo()
Gets the color indigo.


getIvory

public static RgbColor getIvory()
Gets the color ivory.


getKhaki

public static RgbColor getKhaki()
Gets the color khaki.


getLavender

public static RgbColor getLavender()
Gets the color lavender.


getLavenderBlush

public static RgbColor getLavenderBlush()
Gets the color lavender blush.


getLawnGreen

public static RgbColor getLawnGreen()
Gets the color lawn green.


getLemonChiffon

public static RgbColor getLemonChiffon()
Gets the color lemon chiffon.


getLightBlue

public static RgbColor getLightBlue()
Gets the color light blue.


getLightCoral

public static RgbColor getLightCoral()
Gets the color light coral.


getLightCyan

public static RgbColor getLightCyan()
Gets the color light cyan.


getLightGoldenRodYellow

public static RgbColor getLightGoldenRodYellow()
Gets the color light golden rod yellow.


getLightGrey

public static RgbColor getLightGrey()
Gets the color light grey.


getLightGreen

public static RgbColor getLightGreen()
Gets the color light green.


getLightPink

public static RgbColor getLightPink()
Gets the color light pink.


getLightSalmon

public static RgbColor getLightSalmon()
Gets the color light salmon.


getLightSeaGreen

public static RgbColor getLightSeaGreen()
Gets the color light sea green.


getLightSkyBlue

public static RgbColor getLightSkyBlue()
Gets the color light sky blue.


getLightSlateBlue

public static RgbColor getLightSlateBlue()
Gets the color light slate blue.


getLightSlateGray

public static RgbColor getLightSlateGray()
Gets the color light slate gray.


getLightSteelBlue

public static RgbColor getLightSteelBlue()
Gets the color light steel blue.


getLightYellow

public static RgbColor getLightYellow()
Gets the color light yellow.


getLimeGreen

public static RgbColor getLimeGreen()
Gets the color lime green.


getLinen

public static RgbColor getLinen()
Gets the color linen.


getMaroon

public static RgbColor getMaroon()
Gets the color maroon.


getMediumAquaMarine

public static RgbColor getMediumAquaMarine()
Gets the color medium aqua marine.


getMediumBlue

public static RgbColor getMediumBlue()
Gets the color medium blue.


getMediumOrchid

public static RgbColor getMediumOrchid()
Gets the color medium orchid.


getMediumPurple

public static RgbColor getMediumPurple()
Gets the color medium purple.


getMediumSeaGreen

public static RgbColor getMediumSeaGreen()
Gets the color medium sea green.


getMediumSlateBlue

public static RgbColor getMediumSlateBlue()
Gets the color medium slate blue.


getMediumSpringGreen

public static RgbColor getMediumSpringGreen()
Gets the color medium spring green.


getMediumTurquoise

public static RgbColor getMediumTurquoise()
Gets the color medium turquoise.


getMediumVioletRed

public static RgbColor getMediumVioletRed()
Gets the color medium violet red.


getMidnightBlue

public static RgbColor getMidnightBlue()
Gets the color midnight blue.


getMintCream

public static RgbColor getMintCream()
Gets the color mint cream.


getMistyRose

public static RgbColor getMistyRose()
Gets the color misty rose.


getMoccasin

public static RgbColor getMoccasin()
Gets the color moccasin.


getNavajoWhite

public static RgbColor getNavajoWhite()
Gets the color navajo white.


getNavy

public static RgbColor getNavy()
Gets the color navy.


getOldLace

public static RgbColor getOldLace()
Gets the color old lace.


getOlive

public static RgbColor getOlive()
Gets the color olive.


getOliveDrab

public static RgbColor getOliveDrab()
Gets the color olive drab.


getOrange

public static RgbColor getOrange()
Gets the color orange.


getOrangeRed

public static RgbColor getOrangeRed()
Gets the color orange red.


getOrchid

public static RgbColor getOrchid()
Gets the color orchid.


getPaleGoldenRod

public static RgbColor getPaleGoldenRod()
Gets the color pale golden rod.


getPaleGreen

public static RgbColor getPaleGreen()
Gets the color pale green.


getPaleTurquoise

public static RgbColor getPaleTurquoise()
Gets the color pale turquoise.


getPaleVioletRed

public static RgbColor getPaleVioletRed()
Gets the color pale violet red.


getPapayaWhip

public static RgbColor getPapayaWhip()
Gets the color papaya whip.


getPeachPuff

public static RgbColor getPeachPuff()
Gets the color peach puff.


getPeru

public static RgbColor getPeru()
Gets the color peru.


getPink

public static RgbColor getPink()
Gets the color pink.


getPlum

public static RgbColor getPlum()
Gets the color plum.


getPowderBlue

public static RgbColor getPowderBlue()
Gets the color powder blue.


getRosyBrown

public static RgbColor getRosyBrown()
Gets the color rosy brown.


getRoyalBlue

public static RgbColor getRoyalBlue()
Gets the color royal blue.


getSaddleBrown

public static RgbColor getSaddleBrown()
Gets the color saddle brown.


getSalmon

public static RgbColor getSalmon()
Gets the color salmon.


getSandyBrown

public static RgbColor getSandyBrown()
Gets the color sandy brown.


getSeaGreen

public static RgbColor getSeaGreen()
Gets the color sea green.


getSeaShell

public static RgbColor getSeaShell()
Gets the color sea shell.


getSienna

public static RgbColor getSienna()
Gets the color sienna.


getSkyBlue

public static RgbColor getSkyBlue()
Gets the color sky blue.


getSlateBlue

public static RgbColor getSlateBlue()
Gets the color slate blue.


getSlateGray

public static RgbColor getSlateGray()
Gets the color slate gray.


getSnow

public static RgbColor getSnow()
Gets the color snow.


getSpringGreen

public static RgbColor getSpringGreen()
Gets the color spring green.


getSteelBlue

public static RgbColor getSteelBlue()
Gets the color steel blue.


getTan

public static RgbColor getTan()
Gets the color tan.


getTeal

public static RgbColor getTeal()
Gets the color teal.


getThistle

public static RgbColor getThistle()
Gets the color thistle.


getTomato

public static RgbColor getTomato()
Gets the color tomato.


getTurquoise

public static RgbColor getTurquoise()
Gets the color turquoise.


getViolet

public static RgbColor getViolet()
Gets the color violet.


getVioletRed

public static RgbColor getVioletRed()
Gets the color violet red.


getWheat

public static RgbColor getWheat()
Gets the color wheat.


getWhiteSmoke

public static RgbColor getWhiteSmoke()
Gets the color white smoke.


getYellowGreen

public static RgbColor getYellowGreen()
Gets the color yellow green.


DynamicPDF by ceTe Software

API Reference for DynamicPDF™ for Java generated on December 20, 2005
© Copyright 2005, ceTe Software