org.apache.batik.css.value
Class DefaultSystemColorResolver.SystemColorWrapper

java.lang.Object
  |
  +--org.apache.batik.css.value.DefaultSystemColorResolver.SystemColorWrapper
All Implemented Interfaces:
SystemColorResolver.Color
Enclosing class:
DefaultSystemColorResolver

protected static class DefaultSystemColorResolver.SystemColorWrapper
extends java.lang.Object
implements SystemColorResolver.Color

To encapsulate a SystemColor.


Field Summary
protected  java.awt.SystemColor systemColor
          The wrapped color.
 
Constructor Summary
DefaultSystemColorResolver.SystemColorWrapper(java.awt.SystemColor c)
          Creates a new SystemColorWrapper.
 
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

systemColor

protected java.awt.SystemColor systemColor
The wrapped color.
Constructor Detail

DefaultSystemColorResolver.SystemColorWrapper

public DefaultSystemColorResolver.SystemColorWrapper(java.awt.SystemColor c)
Creates a new SystemColorWrapper.
Method Detail

getRed

public int getRed()
Returns the red component.
Specified by:
getRed in interface SystemColorResolver.Color

getGreen

public int getGreen()
Returns the green component.
Specified by:
getGreen in interface SystemColorResolver.Color

getBlue

public int getBlue()
Returns the blue component.
Specified by:
getBlue in interface SystemColorResolver.Color


Copyright © 2001 Apache Software Foundation. All Rights Reserved.