|
|||||||||||
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
An implementation of the model object ' Font Definition'.
The following features are implemented:
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
Nested classes inherited from class 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)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
TextAlignment |
getAlignment()
|
java.lang.String |
getName()
|
double |
getRotation()
|
float |
getSize()
|
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 |
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, 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
- Method Detail |
public java.lang.String getName()
getName
in interface FontDefinition
FontDefinition.setName(String)
,
AttributePackage.getFontDefinition_Name()
public void setName(java.lang.String newName)
setName
in interface FontDefinition
newName
- the new value of the 'Name' attribute.FontDefinition.getName()
public float getSize()
getSize
in interface FontDefinition
FontDefinition.isSetSize()
,
FontDefinition.unsetSize()
,
FontDefinition.setSize(float)
,
AttributePackage.getFontDefinition_Size()
public void setSize(float newSize)
setSize
in interface FontDefinition
newSize
- the new value of the 'Size' attribute.FontDefinition.isSetSize()
,
FontDefinition.unsetSize()
,
FontDefinition.getSize()
public void unsetSize()
unsetSize
in interface FontDefinition
FontDefinition.isSetSize()
,
FontDefinition.getSize()
,
FontDefinition.setSize(float)
public boolean isSetSize()
isSetSize
in interface FontDefinition
FontDefinition.unsetSize()
,
FontDefinition.getSize()
,
FontDefinition.setSize(float)
public boolean isBold()
isBold
in interface FontDefinition
FontDefinition.isSetBold()
,
FontDefinition.unsetBold()
,
FontDefinition.setBold(boolean)
,
AttributePackage.getFontDefinition_Bold()
public void setBold(boolean newBold)
setBold
in interface FontDefinition
newBold
- the new value of the 'Bold' attribute.FontDefinition.isSetBold()
,
FontDefinition.unsetBold()
,
FontDefinition.isBold()
public void unsetBold()
unsetBold
in interface FontDefinition
FontDefinition.isSetBold()
,
FontDefinition.isBold()
,
FontDefinition.setBold(boolean)
public boolean isSetBold()
isSetBold
in interface FontDefinition
FontDefinition.unsetBold()
,
FontDefinition.isBold()
,
FontDefinition.setBold(boolean)
public boolean isItalic()
isItalic
in interface FontDefinition
FontDefinition.isSetItalic()
,
FontDefinition.unsetItalic()
,
FontDefinition.setItalic(boolean)
,
AttributePackage.getFontDefinition_Italic()
public void setItalic(boolean newItalic)
setItalic
in interface FontDefinition
newItalic
- the new value of the 'Italic' attribute.FontDefinition.isSetItalic()
,
FontDefinition.unsetItalic()
,
FontDefinition.isItalic()
public void unsetItalic()
unsetItalic
in interface FontDefinition
FontDefinition.isSetItalic()
,
FontDefinition.isItalic()
,
FontDefinition.setItalic(boolean)
public boolean isSetItalic()
isSetItalic
in interface FontDefinition
FontDefinition.unsetItalic()
,
FontDefinition.isItalic()
,
FontDefinition.setItalic(boolean)
public boolean isStrikethrough()
isStrikethrough
in interface FontDefinition
FontDefinition.isSetStrikethrough()
,
FontDefinition.unsetStrikethrough()
,
FontDefinition.setStrikethrough(boolean)
,
AttributePackage.getFontDefinition_Strikethrough()
public void setStrikethrough(boolean newStrikethrough)
setStrikethrough
in interface FontDefinition
newStrikethrough
- the new value of the 'Strikethrough' attribute.FontDefinition.isSetStrikethrough()
,
FontDefinition.unsetStrikethrough()
,
FontDefinition.isStrikethrough()
public void unsetStrikethrough()
unsetStrikethrough
in interface FontDefinition
FontDefinition.isSetStrikethrough()
,
FontDefinition.isStrikethrough()
,
FontDefinition.setStrikethrough(boolean)
public boolean isSetStrikethrough()
isSetStrikethrough
in interface FontDefinition
FontDefinition.unsetStrikethrough()
,
FontDefinition.isStrikethrough()
,
FontDefinition.setStrikethrough(boolean)
public boolean isUnderline()
isUnderline
in interface FontDefinition
FontDefinition.isSetUnderline()
,
FontDefinition.unsetUnderline()
,
FontDefinition.setUnderline(boolean)
,
AttributePackage.getFontDefinition_Underline()
public void setUnderline(boolean newUnderline)
setUnderline
in interface FontDefinition
newUnderline
- the new value of the 'Underline' attribute.FontDefinition.isSetUnderline()
,
FontDefinition.unsetUnderline()
,
FontDefinition.isUnderline()
public void unsetUnderline()
unsetUnderline
in interface FontDefinition
FontDefinition.isSetUnderline()
,
FontDefinition.isUnderline()
,
FontDefinition.setUnderline(boolean)
public boolean isSetUnderline()
isSetUnderline
in interface FontDefinition
FontDefinition.unsetUnderline()
,
FontDefinition.isUnderline()
,
FontDefinition.setUnderline(boolean)
public boolean isWordWrap()
isWordWrap
in interface FontDefinition
FontDefinition.isSetWordWrap()
,
FontDefinition.unsetWordWrap()
,
FontDefinition.setWordWrap(boolean)
,
AttributePackage.getFontDefinition_WordWrap()
public void setWordWrap(boolean newWordWrap)
setWordWrap
in interface FontDefinition
newWordWrap
- the new value of the 'Word Wrap' attribute.FontDefinition.isSetWordWrap()
,
FontDefinition.unsetWordWrap()
,
FontDefinition.isWordWrap()
public void unsetWordWrap()
unsetWordWrap
in interface FontDefinition
FontDefinition.isSetWordWrap()
,
FontDefinition.isWordWrap()
,
FontDefinition.setWordWrap(boolean)
public boolean isSetWordWrap()
isSetWordWrap
in interface FontDefinition
FontDefinition.unsetWordWrap()
,
FontDefinition.isWordWrap()
,
FontDefinition.setWordWrap(boolean)
public TextAlignment getAlignment()
getAlignment
in interface FontDefinition
FontDefinition.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 FontDefinition
newAlignment
- the new value of the 'Alignment' containment reference.FontDefinition.getAlignment()
public double getRotation()
getRotation
in interface FontDefinition
FontDefinition.isSetRotation()
,
FontDefinition.unsetRotation()
,
FontDefinition.setRotation(double)
,
AttributePackage.getFontDefinition_Rotation()
public void setRotation(double newRotation)
setRotation
in interface FontDefinition
newRotation
- the new value of the 'Rotation' attribute.FontDefinition.isSetRotation()
,
FontDefinition.unsetRotation()
,
FontDefinition.getRotation()
public void unsetRotation()
unsetRotation
in interface FontDefinition
FontDefinition.isSetRotation()
,
FontDefinition.getRotation()
,
FontDefinition.setRotation(double)
public boolean isSetRotation()
isSetRotation
in interface FontDefinition
FontDefinition.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)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
public java.lang.String toString()
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
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |