Class ImageImpl
- 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.ImageImpl
-
- All Implemented Interfaces:
Fill,Image,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
EmbeddedImageImpl,PatternImageImpl
public class ImageImpl extends FillImpl implements Image
-
-
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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImagecopyInstance()A convenient method to get an instance copy.static Imagecreate(java.lang.String sURL)A convenient method to create and initialize an Image instance.static Imagecreate(java.lang.String sURL, ImageSourceType source)A convenient method to create and initialize an Image instance.java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)booleanequals(java.lang.Object obj)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)ImageSourceTypegetSource()java.lang.StringgetURL()inthashCode()booleanisSetSource()voidsetSource(ImageSourceType newSource)voidsetURL(java.lang.String newURL)java.lang.StringtoString()voidunsetSource()-
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 interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
-
-
-
Method Detail
-
getURL
public java.lang.String getURL()
- Specified by:
getURLin interfaceImage- Returns:
- the value of the 'URL' attribute.
- See Also:
Image.setURL(String),AttributePackage.getImage_URL()
-
setURL
public void setURL(java.lang.String newURL)
- Specified by:
setURLin interfaceImage- Parameters:
newURL- the new value of the 'URL' attribute.- See Also:
Image.getURL()
-
getSource
public ImageSourceType getSource()
- Specified by:
getSourcein interfaceImage- Returns:
- the value of the 'Source' attribute.
- See Also:
ImageSourceType,Image.isSetSource(),Image.unsetSource(),Image.setSource(ImageSourceType),AttributePackage.getImage_Source()
-
setSource
public void setSource(ImageSourceType newSource)
- Specified by:
setSourcein interfaceImage- Parameters:
newSource- the new value of the 'Source' attribute.- See Also:
ImageSourceType,Image.isSetSource(),Image.unsetSource(),Image.getSource()
-
unsetSource
public void unsetSource()
- Specified by:
unsetSourcein interfaceImage- See Also:
Image.isSetSource(),Image.getSource(),Image.setSource(ImageSourceType)
-
isSetSource
public boolean isSetSource()
- Specified by:
isSetSourcein interfaceImage- Returns:
- whether the value of the 'Source' attribute is set.
- See Also:
Image.unsetSource(),Image.getSource(),Image.setSource(ImageSourceType)
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
-
eUnset
public void eUnset(int featureID)
-
eIsSet
public boolean eIsSet(int featureID)
-
create
public static final Image create(java.lang.String sURL)
A convenient method to create and initialize an Image instance. NOTE: Manually written- Parameters:
sURL-- Returns:
- image
-
create
public static final Image create(java.lang.String sURL, ImageSourceType source)
A convenient method to create and initialize an Image instance. NOTE: Manually written- Parameters:
sURL-imageSourceType-- Returns:
- image
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
copyInstance
public Image copyInstance()
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstancein interfaceFill- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceImage- Overrides:
copyInstancein classFillImpl
-
-