Class FontDefinitionImpl
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.FontDefinitionImpl
- All Implemented Interfaces:
FontDefinition,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
public class FontDefinitionImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements FontDefinition
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionFontDefinitionImpl(String sName, float fSize) A convenient constructor that allows partial definition of member variables. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetAlignment(TextAlignment newAlignment, org.eclipse.emf.common.notify.NotificationChain msgs) A convenient method to get an instance copy.static final FontDefinitioncreate(String sName, float fSize, boolean bBold, boolean bItalic, boolean bUnderline, boolean bStrikethrough, boolean bWordWrap, double dRotation, TextAlignment ta) NOTE: Manually writtenstatic final FontDefinitionCreates an empty FontDefinition instance.static final FontDefinitioneGet(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) booleanvoidvoideUnset(int featureID) getName()doublefloatgetSize()inthashCode()booleanisBold()booleanisItalic()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAlignment(TextAlignment newAlignment) voidsetBold(boolean newBold) voidsetItalic(boolean newItalic) voidvoidsetRotation(double newRotation) voidsetSize(float newSize) voidsetStrikethrough(boolean newStrikethrough) voidsetUnderline(boolean newUnderline) voidsetWordWrap(boolean newWordWrap) toString()voidvoidvoidvoidvoidvoidvoidMethods 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 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
-
Constructor Details
-
FontDefinitionImpl
A convenient constructor that allows partial definition of member variables. NOTE: Manually written- Parameters:
sName-dSize-
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceFontDefinition- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
- Specified by:
setNamein interfaceFontDefinition- Parameters:
newName- the new value of the 'Name' attribute.- See Also:
-
getSize
public float getSize()- Specified by:
getSizein interfaceFontDefinition- Returns:
- the value of the 'Size' attribute.
- See Also:
-
setSize
public void setSize(float newSize) - Specified by:
setSizein interfaceFontDefinition- Parameters:
newSize- the new value of the 'Size' attribute.- See Also:
-
unsetSize
public void unsetSize()- Specified by:
unsetSizein interfaceFontDefinition- See Also:
-
isSetSize
public boolean isSetSize()- Specified by:
isSetSizein interfaceFontDefinition- Returns:
- whether the value of the 'Size' attribute is set.
- See Also:
-
isBold
public boolean isBold()- Specified by:
isBoldin interfaceFontDefinition- Returns:
- the value of the 'Bold' attribute.
- See Also:
-
setBold
public void setBold(boolean newBold) - Specified by:
setBoldin interfaceFontDefinition- Parameters:
newBold- the new value of the 'Bold' attribute.- See Also:
-
unsetBold
public void unsetBold()- Specified by:
unsetBoldin interfaceFontDefinition- See Also:
-
isSetBold
public boolean isSetBold()- Specified by:
isSetBoldin interfaceFontDefinition- Returns:
- whether the value of the 'Bold' attribute is set.
- See Also:
-
isItalic
public boolean isItalic()- Specified by:
isItalicin interfaceFontDefinition- Returns:
- the value of the 'Italic' attribute.
- See Also:
-
setItalic
public void setItalic(boolean newItalic) - Specified by:
setItalicin interfaceFontDefinition- Parameters:
newItalic- the new value of the 'Italic' attribute.- See Also:
-
unsetItalic
public void unsetItalic()- Specified by:
unsetItalicin interfaceFontDefinition- See Also:
-
isSetItalic
public boolean isSetItalic()- Specified by:
isSetItalicin interfaceFontDefinition- Returns:
- whether the value of the 'Italic' attribute is set.
- See Also:
-
isStrikethrough
public boolean isStrikethrough()- Specified by:
isStrikethroughin interfaceFontDefinition- Returns:
- the value of the 'Strikethrough' attribute.
- See Also:
-
setStrikethrough
public void setStrikethrough(boolean newStrikethrough) - Specified by:
setStrikethroughin interfaceFontDefinition- Parameters:
newStrikethrough- the new value of the 'Strikethrough' attribute.- See Also:
-
unsetStrikethrough
public void unsetStrikethrough()- Specified by:
unsetStrikethroughin interfaceFontDefinition- See Also:
-
isSetStrikethrough
public boolean isSetStrikethrough()- Specified by:
isSetStrikethroughin interfaceFontDefinition- Returns:
- whether the value of the 'Strikethrough' attribute is set.
- See Also:
-
isUnderline
public boolean isUnderline()- Specified by:
isUnderlinein interfaceFontDefinition- Returns:
- the value of the 'Underline' attribute.
- See Also:
-
setUnderline
public void setUnderline(boolean newUnderline) - Specified by:
setUnderlinein interfaceFontDefinition- Parameters:
newUnderline- the new value of the 'Underline' attribute.- See Also:
-
unsetUnderline
public void unsetUnderline()- Specified by:
unsetUnderlinein interfaceFontDefinition- See Also:
-
isSetUnderline
public boolean isSetUnderline()- Specified by:
isSetUnderlinein interfaceFontDefinition- Returns:
- whether the value of the 'Underline' attribute is set.
- See Also:
-
isWordWrap
public boolean isWordWrap()- Specified by:
isWordWrapin interfaceFontDefinition- Returns:
- the value of the 'Word Wrap' attribute.
- See Also:
-
setWordWrap
public void setWordWrap(boolean newWordWrap) - Specified by:
setWordWrapin interfaceFontDefinition- Parameters:
newWordWrap- the new value of the 'Word Wrap' attribute.- See Also:
-
unsetWordWrap
public void unsetWordWrap()- Specified by:
unsetWordWrapin interfaceFontDefinition- See Also:
-
isSetWordWrap
public boolean isSetWordWrap()- Specified by:
isSetWordWrapin interfaceFontDefinition- Returns:
- whether the value of the 'Word Wrap' attribute is set.
- See Also:
-
getAlignment
- Specified by:
getAlignmentin interfaceFontDefinition- Returns:
- the value of the 'Alignment' containment reference.
- See Also:
-
basicSetAlignment
public org.eclipse.emf.common.notify.NotificationChain basicSetAlignment(TextAlignment newAlignment, org.eclipse.emf.common.notify.NotificationChain msgs) -
setAlignment
- Specified by:
setAlignmentin interfaceFontDefinition- Parameters:
newAlignment- the new value of the 'Alignment' containment reference.- See Also:
-
getRotation
public double getRotation()- Specified by:
getRotationin interfaceFontDefinition- Returns:
- the value of the 'Rotation' attribute.
- See Also:
-
setRotation
public void setRotation(double newRotation) - Specified by:
setRotationin interfaceFontDefinition- Parameters:
newRotation- the new value of the 'Rotation' attribute.- See Also:
-
unsetRotation
public void unsetRotation()- Specified by:
unsetRotationin interfaceFontDefinition- See Also:
-
isSetRotation
public boolean isSetRotation()- Specified by:
isSetRotationin interfaceFontDefinition- Returns:
- whether the value of the 'Rotation' 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
public static final FontDefinition create(String sName, float fSize, boolean bBold, boolean bItalic, boolean bUnderline, boolean bStrikethrough, boolean bWordWrap, double dRotation, TextAlignment ta) NOTE: Manually written- Parameters:
sName-fSize-bBold-bItalic-bUnderline-bStrikethrough-bWordWrap-dRotation-ta-- Returns:
-
createEmpty
Creates an empty FontDefinition instance.- Returns:
-
createEmptyDefault
-
copyInstance
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstancein interfaceFontDefinition- Specified by:
copyInstancein interfaceIChartObject
-
hashCode
public int hashCode() -
equals
-