Class GradientImpl
java.lang.Object
org.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.GradientImpl
- All Implemented Interfaces:
Fill,Gradient,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object '
Gradient'.
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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested 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_FLAGFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetEndColor(ColorDefinition newEndColor, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetStartColor(ColorDefinition newStartColor, org.eclipse.emf.common.notify.NotificationChain msgs) A convenient method to get an instance copy.static final Gradientcreate(ColorDefinition cdStart, ColorDefinition cdEnd) static final Gradientcreate(ColorDefinition cdStart, ColorDefinition cdEnd, double dDirectionInDegrees, boolean bCyclic) A convenience method provided to create a gradient instance with all member variables initializedeGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) voidvoideUnset(int featureID) doubleintbooleanisCyclic()booleanbooleanbooleanvoidsetCyclic(boolean newCyclic) voidsetDirection(double newDirection) voidsetEndColor(ColorDefinition newEndColor) voidsetStartColor(ColorDefinition newStartColor) voidsetTransparency(int newTransparency) toString()voidvoidvoidMethods inherited from class org.eclipse.birt.chart.model.attribute.impl.FillImpl
getType, isSetType, setType, unsetTypeMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIMethods 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, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.birt.chart.model.attribute.Fill
getType, isSetType, setType, unsetTypeMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getStartColor
- Specified by:
getStartColorin interfaceGradient- Returns:
- the value of the 'Start Color' containment reference.
- See Also:
-
basicSetStartColor
public org.eclipse.emf.common.notify.NotificationChain basicSetStartColor(ColorDefinition newStartColor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setStartColor
- Specified by:
setStartColorin interfaceGradient- Parameters:
newStartColor- the new value of the 'Start Color' containment reference.- See Also:
-
getEndColor
- Specified by:
getEndColorin interfaceGradient- Returns:
- the value of the 'End Color' containment reference.
- See Also:
-
basicSetEndColor
public org.eclipse.emf.common.notify.NotificationChain basicSetEndColor(ColorDefinition newEndColor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setEndColor
- Specified by:
setEndColorin interfaceGradient- Parameters:
newEndColor- the new value of the 'End Color' containment reference.- See Also:
-
getDirection
public double getDirection()- Specified by:
getDirectionin interfaceGradient- Returns:
- the value of the 'Direction' attribute.
- See Also:
-
setDirection
public void setDirection(double newDirection) - Specified by:
setDirectionin interfaceGradient- Parameters:
newDirection- the new value of the 'Direction' attribute.- See Also:
-
unsetDirection
public void unsetDirection()- Specified by:
unsetDirectionin interfaceGradient- See Also:
-
isSetDirection
public boolean isSetDirection()- Specified by:
isSetDirectionin interfaceGradient- Returns:
- whether the value of the 'Direction' attribute is set.
- See Also:
-
isCyclic
public boolean isCyclic() -
setCyclic
public void setCyclic(boolean newCyclic) -
unsetCyclic
public void unsetCyclic()- Specified by:
unsetCyclicin interfaceGradient- See Also:
-
isSetCyclic
public boolean isSetCyclic()- Specified by:
isSetCyclicin interfaceGradient- Returns:
- whether the value of the 'Cyclic' attribute is set.
- See Also:
-
getTransparency
public int getTransparency()- Specified by:
getTransparencyin interfaceGradient- Returns:
- the value of the 'Transparency' attribute.
- See Also:
-
setTransparency
public void setTransparency(int newTransparency) - Specified by:
setTransparencyin interfaceGradient- Parameters:
newTransparency- the new value of the 'Transparency' attribute.- See Also:
-
unsetTransparency
public void unsetTransparency()- Specified by:
unsetTransparencyin interfaceGradient- See Also:
-
isSetTransparency
public boolean isSetTransparency()- Specified by:
isSetTransparencyin interfaceGradient- Returns:
- whether the value of the 'Transparency' attribute is set.
- See Also:
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
-
eSet
-
eUnset
public void eUnset(int featureID) -
eIsSet
public boolean eIsSet(int featureID) -
toString
-
create
public static final Gradient create(ColorDefinition cdStart, ColorDefinition cdEnd, double dDirectionInDegrees, boolean bCyclic) A convenience method provided to create a gradient instance with all member variables initialized- Parameters:
cdStart-cdEnd-dDirectionInDegrees- Must lie within the range of (90 >= 0 >= -90)bCyclic-- Returns:
- grandient instance with setting 'isSet' flag.
-
create
-
copyInstance
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstancein interfaceFill- Specified by:
copyInstancein interfaceGradient- Specified by:
copyInstancein interfaceIChartObject- Overrides:
copyInstancein classFillImpl
-