public class GradientImpl extends FillImpl implements Gradient
The following features are implemented:
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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetEndColor(ColorDefinition newEndColor,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetStartColor(ColorDefinition newStartColor,
org.eclipse.emf.common.notify.NotificationChain msgs) |
Gradient |
copyInstance()
A convenient method to get an instance copy.
|
static Gradient |
create(ColorDefinition cdStart,
ColorDefinition cdEnd) |
static Gradient |
create(ColorDefinition cdStart,
ColorDefinition cdEnd,
double dDirectionInDegrees,
boolean bCyclic)
A convenience method provided to create a gradient instance with all
member variables initialized
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
double |
getDirection() |
ColorDefinition |
getEndColor() |
ColorDefinition |
getStartColor() |
int |
getTransparency() |
boolean |
isCyclic() |
boolean |
isSetCyclic() |
boolean |
isSetDirection() |
boolean |
isSetTransparency() |
void |
setCyclic(boolean newCyclic) |
void |
setDirection(double newDirection) |
void |
setEndColor(ColorDefinition newEndColor) |
void |
setStartColor(ColorDefinition newStartColor) |
void |
setTransparency(int newTransparency) |
java.lang.String |
toString() |
void |
unsetCyclic() |
void |
unsetDirection() |
void |
unsetTransparency() |
getType, isSetType, setType, unsetTypeeAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, 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, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetType, isSetType, setType, unsetTypeeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic ColorDefinition getStartColor()
getStartColor in interface GradientGradient.setStartColor(ColorDefinition),
AttributePackage.getGradient_StartColor()public org.eclipse.emf.common.notify.NotificationChain basicSetStartColor(ColorDefinition newStartColor, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setStartColor(ColorDefinition newStartColor)
setStartColor in interface GradientnewStartColor - the new value of the 'Start Color' containment reference.Gradient.getStartColor()public ColorDefinition getEndColor()
getEndColor in interface GradientGradient.setEndColor(ColorDefinition),
AttributePackage.getGradient_EndColor()public org.eclipse.emf.common.notify.NotificationChain basicSetEndColor(ColorDefinition newEndColor, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setEndColor(ColorDefinition newEndColor)
setEndColor in interface GradientnewEndColor - the new value of the 'End Color' containment reference.Gradient.getEndColor()public double getDirection()
getDirection in interface GradientGradient.isSetDirection(),
Gradient.unsetDirection(),
Gradient.setDirection(double),
AttributePackage.getGradient_Direction()public void setDirection(double newDirection)
setDirection in interface GradientnewDirection - the new value of the 'Direction' attribute.Gradient.isSetDirection(),
Gradient.unsetDirection(),
Gradient.getDirection()public void unsetDirection()
unsetDirection in interface GradientGradient.isSetDirection(),
Gradient.getDirection(),
Gradient.setDirection(double)public boolean isSetDirection()
isSetDirection in interface GradientGradient.unsetDirection(),
Gradient.getDirection(),
Gradient.setDirection(double)public boolean isCyclic()
isCyclic in interface GradientGradient.isSetCyclic(),
Gradient.unsetCyclic(),
Gradient.setCyclic(boolean),
AttributePackage.getGradient_Cyclic()public void setCyclic(boolean newCyclic)
setCyclic in interface GradientnewCyclic - the new value of the 'Cyclic' attribute.Gradient.isSetCyclic(),
Gradient.unsetCyclic(),
Gradient.isCyclic()public void unsetCyclic()
unsetCyclic in interface GradientGradient.isSetCyclic(),
Gradient.isCyclic(),
Gradient.setCyclic(boolean)public boolean isSetCyclic()
isSetCyclic in interface GradientGradient.unsetCyclic(),
Gradient.isCyclic(),
Gradient.setCyclic(boolean)public int getTransparency()
getTransparency in interface GradientGradient.isSetTransparency(),
Gradient.unsetTransparency(),
Gradient.setTransparency(int),
AttributePackage.getGradient_Transparency()public void setTransparency(int newTransparency)
setTransparency in interface GradientnewTransparency - the new value of the 'Transparency' attribute.Gradient.isSetTransparency(),
Gradient.unsetTransparency(),
Gradient.getTransparency()public void unsetTransparency()
unsetTransparency in interface GradientGradient.isSetTransparency(),
Gradient.getTransparency(),
Gradient.setTransparency(int)public boolean isSetTransparency()
isSetTransparency in interface GradientGradient.unsetTransparency(),
Gradient.getTransparency(),
Gradient.setTransparency(int)public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
public void eSet(int featureID,
java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public static final Gradient create(ColorDefinition cdStart, ColorDefinition cdEnd, double dDirectionInDegrees, boolean bCyclic)
cdStart - cdEnd - dDirectionInDegrees - Must lie within the range of (90 >= 0 >= -90)bCyclic - public static final Gradient create(ColorDefinition cdStart, ColorDefinition cdEnd)
public Gradient copyInstance()
copyInstance in interface FillcopyInstance in interface GradientcopyInstance in interface IChartObjectcopyInstance in class FillImplCopyright © 2005-2008 Actuate Corp. All rights reserved.