org.jfree.layouting.input.style.values

Class CSSColorValue

public class CSSColorValue extends Color implements CSSValue

Creation-Date: 23.11.2005, 12:01:04

Author: Thomas Morgner

Constructor Summary
CSSColorValue(int r, int g, int b, int a)
CSSColorValue(int rgba, boolean hasalpha)
CSSColorValue(float r, float g, float b, float a)
CSSColorValue(float r, float g, float b)
CSSColorValue(int r, int g, int b)
CSSColorValue(Color color)
Method Summary
StringgetCSSText()
StringtoString()
Returns a string representation of this Color.

Constructor Detail

CSSColorValue

public CSSColorValue(int r, int g, int b, int a)

CSSColorValue

public CSSColorValue(int rgba, boolean hasalpha)

CSSColorValue

public CSSColorValue(float r, float g, float b, float a)

CSSColorValue

public CSSColorValue(float r, float g, float b)

CSSColorValue

public CSSColorValue(int r, int g, int b)

CSSColorValue

public CSSColorValue(Color color)

Method Detail

getCSSText

public String getCSSText()

toString

public String toString()
Returns a string representation of this Color. This method is intended to be used only for debugging purposes. The content and format of the returned string might vary between implementations. The returned string might be empty but cannot be null.

Returns: a string representation of this Color.