|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class FontDefinitionImpl
An implementation of the model object ' Font Definition'.
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> |
| 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 | |
|---|---|
FontDefinitionImpl(java.lang.String sName,
float fSize)
A convenient constructor that allows partial definition of member variables. |
|
| Method Summary | |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetAlignment(TextAlignment newAlignment,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
static FontDefinition |
copyInstance(FontDefinition src)
A convenient method to get an instance copy. |
static FontDefinition |
create(java.lang.String sName,
float fSize,
boolean bBold,
boolean bItalic,
boolean bUnderline,
boolean bStrikethrough,
boolean bWordWrap,
double dRotation,
TextAlignment ta)
NOTE: Manually written |
static FontDefinition |
createEmpty()
Creates an empty FontDefinition instance. |
java.lang.Object |
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 |
equals(java.lang.Object obj)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
TextAlignment |
getAlignment()
|
java.lang.String |
getName()
|
double |
getRotation()
|
float |
getSize()
|
int |
hashCode()
|
boolean |
isBold()
|
boolean |
isItalic()
|
boolean |
isSetBold()
|
boolean |
isSetItalic()
|
boolean |
isSetRotation()
|
boolean |
isSetSize()
|
boolean |
isSetStrikethrough()
|
boolean |
isSetUnderline()
|
boolean |
isSetWordWrap()
|
boolean |
isStrikethrough()
|
boolean |
isUnderline()
|
boolean |
isWordWrap()
|
void |
setAlignment(TextAlignment newAlignment)
|
void |
setBold(boolean newBold)
|
void |
setItalic(boolean newItalic)
|
void |
setName(java.lang.String newName)
|
void |
setRotation(double newRotation)
|
void |
setSize(float newSize)
|
void |
setStrikethrough(boolean newStrikethrough)
|
void |
setUnderline(boolean newUnderline)
|
void |
setWordWrap(boolean newWordWrap)
|
java.lang.String |
toString()
|
void |
unsetBold()
|
void |
unsetItalic()
|
void |
unsetRotation()
|
void |
unsetSize()
|
void |
unsetStrikethrough()
|
void |
unsetUnderline()
|
void |
unsetWordWrap()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, 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 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Constructor Detail |
|---|
public FontDefinitionImpl(java.lang.String sName,
float fSize)
sName - dSize - | Method Detail |
|---|
public java.lang.String getName()
getName in interface FontDefinitionFontDefinition.setName(String),
AttributePackage.getFontDefinition_Name()public void setName(java.lang.String newName)
setName in interface FontDefinitionnewName - the new value of the 'Name' attribute.FontDefinition.getName()public float getSize()
getSize in interface FontDefinitionFontDefinition.isSetSize(),
FontDefinition.unsetSize(),
FontDefinition.setSize(float),
AttributePackage.getFontDefinition_Size()public void setSize(float newSize)
setSize in interface FontDefinitionnewSize - the new value of the 'Size' attribute.FontDefinition.isSetSize(),
FontDefinition.unsetSize(),
FontDefinition.getSize()public void unsetSize()
unsetSize in interface FontDefinitionFontDefinition.isSetSize(),
FontDefinition.getSize(),
FontDefinition.setSize(float)public boolean isSetSize()
isSetSize in interface FontDefinitionFontDefinition.unsetSize(),
FontDefinition.getSize(),
FontDefinition.setSize(float)public boolean isBold()
isBold in interface FontDefinitionFontDefinition.isSetBold(),
FontDefinition.unsetBold(),
FontDefinition.setBold(boolean),
AttributePackage.getFontDefinition_Bold()public void setBold(boolean newBold)
setBold in interface FontDefinitionnewBold - the new value of the 'Bold' attribute.FontDefinition.isSetBold(),
FontDefinition.unsetBold(),
FontDefinition.isBold()public void unsetBold()
unsetBold in interface FontDefinitionFontDefinition.isSetBold(),
FontDefinition.isBold(),
FontDefinition.setBold(boolean)public boolean isSetBold()
isSetBold in interface FontDefinitionFontDefinition.unsetBold(),
FontDefinition.isBold(),
FontDefinition.setBold(boolean)public boolean isItalic()
isItalic in interface FontDefinitionFontDefinition.isSetItalic(),
FontDefinition.unsetItalic(),
FontDefinition.setItalic(boolean),
AttributePackage.getFontDefinition_Italic()public void setItalic(boolean newItalic)
setItalic in interface FontDefinitionnewItalic - the new value of the 'Italic' attribute.FontDefinition.isSetItalic(),
FontDefinition.unsetItalic(),
FontDefinition.isItalic()public void unsetItalic()
unsetItalic in interface FontDefinitionFontDefinition.isSetItalic(),
FontDefinition.isItalic(),
FontDefinition.setItalic(boolean)public boolean isSetItalic()
isSetItalic in interface FontDefinitionFontDefinition.unsetItalic(),
FontDefinition.isItalic(),
FontDefinition.setItalic(boolean)public boolean isStrikethrough()
isStrikethrough in interface FontDefinitionFontDefinition.isSetStrikethrough(),
FontDefinition.unsetStrikethrough(),
FontDefinition.setStrikethrough(boolean),
AttributePackage.getFontDefinition_Strikethrough()public void setStrikethrough(boolean newStrikethrough)
setStrikethrough in interface FontDefinitionnewStrikethrough - the new value of the 'Strikethrough' attribute.FontDefinition.isSetStrikethrough(),
FontDefinition.unsetStrikethrough(),
FontDefinition.isStrikethrough()public void unsetStrikethrough()
unsetStrikethrough in interface FontDefinitionFontDefinition.isSetStrikethrough(),
FontDefinition.isStrikethrough(),
FontDefinition.setStrikethrough(boolean)public boolean isSetStrikethrough()
isSetStrikethrough in interface FontDefinitionFontDefinition.unsetStrikethrough(),
FontDefinition.isStrikethrough(),
FontDefinition.setStrikethrough(boolean)public boolean isUnderline()
isUnderline in interface FontDefinitionFontDefinition.isSetUnderline(),
FontDefinition.unsetUnderline(),
FontDefinition.setUnderline(boolean),
AttributePackage.getFontDefinition_Underline()public void setUnderline(boolean newUnderline)
setUnderline in interface FontDefinitionnewUnderline - the new value of the 'Underline' attribute.FontDefinition.isSetUnderline(),
FontDefinition.unsetUnderline(),
FontDefinition.isUnderline()public void unsetUnderline()
unsetUnderline in interface FontDefinitionFontDefinition.isSetUnderline(),
FontDefinition.isUnderline(),
FontDefinition.setUnderline(boolean)public boolean isSetUnderline()
isSetUnderline in interface FontDefinitionFontDefinition.unsetUnderline(),
FontDefinition.isUnderline(),
FontDefinition.setUnderline(boolean)public boolean isWordWrap()
isWordWrap in interface FontDefinitionFontDefinition.isSetWordWrap(),
FontDefinition.unsetWordWrap(),
FontDefinition.setWordWrap(boolean),
AttributePackage.getFontDefinition_WordWrap()public void setWordWrap(boolean newWordWrap)
setWordWrap in interface FontDefinitionnewWordWrap - the new value of the 'Word Wrap' attribute.FontDefinition.isSetWordWrap(),
FontDefinition.unsetWordWrap(),
FontDefinition.isWordWrap()public void unsetWordWrap()
unsetWordWrap in interface FontDefinitionFontDefinition.isSetWordWrap(),
FontDefinition.isWordWrap(),
FontDefinition.setWordWrap(boolean)public boolean isSetWordWrap()
isSetWordWrap in interface FontDefinitionFontDefinition.unsetWordWrap(),
FontDefinition.isWordWrap(),
FontDefinition.setWordWrap(boolean)public TextAlignment getAlignment()
getAlignment in interface FontDefinitionFontDefinition.setAlignment(TextAlignment),
AttributePackage.getFontDefinition_Alignment()
public org.eclipse.emf.common.notify.NotificationChain basicSetAlignment(TextAlignment newAlignment,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setAlignment(TextAlignment newAlignment)
setAlignment in interface FontDefinitionnewAlignment - the new value of the 'Alignment' containment reference.FontDefinition.getAlignment()public double getRotation()
getRotation in interface FontDefinitionFontDefinition.isSetRotation(),
FontDefinition.unsetRotation(),
FontDefinition.setRotation(double),
AttributePackage.getFontDefinition_Rotation()public void setRotation(double newRotation)
setRotation in interface FontDefinitionnewRotation - the new value of the 'Rotation' attribute.FontDefinition.isSetRotation(),
FontDefinition.unsetRotation(),
FontDefinition.getRotation()public void unsetRotation()
unsetRotation in interface FontDefinitionFontDefinition.isSetRotation(),
FontDefinition.getRotation(),
FontDefinition.setRotation(double)public boolean isSetRotation()
isSetRotation in interface FontDefinitionFontDefinition.unsetRotation(),
FontDefinition.getRotation(),
FontDefinition.setRotation(double)
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public static final FontDefinition create(java.lang.String sName,
float fSize,
boolean bBold,
boolean bItalic,
boolean bUnderline,
boolean bStrikethrough,
boolean bWordWrap,
double dRotation,
TextAlignment ta)
sName - fSize - bBold - bItalic - bUnderline - bStrikethrough - bWordWrap - dRotation - ta -
public static final FontDefinition createEmpty()
public static FontDefinition copyInstance(FontDefinition src)
src -
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||