|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.graphiti.mm.algorithms.styles.impl.ColorImpl
public class ColorImpl
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 |
---|
protected static final int RED_EDEFAULT
Red
' attribute.
getRed()
,
Constant Field Valuesprotected int red
Red
' attribute.
getRed()
protected static final int GREEN_EDEFAULT
Green
' attribute.
getGreen()
,
Constant Field Valuesprotected int green
Green
' attribute.
getGreen()
protected static final int BLUE_EDEFAULT
Blue
' attribute.
getBlue()
,
Constant Field Valuesprotected int blue
Blue
' attribute.
getBlue()
Constructor Detail |
---|
protected ColorImpl()
Method Detail |
---|
protected EClass eStaticClass()
public int getRed()
getRed
in interface Color
Color.setRed(int)
,
StylesPackage.getColor_Red()
public void setRed(int newRed)
setRed
in interface Color
newRed
- the new value of the 'Red' attribute.Color.getRed()
public int getGreen()
getGreen
in interface Color
Color.setGreen(int)
,
StylesPackage.getColor_Green()
public void setGreen(int newGreen)
setGreen
in interface Color
newGreen
- the new value of the 'Green' attribute.Color.getGreen()
public int getBlue()
getBlue
in interface Color
Color.setBlue(int)
,
StylesPackage.getColor_Blue()
public void setBlue(int newBlue)
setBlue
in interface Color
newBlue
- the new value of the 'Blue' attribute.Color.getBlue()
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |