TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.core.internal
Interface IDColor

All Superinterfaces:
IDObject, IDStringSerializable
All Known Implementing Classes:
DColor

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public interface IDColor
extends IDObject, IDStringSerializable

Provides an interface for the color object in JScrib document. The colors are described with the RGB codage. Each color component is implemented with an integer. For a compatibily with SWT just the values between 0-255 are used. If you don't use SWT you can implement you Color object on the entire integer range.


Method Summary
 int getBlue()
          Deprecated. Returns blue value.
 int getGreen()
          Deprecated. Returns green value.
 java.lang.String getID()
          Deprecated.  
 int getRed()
          Deprecated. Returns red value.
 void setBlue(int b)
          Deprecated. Sets the blue value to 'b'.
 void setGreen(int g)
          Deprecated. Sets the green value to 'g'.
 void setRed(int r)
          Deprecated. Sets the red value to 'r'.
 void setRGB(int r, int g, int b)
          Deprecated. Sets the RGB value.
 
Methods inherited from interface org.eclipse.tptp.platform.report.core.internal.IDStringSerializable
serializeFromString, serializeToString
 

Method Detail

getRed

int getRed()
Deprecated. 
Returns red value.


getGreen

int getGreen()
Deprecated. 
Returns green value.


getBlue

int getBlue()
Deprecated. 
Returns blue value.


setRed

void setRed(int r)
Deprecated. 
Sets the red value to 'r'.


setGreen

void setGreen(int g)
Deprecated. 
Sets the green value to 'g'.


setBlue

void setBlue(int b)
Deprecated. 
Sets the blue value to 'b'.


setRGB

void setRGB(int r,
            int g,
            int b)
Deprecated. 
Sets the RGB value.

Parameters:
r - red value
g - green value
b - blue value

getID

java.lang.String getID()
Deprecated. 
Returns:
the unique id of the color.

TPTP 4.5.0 Platform Project
Internal API Specification