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 Image
copyInstance()
A convenient method to get an instance copy.static Image
create(java.lang.String sURL)
A convenient method to create and initialize an Image instance.static Image
create(java.lang.String sURL, ImageSourceType source)
A convenient method to create and initialize an Image instance.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)
ImageSourceType
getSource()
java.lang.String
getURL()
int
hashCode()
boolean
isSetSource()
void
setSource(ImageSourceType newSource)
void
setURL(java.lang.String newURL)
java.lang.String
toString()
void
unsetSource()
-
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:
getURL
in 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:
setURL
in interfaceImage
- Parameters:
newURL
- the new value of the 'URL' attribute.- See Also:
Image.getURL()
-
getSource
public ImageSourceType getSource()
- Specified by:
getSource
in 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:
setSource
in 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:
unsetSource
in interfaceImage
- See Also:
Image.isSetSource()
,Image.getSource()
,Image.setSource(ImageSourceType)
-
isSetSource
public boolean isSetSource()
- Specified by:
isSetSource
in 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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in 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:
copyInstance
in interfaceFill
- Specified by:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in interfaceImage
- Overrides:
copyInstance
in classFillImpl
-
-