org.apache.batik.css.value
Class CommonCSSContext.Color

java.lang.Object
  |
  +--org.apache.batik.css.value.CommonCSSContext.Color
Enclosing class:
CommonCSSContext

public static class CommonCSSContext.Color
extends java.lang.Object

To Store a CSS RGB color.


Field Summary
protected  int blue
          The blue component.
protected  int green
          The green component.
protected  int red
          The red component.
 
Constructor Summary
CommonCSSContext.Color(int red, int green, int blue)
          Creates a new color.
 
Method Summary
 int getBlue()
          Returns the blue component.
 int getGreen()
          Returns the green component.
 int getRed()
          Returns the red component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

red

protected int red
The red component.

green

protected int green
The green component.

blue

protected int blue
The blue component.
Constructor Detail

CommonCSSContext.Color

public CommonCSSContext.Color(int red,
                              int green,
                              int blue)
Creates a new color.
Method Detail

getRed

public int getRed()
Returns the red component.

getGreen

public int getGreen()
Returns the green component.

getBlue

public int getBlue()
Returns the blue component.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.