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
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, unsetType
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
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, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType, isSetType, setType, unsetType
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public ColorDefinition getStartColor()
getStartColor
in interface Gradient
Gradient.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 Gradient
newStartColor
- the new value of the 'Start Color' containment reference.Gradient.getStartColor()
public ColorDefinition getEndColor()
getEndColor
in interface Gradient
Gradient.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 Gradient
newEndColor
- the new value of the 'End Color' containment reference.Gradient.getEndColor()
public double getDirection()
getDirection
in interface Gradient
Gradient.isSetDirection()
,
Gradient.unsetDirection()
,
Gradient.setDirection(double)
,
AttributePackage.getGradient_Direction()
public void setDirection(double newDirection)
setDirection
in interface Gradient
newDirection
- the new value of the 'Direction' attribute.Gradient.isSetDirection()
,
Gradient.unsetDirection()
,
Gradient.getDirection()
public void unsetDirection()
unsetDirection
in interface Gradient
Gradient.isSetDirection()
,
Gradient.getDirection()
,
Gradient.setDirection(double)
public boolean isSetDirection()
isSetDirection
in interface Gradient
Gradient.unsetDirection()
,
Gradient.getDirection()
,
Gradient.setDirection(double)
public boolean isCyclic()
isCyclic
in interface Gradient
Gradient.isSetCyclic()
,
Gradient.unsetCyclic()
,
Gradient.setCyclic(boolean)
,
AttributePackage.getGradient_Cyclic()
public void setCyclic(boolean newCyclic)
setCyclic
in interface Gradient
newCyclic
- the new value of the 'Cyclic' attribute.Gradient.isSetCyclic()
,
Gradient.unsetCyclic()
,
Gradient.isCyclic()
public void unsetCyclic()
unsetCyclic
in interface Gradient
Gradient.isSetCyclic()
,
Gradient.isCyclic()
,
Gradient.setCyclic(boolean)
public boolean isSetCyclic()
isSetCyclic
in interface Gradient
Gradient.unsetCyclic()
,
Gradient.isCyclic()
,
Gradient.setCyclic(boolean)
public int getTransparency()
getTransparency
in interface Gradient
Gradient.isSetTransparency()
,
Gradient.unsetTransparency()
,
Gradient.setTransparency(int)
,
AttributePackage.getGradient_Transparency()
public void setTransparency(int newTransparency)
setTransparency
in interface Gradient
newTransparency
- the new value of the 'Transparency' attribute.Gradient.isSetTransparency()
,
Gradient.unsetTransparency()
,
Gradient.getTransparency()
public void unsetTransparency()
unsetTransparency
in interface Gradient
Gradient.isSetTransparency()
,
Gradient.getTransparency()
,
Gradient.setTransparency(int)
public boolean isSetTransparency()
isSetTransparency
in interface Gradient
Gradient.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.BasicEObjectImpl
public 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 Fill
copyInstance
in interface Gradient
copyInstance
in interface IChartObject
copyInstance
in class FillImpl
Copyright © 2005-2008 Actuate Corp. All rights reserved.