Interface ColorDef

All Superinterfaces:
Color, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
AutoColor, PlatformColor
All Known Implementing Classes:
AutoColorImpl, ColorDefImpl, PlatformColorImpl

public interface ColorDef extends Color
A representation of the model object 'Color Def'.

The following features are supported:

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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
    int
    red()
    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.

    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 Details

    • getRed

      int getRed()
      Returns the value of the 'Red' attribute.
      Returns:
      the value of the 'Red' attribute.
      See Also:
    • setRed

      void setRed(int value)
      Sets the value of the 'Red' attribute.
      Parameters:
      value - the new value of the 'Red' attribute.
      See Also:
    • getGreen

      int getGreen()
      Returns the value of the 'Green' attribute.
      Returns:
      the value of the 'Green' attribute.
      See Also:
    • setGreen

      void setGreen(int value)
      Sets the value of the 'Green' attribute.
      Parameters:
      value - the new value of the 'Green' attribute.
      See Also:
    • getBlue

      int getBlue()
      Returns the value of the 'Blue' attribute.
      Returns:
      the value of the 'Blue' attribute.
      See Also:
    • setBlue

      void setBlue(int value)
      Sets the value of the 'Blue' attribute.
      Parameters:
      value - the new value of the 'Blue' attribute.
      See Also:
    • red

      int red()
      Specified by:
      red in interface Color
    • green

      int green()
      Specified by:
      green in interface Color
    • blue

      int blue()
      Specified by:
      blue in interface Color
    • compositeId

      CompositeId compositeId()
      Specified by:
      compositeId in interface Color