|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.birt.chart.model.attribute.impl.FillImpl
org.eclipse.birt.chart.model.attribute.impl.ColorDefinitionImpl
public class ColorDefinitionImpl
An implementation of the model object ' Color Definition'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Method Summary | |
---|---|
static ColorDefinition |
BLACK()
An opaque black color with (r=0;g=0;b=0) Note: Manually written |
static ColorDefinition |
BLUE()
A light opaque blue color with (r=0;g=0;b=255) Note: Manually written |
ColorDefinition |
brighter()
NOTE: Manually written |
ColorDefinition |
copyInstance()
A convenient method to get an instance copy. |
static ColorDefinition |
CREAM()
An opaque creamy color with (r=249;g=225;b=191) Note: Manually written |
static ColorDefinition |
create(int iRed,
int iGreen,
int iBlue)
NOTE: Manually written |
static ColorDefinition |
create(int iRed,
int iGreen,
int iBlue,
int iAlpha)
NOTE: Manually written |
static ColorDefinition |
CYAN()
An opaque cyan color with (r=225;g=225;b=255) Note: Manually written |
ColorDefinition |
darker()
NOTE: Manually written |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
boolean |
equals(java.lang.Object obj)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
int |
getBlue()
|
int |
getGreen()
|
int |
getRed()
|
int |
getTransparency()
|
static ColorDefinition |
GREEN()
A light opaque green color with (r=0;g=255;b=0) Note: Manually written |
static ColorDefinition |
GREY()
A light opaque grey color with (r=127;g=127;b=127) Note: Manually written |
int |
hashCode()
|
void |
invert()
Inverts the existing color (XORed with 0xFF). |
boolean |
isSetBlue()
|
boolean |
isSetGreen()
|
boolean |
isSetRed()
|
boolean |
isSetTransparency()
|
ColorDefinition |
opaque()
NOTE: Manually written |
static ColorDefinition |
ORANGE()
An opaque orange color with (r=223;g=197;b=41) Note: Manually written |
static ColorDefinition |
PINK()
An opaque orange color with (r=255;g=205;b=225) Note: Manually written |
static ColorDefinition |
RED()
A light opaque red color with (r=255;g=0;b=0) Note: Manually written |
void |
set(int iRed,
int iGreen,
int iBlue)
A convenient method provided to initialize member variables (without transparency) Note: Manually written |
void |
set(int iRed,
int iGreen,
int iBlue,
int iAlpha)
A convenient method provided to initialize all member variables (including transparency) Note: Manually written |
void |
setBlue(int newBlue)
|
void |
setGreen(int newGreen)
|
void |
setRed(int newRed)
|
void |
setTransparency(int newTransparency)
|
java.lang.String |
toString()
|
ColorDefinition |
translucent()
NOTE: Manually written |
ColorDefinition |
transparent()
NOTE: Manually written |
static ColorDefinition |
TRANSPARENT()
A transparent color constant that should be used wherever applicable Note: Manually written |
void |
unsetBlue()
|
void |
unsetGreen()
|
void |
unsetRed()
|
void |
unsetTransparency()
|
static ColorDefinition |
WHITE()
An opaque white color with (r=255;g=255;b=255) Note: Manually written |
static ColorDefinition |
YELLOW()
An opaque yellow color with (r=255;g=255;b=0) Note: Manually written |
Methods inherited from class org.eclipse.birt.chart.model.attribute.impl.FillImpl |
---|
getType, isSetType, setType, unsetType |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Method Detail |
---|
public void set(int iRed, int iGreen, int iBlue)
set
in interface ColorDefinition
iRed
- iGreen
- iBlue
- public void set(int iRed, int iGreen, int iBlue, int iAlpha)
set
in interface ColorDefinition
iRed
- iGreen
- iBlue
- iAlpha
- public int getTransparency()
getTransparency
in interface ColorDefinition
ColorDefinition.isSetTransparency()
,
ColorDefinition.unsetTransparency()
,
ColorDefinition.setTransparency(int)
,
AttributePackage.getColorDefinition_Transparency()
public void setTransparency(int newTransparency)
setTransparency
in interface ColorDefinition
newTransparency
- the new value of the 'Transparency' attribute.ColorDefinition.isSetTransparency()
,
ColorDefinition.unsetTransparency()
,
ColorDefinition.getTransparency()
public void unsetTransparency()
unsetTransparency
in interface ColorDefinition
ColorDefinition.isSetTransparency()
,
ColorDefinition.getTransparency()
,
ColorDefinition.setTransparency(int)
public boolean isSetTransparency()
isSetTransparency
in interface ColorDefinition
ColorDefinition.unsetTransparency()
,
ColorDefinition.getTransparency()
,
ColorDefinition.setTransparency(int)
public int getRed()
getRed
in interface ColorDefinition
ColorDefinition.isSetRed()
,
ColorDefinition.unsetRed()
,
ColorDefinition.setRed(int)
,
AttributePackage.getColorDefinition_Red()
public void setRed(int newRed)
setRed
in interface ColorDefinition
newRed
- the new value of the 'Red' attribute.ColorDefinition.isSetRed()
,
ColorDefinition.unsetRed()
,
ColorDefinition.getRed()
public void unsetRed()
unsetRed
in interface ColorDefinition
ColorDefinition.isSetRed()
,
ColorDefinition.getRed()
,
ColorDefinition.setRed(int)
public boolean isSetRed()
isSetRed
in interface ColorDefinition
ColorDefinition.unsetRed()
,
ColorDefinition.getRed()
,
ColorDefinition.setRed(int)
public int getBlue()
getBlue
in interface ColorDefinition
ColorDefinition.isSetBlue()
,
ColorDefinition.unsetBlue()
,
ColorDefinition.setBlue(int)
,
AttributePackage.getColorDefinition_Blue()
public void setBlue(int newBlue)
setBlue
in interface ColorDefinition
newBlue
- the new value of the 'Blue' attribute.ColorDefinition.isSetBlue()
,
ColorDefinition.unsetBlue()
,
ColorDefinition.getBlue()
public void unsetBlue()
unsetBlue
in interface ColorDefinition
ColorDefinition.isSetBlue()
,
ColorDefinition.getBlue()
,
ColorDefinition.setBlue(int)
public boolean isSetBlue()
isSetBlue
in interface ColorDefinition
ColorDefinition.unsetBlue()
,
ColorDefinition.getBlue()
,
ColorDefinition.setBlue(int)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class FillImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class FillImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class FillImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class FillImpl
public int getGreen()
getGreen
in interface ColorDefinition
ColorDefinition.isSetGreen()
,
ColorDefinition.unsetGreen()
,
ColorDefinition.setGreen(int)
,
AttributePackage.getColorDefinition_Green()
public void setGreen(int newGreen)
setGreen
in interface ColorDefinition
newGreen
- the new value of the 'Green' attribute.ColorDefinition.isSetGreen()
,
ColorDefinition.unsetGreen()
,
ColorDefinition.getGreen()
public void unsetGreen()
unsetGreen
in interface ColorDefinition
ColorDefinition.isSetGreen()
,
ColorDefinition.getGreen()
,
ColorDefinition.setGreen(int)
public boolean isSetGreen()
isSetGreen
in interface ColorDefinition
ColorDefinition.unsetGreen()
,
ColorDefinition.getGreen()
,
ColorDefinition.setGreen(int)
public java.lang.String toString()
toString
in class FillImpl
public static final ColorDefinition create(int iRed, int iGreen, int iBlue, int iAlpha)
iRed
- iGreen
- iBlue
- iAlpha
-
public static final ColorDefinition create(int iRed, int iGreen, int iBlue)
iRed
- iGreen
- iBlue
-
public static final ColorDefinition TRANSPARENT()
public static final ColorDefinition RED()
public static final ColorDefinition GREEN()
public static final ColorDefinition BLUE()
public static final ColorDefinition BLACK()
public static final ColorDefinition WHITE()
public static final ColorDefinition YELLOW()
public static final ColorDefinition CYAN()
public static final ColorDefinition GREY()
public static final ColorDefinition ORANGE()
public static final ColorDefinition CREAM()
public static final ColorDefinition PINK()
public final ColorDefinition brighter()
brighter
in interface ColorDefinition
public final ColorDefinition darker()
darker
in interface ColorDefinition
public final ColorDefinition translucent()
ColorDefinition
translucent
in interface ColorDefinition
public final ColorDefinition transparent()
ColorDefinition
transparent
in interface ColorDefinition
public final ColorDefinition opaque()
ColorDefinition
opaque
in interface ColorDefinition
public void invert()
ColorDefinition
invert
in interface ColorDefinition
public ColorDefinition copyInstance()
copyInstance
in interface ColorDefinition
copyInstance
in interface Fill
copyInstance
in interface IChartObject
copyInstance
in class FillImpl
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |