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
public class LabelImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Label
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 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 org.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.LabelcopyInstance()A convenient method to get an instance copy.static Labelcreate()A convenience method to create an initialized 'Label' instancestatic LabelcreateDefault()A convenience method to create an initialized 'Label' instancestatic LabelcreateDefault(boolean visible)A convenience method to create an initialized 'Label' instancejava.lang.ObjecteGet(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)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)FillgetBackground()TextgetCaption()intgetEllipsis()InsetsgetInsets()LineAttributesgetOutline()ColorDefinitiongetShadowColor()booleanisSetEllipsis()booleanisSetVisible()booleanisVisible()voidsetBackground(Fill newBackground)voidsetCaption(Text newCaption)voidsetEllipsis(int newEllipsis)voidsetInsets(Insets newInsets)voidsetOutline(LineAttributes newOutline)voidsetShadowColor(ColorDefinition newShadowColor)voidsetVisible(boolean newVisible)java.lang.StringtoString()voidunsetEllipsis()voidunsetVisible()-
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
-
-
-
-
Method Detail
-
getCaption
public Text getCaption()
- Specified by:
getCaptionin interfaceLabel- Returns:
- the value of the 'Caption' containment reference.
- See Also:
Label.setCaption(Text),ComponentPackage.getLabel_Caption()
-
basicSetCaption
public org.eclipse.emf.common.notify.NotificationChain basicSetCaption(Text newCaption, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setCaption
public void setCaption(Text newCaption)
- Specified by:
setCaptionin interfaceLabel- Parameters:
newCaption- the new value of the 'Caption' containment reference.- See Also:
Label.getCaption()
-
getBackground
public Fill getBackground()
- Specified by:
getBackgroundin interfaceLabel- Returns:
- the value of the 'Background' containment reference.
- See Also:
Label.setBackground(Fill),ComponentPackage.getLabel_Background()
-
basicSetBackground
public org.eclipse.emf.common.notify.NotificationChain basicSetBackground(Fill newBackground, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setBackground
public void setBackground(Fill newBackground)
- Specified by:
setBackgroundin interfaceLabel- Parameters:
newBackground- the new value of the 'Background' containment reference.- See Also:
Label.getBackground()
-
getOutline
public LineAttributes getOutline()
- Specified by:
getOutlinein interfaceLabel- Returns:
- the value of the 'Outline' containment reference.
- See Also:
Label.setOutline(LineAttributes),ComponentPackage.getLabel_Outline()
-
basicSetOutline
public org.eclipse.emf.common.notify.NotificationChain basicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setOutline
public void setOutline(LineAttributes newOutline)
- Specified by:
setOutlinein interfaceLabel- Parameters:
newOutline- the new value of the 'Outline' containment reference.- See Also:
Label.getOutline()
-
getShadowColor
public ColorDefinition getShadowColor()
- Specified by:
getShadowColorin interfaceLabel- Returns:
- the value of the 'Shadow Color' containment reference.
- See Also:
Label.setShadowColor(ColorDefinition),ComponentPackage.getLabel_ShadowColor()
-
basicSetShadowColor
public org.eclipse.emf.common.notify.NotificationChain basicSetShadowColor(ColorDefinition newShadowColor, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setShadowColor
public void setShadowColor(ColorDefinition newShadowColor)
- Specified by:
setShadowColorin interfaceLabel- Parameters:
newShadowColor- the new value of the 'Shadow Color' containment reference.- See Also:
Label.getShadowColor()
-
getInsets
public Insets getInsets()
- Specified by:
getInsetsin interfaceLabel- Returns:
- the value of the 'Insets' containment reference.
- See Also:
Label.setInsets(Insets),ComponentPackage.getLabel_Insets()
-
basicSetInsets
public org.eclipse.emf.common.notify.NotificationChain basicSetInsets(Insets newInsets, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setInsets
public void setInsets(Insets newInsets)
- Specified by:
setInsetsin interfaceLabel- Parameters:
newInsets- the new value of the 'Insets' containment reference.- See Also:
Label.getInsets()
-
isVisible
public boolean isVisible()
- Specified by:
isVisiblein interfaceLabel- Returns:
- the value of the 'Visible' attribute.
- See Also:
Label.isSetVisible(),Label.unsetVisible(),Label.setVisible(boolean),ComponentPackage.getLabel_Visible()
-
setVisible
public void setVisible(boolean newVisible)
- Specified by:
setVisiblein interfaceLabel- Parameters:
newVisible- the new value of the 'Visible' attribute.- See Also:
Label.isSetVisible(),Label.unsetVisible(),Label.isVisible()
-
unsetVisible
public void unsetVisible()
- Specified by:
unsetVisiblein interfaceLabel- See Also:
Label.isSetVisible(),Label.isVisible(),Label.setVisible(boolean)
-
isSetVisible
public boolean isSetVisible()
- Specified by:
isSetVisiblein interfaceLabel- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
Label.unsetVisible(),Label.isVisible(),Label.setVisible(boolean)
-
getEllipsis
public int getEllipsis()
- Specified by:
getEllipsisin interfaceLabel- Returns:
- the value of the 'Ellipsis' attribute.
- See Also:
Label.isSetEllipsis(),Label.unsetEllipsis(),Label.setEllipsis(int),ComponentPackage.getLabel_Ellipsis()
-
setEllipsis
public void setEllipsis(int newEllipsis)
- Specified by:
setEllipsisin interfaceLabel- Parameters:
newEllipsis- the new value of the 'Ellipsis' attribute.- See Also:
Label.isSetEllipsis(),Label.unsetEllipsis(),Label.getEllipsis()
-
unsetEllipsis
public void unsetEllipsis()
- Specified by:
unsetEllipsisin interfaceLabel- See Also:
Label.isSetEllipsis(),Label.getEllipsis(),Label.setEllipsis(int)
-
isSetEllipsis
public boolean isSetEllipsis()
- Specified by:
isSetEllipsisin interfaceLabel- Returns:
- whether the value of the 'Ellipsis' attribute is set.
- See Also:
Label.unsetEllipsis(),Label.getEllipsis(),Label.setEllipsis(int)
-
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
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- 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
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
public static final Label create()
A convenience method to create an initialized 'Label' instance- Returns:
- label instance with setting 'isSet' flag.
-
createDefault
public static final Label createDefault()
A convenience method to create an initialized 'Label' instance- Returns:
- label instance without setting 'isSet' flag.
-
createDefault
public static final Label createDefault(boolean visible)
A convenience method to create an initialized 'Label' instance- Returns:
- label instance without setting 'isSet' flag.
-
copyInstance
public Label 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
public static Label copyCompactInstance(Label src)
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.
-
-