Class LabelImpl
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.component.impl.LabelImpl
- All Implemented Interfaces:
Label,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object '
Label'.
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.NotificationChainbasicSetBackground(Fill newBackground, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetCaption(Text newCaption, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetInsets(Insets newInsets, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetShadowColor(ColorDefinition newShadowColor, org.eclipse.emf.common.notify.NotificationChain msgs) static LabelcopyCompactInstance(Label src) A convenient method to get an instance copy.A convenient method to get an instance copy.static final Labelcreate()A convenience method to create an initialized 'Label' instancestatic final LabelA convenience method to create an initialized 'Label' instancestatic final LabelcreateDefault(boolean visible) A convenience method to create an initialized 'Label' instanceeGet(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) intbooleanbooleanbooleanvoidsetBackground(Fill newBackground) voidsetCaption(Text newCaption) voidsetEllipsis(int newEllipsis) voidvoidsetOutline(LineAttributes newOutline) voidsetShadowColor(ColorDefinition newShadowColor) voidsetVisible(boolean newVisible) toString()voidvoidMethods 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.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getCaption
- Specified by:
getCaptionin interfaceLabel- Returns:
- the value of the 'Caption' containment reference.
- See Also:
-
basicSetCaption
public org.eclipse.emf.common.notify.NotificationChain basicSetCaption(Text newCaption, org.eclipse.emf.common.notify.NotificationChain msgs) -
setCaption
- Specified by:
setCaptionin interfaceLabel- Parameters:
newCaption- the new value of the 'Caption' containment reference.- See Also:
-
getBackground
- Specified by:
getBackgroundin interfaceLabel- Returns:
- the value of the 'Background' containment reference.
- See Also:
-
basicSetBackground
public org.eclipse.emf.common.notify.NotificationChain basicSetBackground(Fill newBackground, org.eclipse.emf.common.notify.NotificationChain msgs) -
setBackground
- Specified by:
setBackgroundin interfaceLabel- Parameters:
newBackground- the new value of the 'Background' containment reference.- See Also:
-
getOutline
- Specified by:
getOutlinein interfaceLabel- Returns:
- the value of the 'Outline' containment reference.
- See Also:
-
basicSetOutline
public org.eclipse.emf.common.notify.NotificationChain basicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs) -
setOutline
- Specified by:
setOutlinein interfaceLabel- Parameters:
newOutline- the new value of the 'Outline' containment reference.- See Also:
-
getShadowColor
- Specified by:
getShadowColorin interfaceLabel- Returns:
- the value of the 'Shadow Color' containment reference.
- See Also:
-
basicSetShadowColor
public org.eclipse.emf.common.notify.NotificationChain basicSetShadowColor(ColorDefinition newShadowColor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setShadowColor
- Specified by:
setShadowColorin interfaceLabel- Parameters:
newShadowColor- the new value of the 'Shadow Color' containment reference.- See Also:
-
getInsets
-
basicSetInsets
public org.eclipse.emf.common.notify.NotificationChain basicSetInsets(Insets newInsets, org.eclipse.emf.common.notify.NotificationChain msgs) -
setInsets
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean newVisible) - Specified by:
setVisiblein interfaceLabel- Parameters:
newVisible- the new value of the 'Visible' attribute.- See Also:
-
unsetVisible
public void unsetVisible()- Specified by:
unsetVisiblein interfaceLabel- See Also:
-
isSetVisible
public boolean isSetVisible()- Specified by:
isSetVisiblein interfaceLabel- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
-
getEllipsis
public int getEllipsis()- Specified by:
getEllipsisin interfaceLabel- Returns:
- the value of the 'Ellipsis' attribute.
- See Also:
-
setEllipsis
public void setEllipsis(int newEllipsis) - Specified by:
setEllipsisin interfaceLabel- Parameters:
newEllipsis- the new value of the 'Ellipsis' attribute.- See Also:
-
unsetEllipsis
public void unsetEllipsis()- Specified by:
unsetEllipsisin interfaceLabel- See Also:
-
isSetEllipsis
public boolean isSetEllipsis()- Specified by:
isSetEllipsisin interfaceLabel- Returns:
- whether the value of the 'Ellipsis' 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
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
A convenience method to create an initialized 'Label' instance- Returns:
- label instance with setting 'isSet' flag.
-
createDefault
A convenience method to create an initialized 'Label' instance- Returns:
- label instance without setting 'isSet' flag.
-
createDefault
A convenience method to create an initialized 'Label' instance- Returns:
- label instance without setting 'isSet' flag.
-
copyInstance
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceLabel
-
copyCompactInstance
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy(). Note this method only copies those working properties of the label. e.g. which could affect renderer. This is different with the copyInstance() method, which copies all attributes.- Parameters:
src-- Returns:
- new label instance.
-