public class FontImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl implements Font
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
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
Modifier and Type | Field and Description |
---|---|
protected FontAlign |
align
The cached value of the '
Align ' attribute |
protected static FontAlign |
ALIGN_EDEFAULT
The default value of the '
Align ' attribute |
protected FontDecoration |
decoration
The cached value of the '
Decoration ' attribute |
protected static FontDecoration |
DECORATION_EDEFAULT
The default value of the '
Decoration ' attribute |
protected CSS2FontFamily |
family
The cached value of the '
Family ' attribute |
protected static CSS2FontFamily |
FAMILY_EDEFAULT
The default value of the '
Family ' attribute |
protected BigDecimal |
rotation
The cached value of the '
Rotation ' attribute |
protected static BigDecimal |
ROTATION_EDEFAULT
The default value of the '
Rotation ' attribute |
protected CSS2FontSize |
size
The cached value of the '
Size ' attribute |
protected static CSS2FontSize |
SIZE_EDEFAULT
The default value of the '
Size ' attribute |
protected CSS2FontStyle |
style
The cached value of the '
Style ' attribute |
protected static CSS2FontStyle |
STYLE_EDEFAULT
The default value of the '
Style ' attribute |
protected CSS2FontWeight |
weight
The cached value of the '
Weight ' attribute |
protected static CSS2FontWeight |
WEIGHT_EDEFAULT
The default value of the '
Weight ' attribute |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
FontImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetContainerAnnotationGraphics(AnnotationGraphics newContainerAnnotationGraphics,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
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,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
void |
fromPNML(org.apache.axiom.om.OMElement locRoot,
IdRefLinker idr)
set values to conform PNML document
|
FontAlign |
getAlign() |
AnnotationGraphics |
getContainerAnnotationGraphics() |
FontDecoration |
getDecoration() |
CSS2FontFamily |
getFamily() |
BigDecimal |
getRotation() |
CSS2FontSize |
getSize() |
CSS2FontStyle |
getStyle() |
CSS2FontWeight |
getWeight() |
void |
setAlign(FontAlign newAlign) |
void |
setContainerAnnotationGraphics(AnnotationGraphics newContainerAnnotationGraphics) |
void |
setDecoration(FontDecoration newDecoration) |
void |
setFamily(CSS2FontFamily newFamily) |
void |
setRotation(BigDecimal newRotation) |
void |
setSize(CSS2FontSize newSize) |
void |
setStyle(CSS2FontStyle newStyle) |
void |
setWeight(CSS2FontWeight newWeight) |
String |
toPNML()
Return the string containing the pnml output
|
void |
toPNML(FileChannel fc)
Return the string containing the pnml output
|
String |
toString() |
boolean |
validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
-
|
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final FontAlign ALIGN_EDEFAULT
Align
' attribute.
getAlign()
protected FontAlign align
Align
' attribute.
getAlign()
protected static final FontDecoration DECORATION_EDEFAULT
Decoration
' attribute.
getDecoration()
protected FontDecoration decoration
Decoration
' attribute.
getDecoration()
protected static final CSS2FontFamily FAMILY_EDEFAULT
Family
' attribute.
getFamily()
protected CSS2FontFamily family
Family
' attribute.
getFamily()
protected static final BigDecimal ROTATION_EDEFAULT
Rotation
' attribute.
getRotation()
protected BigDecimal rotation
Rotation
' attribute.
getRotation()
protected static final CSS2FontSize SIZE_EDEFAULT
Size
' attribute.
getSize()
protected CSS2FontSize size
Size
' attribute.
getSize()
protected static final CSS2FontStyle STYLE_EDEFAULT
Style
' attribute.
getStyle()
protected CSS2FontStyle style
Style
' attribute.
getStyle()
protected static final CSS2FontWeight WEIGHT_EDEFAULT
Weight
' attribute.
getWeight()
protected CSS2FontWeight weight
Weight
' attribute.
getWeight()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public FontAlign getAlign()
getAlign
in interface Font
FontAlign
,
Font.setAlign(FontAlign)
,
PnmlcoremodelPackage.getFont_Align()
public void setAlign(FontAlign newAlign)
setAlign
in interface Font
newAlign
- the new value of the 'Align' attribute.FontAlign
,
Font.getAlign()
public FontDecoration getDecoration()
getDecoration
in interface Font
FontDecoration
,
Font.setDecoration(FontDecoration)
,
PnmlcoremodelPackage.getFont_Decoration()
public void setDecoration(FontDecoration newDecoration)
setDecoration
in interface Font
newDecoration
- the new value of the 'Decoration' attribute.FontDecoration
,
Font.getDecoration()
public CSS2FontFamily getFamily()
getFamily
in interface Font
CSS2FontFamily
,
Font.setFamily(CSS2FontFamily)
,
PnmlcoremodelPackage.getFont_Family()
public void setFamily(CSS2FontFamily newFamily)
setFamily
in interface Font
newFamily
- the new value of the 'Family' attribute.CSS2FontFamily
,
Font.getFamily()
public BigDecimal getRotation()
getRotation
in interface Font
Font.setRotation(BigDecimal)
,
PnmlcoremodelPackage.getFont_Rotation()
public void setRotation(BigDecimal newRotation)
setRotation
in interface Font
newRotation
- the new value of the 'Rotation' attribute.Font.getRotation()
public CSS2FontSize getSize()
getSize
in interface Font
CSS2FontSize
,
Font.setSize(CSS2FontSize)
,
PnmlcoremodelPackage.getFont_Size()
public void setSize(CSS2FontSize newSize)
setSize
in interface Font
newSize
- the new value of the 'Size' attribute.CSS2FontSize
,
Font.getSize()
public CSS2FontStyle getStyle()
getStyle
in interface Font
CSS2FontStyle
,
Font.setStyle(CSS2FontStyle)
,
PnmlcoremodelPackage.getFont_Style()
public void setStyle(CSS2FontStyle newStyle)
setStyle
in interface Font
newStyle
- the new value of the 'Style' attribute.CSS2FontStyle
,
Font.getStyle()
public CSS2FontWeight getWeight()
getWeight
in interface Font
CSS2FontWeight
,
Font.setWeight(CSS2FontWeight)
,
PnmlcoremodelPackage.getFont_Weight()
public void setWeight(CSS2FontWeight newWeight)
setWeight
in interface Font
newWeight
- the new value of the 'Weight' attribute.CSS2FontWeight
,
Font.getWeight()
public AnnotationGraphics getContainerAnnotationGraphics()
getContainerAnnotationGraphics
in interface Font
Font.setContainerAnnotationGraphics(AnnotationGraphics)
,
PnmlcoremodelPackage.getFont_ContainerAnnotationGraphics()
,
AnnotationGraphics.getFont()
public org.eclipse.emf.common.notify.NotificationChain basicSetContainerAnnotationGraphics(AnnotationGraphics newContainerAnnotationGraphics, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setContainerAnnotationGraphics(AnnotationGraphics newContainerAnnotationGraphics)
setContainerAnnotationGraphics
in interface Font
newContainerAnnotationGraphics
- the new value of the 'Container Annotation Graphics' container reference.Font.getContainerAnnotationGraphics()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public 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, 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 String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public String toPNML()
public void fromPNML(org.apache.axiom.om.OMElement locRoot, IdRefLinker idr) throws InnerBuildException, InvalidIDException, VoidRepositoryException
Font
fromPNML
in interface Font
InnerBuildException
InvalidIDException
VoidRepositoryException
public void toPNML(FileChannel fc)
public boolean validateOCL(org.eclipse.emf.common.util.DiagnosticChain diagnostics)
validateOCL
in interface Font
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.