org.eclipse.graphiti.mm.algorithms.styles.impl
Class ColorImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.graphiti.mm.algorithms.styles.impl.ColorImpl
All Implemented Interfaces:
Color

public class ColorImpl
extends EObjectImpl
implements Color

An implementation of the model object 'Color'.

The following features are implemented:


Field Summary
protected  int blue
          The cached value of the 'Blue' attribute.
protected static int BLUE_EDEFAULT
          The default value of the 'Blue' attribute.
protected  int green
          The cached value of the 'Green' attribute.
protected static int GREEN_EDEFAULT
          The default value of the 'Green' attribute.
protected  int red
          The cached value of the 'Red' attribute.
protected static int RED_EDEFAULT
          The default value of the 'Red' attribute.
 
Constructor Summary
protected ColorImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getBlue()
           
 int getGreen()
           
 int getRed()
           
 void setBlue(int newBlue)
           
 void setGreen(int newGreen)
           
 void setRed(int newRed)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RED_EDEFAULT

protected static final int RED_EDEFAULT
The default value of the 'Red' attribute.

See Also:
getRed(), Constant Field Values

red

protected int red
The cached value of the 'Red' attribute.

See Also:
getRed()

GREEN_EDEFAULT

protected static final int GREEN_EDEFAULT
The default value of the 'Green' attribute.

See Also:
getGreen(), Constant Field Values

green

protected int green
The cached value of the 'Green' attribute.

See Also:
getGreen()

BLUE_EDEFAULT

protected static final int BLUE_EDEFAULT
The default value of the 'Blue' attribute.

See Also:
getBlue(), Constant Field Values

blue

protected int blue
The cached value of the 'Blue' attribute.

See Also:
getBlue()
Constructor Detail

ColorImpl

protected ColorImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getRed

public int getRed()

Specified by:
getRed in interface Color
Returns:
the value of the 'Red' attribute.
See Also:
StylesPackage.getColor_Red()

setRed

public void setRed(int newRed)


getGreen

public int getGreen()

Specified by:
getGreen in interface Color
Returns:
the value of the 'Green' attribute.
See Also:
StylesPackage.getColor_Green()

setGreen

public void setGreen(int newGreen)


getBlue

public int getBlue()

Specified by:
getBlue in interface Color
Returns:
the value of the 'Blue' attribute.
See Also:
StylesPackage.getColor_Blue()

setBlue

public void setBlue(int newBlue)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()



Copyright (c) SAP AG 2005, 2012.