|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IColorFormat
Represents a color used in a presentation.
Method Summary | |
---|---|
void |
copyFrom(IColorFormat color)
Copy color format from "color". |
byte |
getB()
Returns or sets the blue component of a color. |
java.awt.Color |
getColor()
Returns resulting color (with all color transformations applied). |
IColorOperationCollection |
getColorTransform()
Returns the collection of color transformations applied to a color. |
int |
getColorType()
Returns or sets the color definition method. |
float |
getFloatB()
Returns or sets the blue component of a color. |
float |
getFloatG()
Returns or sets the green component of a color. |
float |
getFloatR()
Returns or sets the red component of a color. |
byte |
getG()
Returns or sets the green component of a color. |
float |
getHue()
Returns or sets the hue component of a color in HSL representation. |
float |
getLuminance()
Returns or sets the luminance component of a color in HSL representation. |
int |
getPresetColor()
Returns or sets the color preset. |
byte |
getR()
Returns or sets the red component of a color. |
float |
getSaturation()
Returns or sets the saturation component of a color in HSL representation. |
int |
getSchemeColor()
Returns or sets the color identified by a color scheme. |
int |
getSystemColor()
Returns or sets the color identified by the system color table. |
void |
setB(byte value)
Returns or sets the blue component of a color. |
void |
setColor(java.awt.Color value)
Returns resulting color (with all color transformations applied). |
void |
setColorType(int value)
Returns or sets the color definition method. |
void |
setFloatB(float value)
Returns or sets the blue component of a color. |
void |
setFloatG(float value)
Returns or sets the green component of a color. |
void |
setFloatR(float value)
Returns or sets the red component of a color. |
void |
setG(byte value)
Returns or sets the green component of a color. |
void |
setHue(float value)
Returns or sets the hue component of a color in HSL representation. |
void |
setLuminance(float value)
Returns or sets the luminance component of a color in HSL representation. |
void |
setPresetColor(int value)
Returns or sets the color preset. |
void |
setR(byte value)
Returns or sets the red component of a color. |
void |
setSaturation(float value)
Returns or sets the saturation component of a color in HSL representation. |
void |
setSchemeColor(int value)
Returns or sets the color identified by a color scheme. |
void |
setSystemColor(int value)
Returns or sets the color identified by the system color table. |
java.lang.String |
toString(int format)
Returns a string that represents the current color format. |
Method Detail |
---|
int getColorType()
Returns or sets the color definition method.
Read/write ColorType
.
void setColorType(int value)
Returns or sets the color definition method.
Read/write ColorType
.
java.awt.Color getColor()
Returns resulting color (with all color transformations applied).
Sets RGB colors and clears all color transformations.
Read/write Color
.
void setColor(java.awt.Color value)
Returns resulting color (with all color transformations applied).
Sets RGB colors and clears all color transformations.
Read/write Color
.
int getPresetColor()
Returns or sets the color preset.
Read/write PresetColor
.
void setPresetColor(int value)
Returns or sets the color preset.
Read/write PresetColor
.
int getSystemColor()
Returns or sets the color identified by the system color table.
Read/write SystemColor
.
void setSystemColor(int value)
Returns or sets the color identified by the system color table.
Read/write SystemColor
.
int getSchemeColor()
Returns or sets the color identified by a color scheme.
Read/write SchemeColor
.
void setSchemeColor(int value)
Returns or sets the color identified by a color scheme.
Read/write SchemeColor
.
byte getR()
Returns or sets the red component of a color. All color transformations are ignored.
Read/write byte
.
void setR(byte value)
Returns or sets the red component of a color. All color transformations are ignored.
Read/write byte
.
byte getG()
Returns or sets the green component of a color. All color transformations are ignored.
Read/write byte
.
void setG(byte value)
Returns or sets the green component of a color. All color transformations are ignored.
Read/write byte
.
byte getB()
Returns or sets the blue component of a color. All color transformations are ignored.
Read/write byte
.
void setB(byte value)
Returns or sets the blue component of a color. All color transformations are ignored.
Read/write byte
.
float getFloatR()
Returns or sets the red component of a color. All color transformations are ignored.
Read/write float
.
void setFloatR(float value)
Returns or sets the red component of a color. All color transformations are ignored.
Read/write float
.
float getFloatG()
Returns or sets the green component of a color. All color transformations are ignored.
Read/write float
.
void setFloatG(float value)
Returns or sets the green component of a color. All color transformations are ignored.
Read/write float
.
float getFloatB()
Returns or sets the blue component of a color. All color transformations are ignored.
Read/write float
.
void setFloatB(float value)
Returns or sets the blue component of a color. All color transformations are ignored.
Read/write float
.
float getHue()
Returns or sets the hue component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
void setHue(float value)
Returns or sets the hue component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
float getSaturation()
Returns or sets the saturation component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
void setSaturation(float value)
Returns or sets the saturation component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
float getLuminance()
Returns or sets the luminance component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
void setLuminance(float value)
Returns or sets the luminance component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
IColorOperationCollection getColorTransform()
Returns the collection of color transformations applied to a color.
Read-only IColorOperationCollection
.
java.lang.String toString(int format)
Returns a string
that represents the current color format.
format
- A type of color string format.
void copyFrom(IColorFormat color)
Copy color format from "color".
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |