org.eclipse.emf.ecp.view.template.style.fontProperties.model.impl
Class VTFontPropertiesStylePropertyImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecp.view.template.style.fontProperties.model.impl.VTFontPropertiesStylePropertyImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, VTStyleProperty, VTFontPropertiesStyleProperty

public class VTFontPropertiesStylePropertyImpl
extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
implements VTFontPropertiesStyleProperty

An implementation of the model object 'Style Property'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 boolean equalStyles(VTStyleProperty styleProperty)
          Compare this VTStyleProperty with another.
 void eSet(int featureID, Object newValue)
           
 void eUnset(int featureID)
           
 String getColorHEX()
           
 String getFontName()
           
 int getHeight()
           
 boolean isBold()
           
 boolean isItalic()
           
 void setBold(boolean newBold)
           
 void setColorHEX(String newColorHEX)
           
 void setFontName(String newFontName)
           
 void setHeight(int newHeight)
           
 void setItalic(boolean newItalic)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, 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, eInvoke, 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
 

Method Detail

isItalic

public boolean isItalic()

Specified by:
isItalic in interface VTFontPropertiesStyleProperty
Returns:
the value of the 'Italic' attribute.
See Also:
VTFontPropertiesStyleProperty.setItalic(boolean), VTFontPropertiesPackage.getFontPropertiesStyleProperty_Italic()

setItalic

public void setItalic(boolean newItalic)

Specified by:
setItalic in interface VTFontPropertiesStyleProperty
Parameters:
newItalic - the new value of the 'Italic' attribute.
See Also:
VTFontPropertiesStyleProperty.isItalic()

isBold

public boolean isBold()

Specified by:
isBold in interface VTFontPropertiesStyleProperty
Returns:
the value of the 'Bold' attribute.
See Also:
VTFontPropertiesStyleProperty.setBold(boolean), VTFontPropertiesPackage.getFontPropertiesStyleProperty_Bold()

setBold

public void setBold(boolean newBold)

Specified by:
setBold in interface VTFontPropertiesStyleProperty
Parameters:
newBold - the new value of the 'Bold' attribute.
See Also:
VTFontPropertiesStyleProperty.isBold()

getColorHEX

public String getColorHEX()

Specified by:
getColorHEX in interface VTFontPropertiesStyleProperty
Returns:
the value of the 'Color HEX' attribute.
See Also:
VTFontPropertiesStyleProperty.setColorHEX(String), VTFontPropertiesPackage.getFontPropertiesStyleProperty_ColorHEX()

setColorHEX

public void setColorHEX(String newColorHEX)

Specified by:
setColorHEX in interface VTFontPropertiesStyleProperty
Parameters:
newColorHEX - the new value of the 'Color HEX' attribute.
See Also:
VTFontPropertiesStyleProperty.getColorHEX()

getHeight

public int getHeight()

Specified by:
getHeight in interface VTFontPropertiesStyleProperty
Returns:
the value of the 'Height' attribute.
See Also:
VTFontPropertiesStyleProperty.setHeight(int), VTFontPropertiesPackage.getFontPropertiesStyleProperty_Height()

setHeight

public void setHeight(int newHeight)

Specified by:
setHeight in interface VTFontPropertiesStyleProperty
Parameters:
newHeight - the new value of the 'Height' attribute.
See Also:
VTFontPropertiesStyleProperty.getHeight()

getFontName

public String getFontName()

Specified by:
getFontName in interface VTFontPropertiesStyleProperty
Returns:
the value of the 'Font Name' attribute.
See Also:
VTFontPropertiesStyleProperty.setFontName(String), VTFontPropertiesPackage.getFontPropertiesStyleProperty_FontName()

setFontName

public void setFontName(String newFontName)

Specified by:
setFontName in interface VTFontPropertiesStyleProperty
Parameters:
newFontName - the new value of the 'Font Name' attribute.
See Also:
VTFontPropertiesStyleProperty.getFontName()

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

equalStyles

public boolean equalStyles(VTStyleProperty styleProperty)
Compare this VTStyleProperty with another.

Specified by:
equalStyles in interface VTStyleProperty
Parameters:
styleProperty - the VTStyleProperty to compare to
Returns:
true if both properties are equal
See Also:
VTStyleProperty.equalStyles(org.eclipse.emf.ecp.view.template.model.VTStyleProperty)


Copyright © 2015. All Rights Reserved.