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.EScannableAdapterList
Nested 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_FLAG
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetBackground
(Fill newBackground, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetCaption
(Text newCaption, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetInsets
(Insets newInsets, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetOutline
(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetShadowColor
(ColorDefinition newShadowColor, org.eclipse.emf.common.notify.NotificationChain msgs) static Label
copyCompactInstance
(Label src) A convenient method to get an instance copy.A convenient method to get an instance copy.static final Label
create()
A convenience method to create an initialized 'Label' instancestatic final Label
A convenience method to create an initialized 'Label' instancestatic final Label
createDefault
(boolean visible) A convenience method to create an initialized 'Label' instanceeGet
(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
void
eUnset
(int featureID) int
boolean
boolean
boolean
void
setBackground
(Fill newBackground) void
setCaption
(Text newCaption) void
setEllipsis
(int newEllipsis) void
void
setOutline
(LineAttributes newOutline) void
setShadowColor
(ColorDefinition newShadowColor) void
setVisible
(boolean newVisible) toString()
void
void
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, 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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getCaption
- Specified by:
getCaption
in 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:
setCaption
in interfaceLabel
- Parameters:
newCaption
- the new value of the 'Caption' containment reference.- See Also:
-
getBackground
- Specified by:
getBackground
in 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:
setBackground
in interfaceLabel
- Parameters:
newBackground
- the new value of the 'Background' containment reference.- See Also:
-
getOutline
- Specified by:
getOutline
in 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:
setOutline
in interfaceLabel
- Parameters:
newOutline
- the new value of the 'Outline' containment reference.- See Also:
-
getShadowColor
- Specified by:
getShadowColor
in 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:
setShadowColor
in 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:
setVisible
in interfaceLabel
- Parameters:
newVisible
- the new value of the 'Visible' attribute.- See Also:
-
unsetVisible
public void unsetVisible()- Specified by:
unsetVisible
in interfaceLabel
- See Also:
-
isSetVisible
public boolean isSetVisible()- Specified by:
isSetVisible
in interfaceLabel
- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
-
getEllipsis
public int getEllipsis()- Specified by:
getEllipsis
in interfaceLabel
- Returns:
- the value of the 'Ellipsis' attribute.
- See Also:
-
setEllipsis
public void setEllipsis(int newEllipsis) - Specified by:
setEllipsis
in interfaceLabel
- Parameters:
newEllipsis
- the new value of the 'Ellipsis' attribute.- See Also:
-
unsetEllipsis
public void unsetEllipsis()- Specified by:
unsetEllipsis
in interfaceLabel
- See Also:
-
isSetEllipsis
public boolean isSetEllipsis()- Specified by:
isSetEllipsis
in 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:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in 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:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in 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.
-