public class FontDefinitionImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements FontDefinition
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
Constructor and Description |
---|
FontDefinitionImpl(java.lang.String sName,
float fSize)
A convenient constructor that allows partial definition of member
variables.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetAlignment(TextAlignment newAlignment,
org.eclipse.emf.common.notify.NotificationChain msgs) |
FontDefinition |
copyInstance()
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.
|
static FontDefinition |
createEmptyDefault() |
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() |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
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
eNotificationRequired, eNotify
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public FontDefinitionImpl(java.lang.String sName, float fSize)
sName
- dSize
- 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)
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.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public 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 final FontDefinition createEmptyDefault()
public FontDefinition copyInstance()
copyInstance
in interface FontDefinition
copyInstance
in interface IChartObject
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2005-2008 Actuate Corp. All rights reserved.