|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorDefinition
A representation of the model object 'Color Definition'. This type represents a color.
The following features are supported:
AttributePackage.getColorDefinition()
Method Summary | |
---|---|
ColorDefinition |
brighter()
NOTE: Manually written |
ColorDefinition |
copyInstance()
|
ColorDefinition |
darker()
NOTE: Manually written |
int |
getBlue()
Returns the value of the 'Blue' attribute. |
int |
getGreen()
Returns the value of the 'Green' attribute. |
int |
getRed()
Returns the value of the 'Red' attribute. |
int |
getTransparency()
Returns the value of the 'Transparency' attribute. |
void |
invert()
Inverts the existing color (XORed with 0xFF). |
boolean |
isSetBlue()
Returns whether the value of the ' Blue ' attribute is set. |
boolean |
isSetGreen()
Returns whether the value of the ' Green ' attribute is set. |
boolean |
isSetRed()
Returns whether the value of the ' Red ' attribute is set. |
boolean |
isSetTransparency()
Returns whether the value of the ' Transparency ' attribute is set. |
ColorDefinition |
opaque()
NOTE: Manually written |
void |
set(int iRed,
int iGreen,
int iBlue)
Convenience method to set all three components for the color. |
void |
set(int iRed,
int iGreen,
int iBlue,
int iAlpha)
Convenience method to set the three components as well as transparency for the color. |
void |
setBlue(int value)
Sets the value of the ' Blue ' attribute. |
void |
setGreen(int value)
Sets the value of the ' Green ' attribute. |
void |
setRed(int value)
Sets the value of the ' Red ' attribute. |
void |
setTransparency(int value)
Sets the value of the ' Transparency ' attribute. |
ColorDefinition |
translucent()
NOTE: Manually written |
ColorDefinition |
transparent()
NOTE: Manually written |
void |
unsetBlue()
Unsets the value of the ' Blue ' attribute. |
void |
unsetGreen()
Unsets the value of the ' Green ' attribute. |
void |
unsetRed()
Unsets the value of the ' Red ' attribute. |
void |
unsetTransparency()
Unsets the value of the ' Transparency ' attribute. |
Methods inherited from interface org.eclipse.birt.chart.model.attribute.Fill |
---|
getType, isSetType, setType, unsetType |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
int getTransparency()
isSetTransparency()
,
unsetTransparency()
,
setTransparency(int)
,
AttributePackage.getColorDefinition_Transparency()
void setTransparency(int value)
Transparency
' attribute.
Sets the transparency for the color.
value
- the new value of the 'Transparency' attribute.isSetTransparency()
,
unsetTransparency()
,
getTransparency()
void unsetTransparency()
Transparency
' attribute.
isSetTransparency()
,
getTransparency()
,
setTransparency(int)
boolean isSetTransparency()
Transparency
' attribute is set.
unsetTransparency()
,
getTransparency()
,
setTransparency(int)
int getRed()
isSetRed()
,
unsetRed()
,
setRed(int)
,
AttributePackage.getColorDefinition_Red()
void setRed(int value)
Red
' attribute.
Sets the 'Red' component for the
color.
value
- the new value of the 'Red' attribute.isSetRed()
,
unsetRed()
,
getRed()
void unsetRed()
Red
' attribute.
isSetRed()
,
getRed()
,
setRed(int)
boolean isSetRed()
Red
' attribute is set.
unsetRed()
,
getRed()
,
setRed(int)
int getBlue()
isSetBlue()
,
unsetBlue()
,
setBlue(int)
,
AttributePackage.getColorDefinition_Blue()
void setBlue(int value)
Blue
' attribute.
Sets the 'Blue' component for the
color.
value
- the new value of the 'Blue' attribute.isSetBlue()
,
unsetBlue()
,
getBlue()
void unsetBlue()
Blue
' attribute.
isSetBlue()
,
getBlue()
,
setBlue(int)
boolean isSetBlue()
Blue
' attribute is set.
unsetBlue()
,
getBlue()
,
setBlue(int)
int getGreen()
isSetGreen()
,
unsetGreen()
,
setGreen(int)
,
AttributePackage.getColorDefinition_Green()
void setGreen(int value)
Green
' attribute.
Sets the 'Green' component for the
color.
value
- the new value of the 'Green' attribute.isSetGreen()
,
unsetGreen()
,
getGreen()
void unsetGreen()
Green
' attribute.
isSetGreen()
,
getGreen()
,
setGreen(int)
boolean isSetGreen()
Green
' attribute is set.
unsetGreen()
,
getGreen()
,
setGreen(int)
void set(int iRed, int iGreen, int iBlue)
iRed
- iGreen
- iBlue
- void set(int iRed, int iGreen, int iBlue, int iAlpha)
iRed
- iGreen
- iBlue
- iAlpha
- ColorDefinition brighter()
ColorDefinition darker()
ColorDefinition translucent()
ColorDefinition opaque()
void invert()
ColorDefinition transparent()
ColorDefinition copyInstance()
copyInstance
in interface Fill
copyInstance
in interface IChartObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |