Interface TextAlignment
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,IChartObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
TextAlignmentImpl
A representation of the model object 'Text
Alignment'.
This type defines the alignment to be used for the text.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Horizontal Alignment' attribute.Returns the value of the 'Vertical Alignment' attribute.booleanReturns whether the value of the 'Horizontal Alignment' attribute is set.booleanReturns whether the value of the 'Vertical Alignment' attribute is set.voidSets the value of the 'Horizontal Alignment' attribute.voidSets the value of the 'Vertical Alignment' attribute.voidUnsets the value of the 'Horizontal Alignment' attribute.voidUnsets the value of the 'Vertical Alignment' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getHorizontalAlignment
HorizontalAlignment getHorizontalAlignment()Returns the value of the 'Horizontal Alignment' attribute. The default value is"Left". The literals are from the enumerationHorizontalAlignment. Gets the horizontal component of the text alignment.- Returns:
- the value of the 'Horizontal Alignment' attribute.
- See Also:
-
setHorizontalAlignment
Sets the value of the 'Horizontal Alignment' attribute. Sets the horizontal component of the text alignment.- Parameters:
value- the new value of the 'Horizontal Alignment' attribute.- See Also:
-
unsetHorizontalAlignment
void unsetHorizontalAlignment()Unsets the value of the 'Horizontal Alignment' attribute. -
isSetHorizontalAlignment
boolean isSetHorizontalAlignment()Returns whether the value of the 'Horizontal Alignment' attribute is set.- Returns:
- whether the value of the 'Horizontal Alignment' attribute is set.
- See Also:
-
getVerticalAlignment
VerticalAlignment getVerticalAlignment()Returns the value of the 'Vertical Alignment' attribute. The default value is"Top". The literals are from the enumerationVerticalAlignment. Gets the vertical component of the text alignment.- Returns:
- the value of the 'Vertical Alignment' attribute.
- See Also:
-
setVerticalAlignment
Sets the value of the 'Vertical Alignment' attribute. Sets the horizontal component of the text alignment.- Parameters:
value- the new value of the 'Vertical Alignment' attribute.- See Also:
-
unsetVerticalAlignment
void unsetVerticalAlignment()Unsets the value of the 'Vertical Alignment' attribute. -
isSetVerticalAlignment
boolean isSetVerticalAlignment()Returns whether the value of the 'Vertical Alignment' attribute is set.- Returns:
- whether the value of the 'Vertical Alignment' attribute is set.
- See Also:
-
copyInstance
TextAlignment copyInstance()- Specified by:
copyInstancein interfaceIChartObject
-