|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
public int getTransparency()
isSetTransparency()
,
unsetTransparency()
,
setTransparency(int)
,
AttributePackage.getColorDefinition_Transparency()
public void setTransparency(int value)
Transparency
' attribute.
Sets the transparency for the color.
value
- the new value of the 'Transparency' attribute.isSetTransparency()
,
unsetTransparency()
,
getTransparency()
public void unsetTransparency()
Transparency
' attribute.
isSetTransparency()
,
getTransparency()
,
setTransparency(int)
public boolean isSetTransparency()
Transparency
' attribute is set.
unsetTransparency()
,
getTransparency()
,
setTransparency(int)
public int getRed()
isSetRed()
,
unsetRed()
,
setRed(int)
,
AttributePackage.getColorDefinition_Red()
public void setRed(int value)
Red
' attribute.
Sets the 'Red' component for the
color.
value
- the new value of the 'Red' attribute.isSetRed()
,
unsetRed()
,
getRed()
public void unsetRed()
Red
' attribute.
isSetRed()
,
getRed()
,
setRed(int)
public boolean isSetRed()
Red
' attribute is set.
unsetRed()
,
getRed()
,
setRed(int)
public int getBlue()
isSetBlue()
,
unsetBlue()
,
setBlue(int)
,
AttributePackage.getColorDefinition_Blue()
public void setBlue(int value)
Blue
' attribute.
Sets the 'Blue' component for the
color.
value
- the new value of the 'Blue' attribute.isSetBlue()
,
unsetBlue()
,
getBlue()
public void unsetBlue()
Blue
' attribute.
isSetBlue()
,
getBlue()
,
setBlue(int)
public boolean isSetBlue()
Blue
' attribute is set.
unsetBlue()
,
getBlue()
,
setBlue(int)
public int getGreen()
isSetGreen()
,
unsetGreen()
,
setGreen(int)
,
AttributePackage.getColorDefinition_Green()
public void setGreen(int value)
Green
' attribute.
Sets the 'Green' component for the
color.
value
- the new value of the 'Green' attribute.isSetGreen()
,
unsetGreen()
,
getGreen()
public void unsetGreen()
Green
' attribute.
isSetGreen()
,
getGreen()
,
setGreen(int)
public boolean isSetGreen()
Green
' attribute is set.
unsetGreen()
,
getGreen()
,
setGreen(int)
public void set(int iRed, int iGreen, int iBlue)
iRed
- iGreen
- iBlue
- public void set(int iRed, int iGreen, int iBlue, int iAlpha)
iRed
- iGreen
- iBlue
- iAlpha
- public ColorDefinition brighter()
public ColorDefinition darker()
public ColorDefinition translucent()
public ColorDefinition opaque()
public void invert()
public ColorDefinition transparent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |