Interface ColorDefinition

All Superinterfaces:
org.eclipse.emf.ecore.EObject, Fill, IChartObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
ColorDefinitionImpl

public interface ColorDefinition extends Fill
A representation of the model object 'Color Definition'. ColorDefinition extends the type Fill to devote itself to representing a ARGB color.

The following features are supported:

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    NOTE: Manually written
     
    NOTE: Manually written
    int
    Returns the value of the 'Blue' attribute.
    int
    Returns the value of the 'Green' attribute.
    int
    Returns the value of the 'Red' attribute.
    int
    Returns the value of the 'Transparency' attribute.
    void
    Inverts the existing color (XORed with 0xFF).
    boolean
    Returns whether the value of the 'Blue' attribute is set.
    boolean
    Returns whether the value of the 'Green' attribute is set.
    boolean
    Returns whether the value of the 'Red' attribute is set.
    boolean
    Returns whether the value of the 'Transparency' attribute is set.
    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.
    NOTE: Manually written
    NOTE: Manually written
    void
    Unsets the value of the 'Blue' attribute.
    void
    Unsets the value of the 'Green' attribute.
    void
    Unsets the value of the 'Red' attribute.
    void
    Unsets the value of the 'Transparency' attribute.

    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.birt.chart.model.attribute.Fill

    getType, isSetType, setType, unsetType

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver