org.eclipse.birt.chart.model.attribute.impl
Class TextAlignmentImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.birt.chart.model.attribute.impl.TextAlignmentImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, TextAlignment

public class TextAlignmentImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements TextAlignment

An implementation of the model object ' Text Alignment'.

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
 
Method Summary
static TextAlignment copyInstance(TextAlignment src)
          A convenient method to get an instance copy.
static TextAlignment create()
          A convenient method to create a new TextAlignment instance and initialize its members
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 HorizontalAlignment getHorizontalAlignment()
           
 VerticalAlignment getVerticalAlignment()
           
 boolean isSetHorizontalAlignment()
           
 boolean isSetVerticalAlignment()
           
 void setHorizontalAlignment(HorizontalAlignment newHorizontalAlignment)
           
 void setVerticalAlignment(VerticalAlignment newVerticalAlignment)
           
 java.lang.String toString()
           
 void unsetHorizontalAlignment()
           
 void unsetVerticalAlignment()
           
 
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, 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
 

Method Detail

getHorizontalAlignment

public HorizontalAlignment getHorizontalAlignment()

Specified by:
getHorizontalAlignment in interface TextAlignment
Returns:
the value of the 'Horizontal Alignment' attribute.
See Also:
HorizontalAlignment, TextAlignment.isSetHorizontalAlignment(), TextAlignment.unsetHorizontalAlignment(), TextAlignment.setHorizontalAlignment(HorizontalAlignment), AttributePackage.getTextAlignment_HorizontalAlignment()

setHorizontalAlignment

public void setHorizontalAlignment(HorizontalAlignment newHorizontalAlignment)

Specified by:
setHorizontalAlignment in interface TextAlignment
Parameters:
newHorizontalAlignment - the new value of the 'Horizontal Alignment' attribute.
See Also:
HorizontalAlignment, TextAlignment.isSetHorizontalAlignment(), TextAlignment.unsetHorizontalAlignment(), TextAlignment.getHorizontalAlignment()

unsetHorizontalAlignment

public void unsetHorizontalAlignment()

Specified by:
unsetHorizontalAlignment in interface TextAlignment
See Also:
TextAlignment.isSetHorizontalAlignment(), TextAlignment.getHorizontalAlignment(), TextAlignment.setHorizontalAlignment(HorizontalAlignment)

isSetHorizontalAlignment

public boolean isSetHorizontalAlignment()

Specified by:
isSetHorizontalAlignment in interface TextAlignment
Returns:
whether the value of the 'Horizontal Alignment' attribute is set.
See Also:
TextAlignment.unsetHorizontalAlignment(), TextAlignment.getHorizontalAlignment(), TextAlignment.setHorizontalAlignment(HorizontalAlignment)

getVerticalAlignment

public VerticalAlignment getVerticalAlignment()

Specified by:
getVerticalAlignment in interface TextAlignment
Returns:
the value of the 'Vertical Alignment' attribute.
See Also:
VerticalAlignment, TextAlignment.isSetVerticalAlignment(), TextAlignment.unsetVerticalAlignment(), TextAlignment.setVerticalAlignment(VerticalAlignment), AttributePackage.getTextAlignment_VerticalAlignment()

setVerticalAlignment

public void setVerticalAlignment(VerticalAlignment newVerticalAlignment)

Specified by:
setVerticalAlignment in interface TextAlignment
Parameters:
newVerticalAlignment - the new value of the 'Vertical Alignment' attribute.
See Also:
VerticalAlignment, TextAlignment.isSetVerticalAlignment(), TextAlignment.unsetVerticalAlignment(), TextAlignment.getVerticalAlignment()

unsetVerticalAlignment

public void unsetVerticalAlignment()

Specified by:
unsetVerticalAlignment in interface TextAlignment
See Also:
TextAlignment.isSetVerticalAlignment(), TextAlignment.getVerticalAlignment(), TextAlignment.setVerticalAlignment(VerticalAlignment)

isSetVerticalAlignment

public boolean isSetVerticalAlignment()

Specified by:
isSetVerticalAlignment in interface TextAlignment
Returns:
whether the value of the 'Vertical Alignment' attribute is set.
See Also:
TextAlignment.unsetVerticalAlignment(), TextAlignment.getVerticalAlignment(), TextAlignment.setVerticalAlignment(VerticalAlignment)

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject

toString

public java.lang.String toString()


create

public static final TextAlignment create()
A convenient method to create a new TextAlignment instance and initialize its members

Returns:

copyInstance

public static TextAlignment copyInstance(TextAlignment src)
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().

Parameters:
src -
Returns:


Copyright © 2005-2007 Actuate Corp. All rights reserved.