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.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
-
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.NotificationChain
basicSetAlignment
(TextAlignment newAlignment, org.eclipse.emf.common.notify.NotificationChain msgs) A convenient method to get an instance copy.static final FontDefinition
create
(String sName, float fSize, boolean bBold, boolean bItalic, boolean bUnderline, boolean bStrikethrough, boolean bWordWrap, double dRotation, TextAlignment ta) NOTE: Manually writtenstatic final FontDefinition
Creates an empty FontDefinition instance.static final FontDefinition
eGet
(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) boolean
void
void
eUnset
(int featureID) getName()
double
float
getSize()
int
hashCode()
boolean
isBold()
boolean
isItalic()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setAlignment
(TextAlignment newAlignment) void
setBold
(boolean newBold) void
setItalic
(boolean newItalic) void
void
setRotation
(double newRotation) void
setSize
(float newSize) void
setStrikethrough
(boolean newStrikethrough) void
setUnderline
(boolean newUnderline) void
setWordWrap
(boolean newWordWrap) toString()
void
void
void
void
void
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 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
-
Constructor Details
-
FontDefinitionImpl
A convenient constructor that allows partial definition of member variables. NOTE: Manually written- Parameters:
sName
-dSize
-
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceFontDefinition
- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
- Specified by:
setName
in interfaceFontDefinition
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
-
getSize
public float getSize()- Specified by:
getSize
in interfaceFontDefinition
- Returns:
- the value of the 'Size' attribute.
- See Also:
-
setSize
public void setSize(float newSize) - Specified by:
setSize
in interfaceFontDefinition
- Parameters:
newSize
- the new value of the 'Size' attribute.- See Also:
-
unsetSize
public void unsetSize()- Specified by:
unsetSize
in interfaceFontDefinition
- See Also:
-
isSetSize
public boolean isSetSize()- Specified by:
isSetSize
in interfaceFontDefinition
- Returns:
- whether the value of the 'Size' attribute is set.
- See Also:
-
isBold
public boolean isBold()- Specified by:
isBold
in interfaceFontDefinition
- Returns:
- the value of the 'Bold' attribute.
- See Also:
-
setBold
public void setBold(boolean newBold) - Specified by:
setBold
in interfaceFontDefinition
- Parameters:
newBold
- the new value of the 'Bold' attribute.- See Also:
-
unsetBold
public void unsetBold()- Specified by:
unsetBold
in interfaceFontDefinition
- See Also:
-
isSetBold
public boolean isSetBold()- Specified by:
isSetBold
in interfaceFontDefinition
- Returns:
- whether the value of the 'Bold' attribute is set.
- See Also:
-
isItalic
public boolean isItalic()- Specified by:
isItalic
in interfaceFontDefinition
- Returns:
- the value of the 'Italic' attribute.
- See Also:
-
setItalic
public void setItalic(boolean newItalic) - Specified by:
setItalic
in interfaceFontDefinition
- Parameters:
newItalic
- the new value of the 'Italic' attribute.- See Also:
-
unsetItalic
public void unsetItalic()- Specified by:
unsetItalic
in interfaceFontDefinition
- See Also:
-
isSetItalic
public boolean isSetItalic()- Specified by:
isSetItalic
in interfaceFontDefinition
- Returns:
- whether the value of the 'Italic' attribute is set.
- See Also:
-
isStrikethrough
public boolean isStrikethrough()- Specified by:
isStrikethrough
in interfaceFontDefinition
- Returns:
- the value of the 'Strikethrough' attribute.
- See Also:
-
setStrikethrough
public void setStrikethrough(boolean newStrikethrough) - Specified by:
setStrikethrough
in interfaceFontDefinition
- Parameters:
newStrikethrough
- the new value of the 'Strikethrough' attribute.- See Also:
-
unsetStrikethrough
public void unsetStrikethrough()- Specified by:
unsetStrikethrough
in interfaceFontDefinition
- See Also:
-
isSetStrikethrough
public boolean isSetStrikethrough()- Specified by:
isSetStrikethrough
in interfaceFontDefinition
- Returns:
- whether the value of the 'Strikethrough' attribute is set.
- See Also:
-
isUnderline
public boolean isUnderline()- Specified by:
isUnderline
in interfaceFontDefinition
- Returns:
- the value of the 'Underline' attribute.
- See Also:
-
setUnderline
public void setUnderline(boolean newUnderline) - Specified by:
setUnderline
in interfaceFontDefinition
- Parameters:
newUnderline
- the new value of the 'Underline' attribute.- See Also:
-
unsetUnderline
public void unsetUnderline()- Specified by:
unsetUnderline
in interfaceFontDefinition
- See Also:
-
isSetUnderline
public boolean isSetUnderline()- Specified by:
isSetUnderline
in interfaceFontDefinition
- Returns:
- whether the value of the 'Underline' attribute is set.
- See Also:
-
isWordWrap
public boolean isWordWrap()- Specified by:
isWordWrap
in interfaceFontDefinition
- Returns:
- the value of the 'Word Wrap' attribute.
- See Also:
-
setWordWrap
public void setWordWrap(boolean newWordWrap) - Specified by:
setWordWrap
in interfaceFontDefinition
- Parameters:
newWordWrap
- the new value of the 'Word Wrap' attribute.- See Also:
-
unsetWordWrap
public void unsetWordWrap()- Specified by:
unsetWordWrap
in interfaceFontDefinition
- See Also:
-
isSetWordWrap
public boolean isSetWordWrap()- Specified by:
isSetWordWrap
in interfaceFontDefinition
- Returns:
- whether the value of the 'Word Wrap' attribute is set.
- See Also:
-
getAlignment
- Specified by:
getAlignment
in 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:
setAlignment
in interfaceFontDefinition
- Parameters:
newAlignment
- the new value of the 'Alignment' containment reference.- See Also:
-
getRotation
public double getRotation()- Specified by:
getRotation
in interfaceFontDefinition
- Returns:
- the value of the 'Rotation' attribute.
- See Also:
-
setRotation
public void setRotation(double newRotation) - Specified by:
setRotation
in interfaceFontDefinition
- Parameters:
newRotation
- the new value of the 'Rotation' attribute.- See Also:
-
unsetRotation
public void unsetRotation()- Specified by:
unsetRotation
in interfaceFontDefinition
- See Also:
-
isSetRotation
public boolean isSetRotation()- Specified by:
isSetRotation
in 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:
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
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:
copyInstance
in interfaceFontDefinition
- Specified by:
copyInstance
in interfaceIChartObject
-
hashCode
public int hashCode() -
equals
-