|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextAlignment
A representation of the model object 'Text Alignment'. This type defines the alignment to be used for the text.
The following features are supported:
AttributePackage.getTextAlignment()
Method Summary | |
---|---|
TextAlignment |
copyInstance()
A convenient method to get an instance copy. |
HorizontalAlignment |
getHorizontalAlignment()
Returns the value of the 'Horizontal Alignment' attribute. |
VerticalAlignment |
getVerticalAlignment()
Returns the value of the 'Vertical Alignment' attribute. |
boolean |
isSetHorizontalAlignment()
Returns whether the value of the ' Horizontal Alignment ' attribute is set. |
boolean |
isSetVerticalAlignment()
Returns whether the value of the ' Vertical Alignment ' attribute is set. |
void |
setHorizontalAlignment(HorizontalAlignment value)
Sets the value of the ' Horizontal Alignment ' attribute. |
void |
setVerticalAlignment(VerticalAlignment value)
Sets the value of the ' Vertical Alignment ' attribute. |
void |
unsetHorizontalAlignment()
Unsets the value of the ' Horizontal Alignment ' attribute. |
void |
unsetVerticalAlignment()
Unsets 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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
HorizontalAlignment getHorizontalAlignment()
"Left"
.
The literals are from the enumeration HorizontalAlignment
.
Gets the horizontal
component of the text alignment.
HorizontalAlignment
,
isSetHorizontalAlignment()
,
unsetHorizontalAlignment()
,
setHorizontalAlignment(HorizontalAlignment)
,
AttributePackage.getTextAlignment_HorizontalAlignment()
void setHorizontalAlignment(HorizontalAlignment value)
Horizontal Alignment
' attribute.
Sets the horizontal component of the text alignment.
value
- the new value of the 'Horizontal Alignment' attribute.HorizontalAlignment
,
isSetHorizontalAlignment()
,
unsetHorizontalAlignment()
,
getHorizontalAlignment()
void unsetHorizontalAlignment()
Horizontal Alignment
' attribute.
isSetHorizontalAlignment()
,
getHorizontalAlignment()
,
setHorizontalAlignment(HorizontalAlignment)
boolean isSetHorizontalAlignment()
Horizontal Alignment
' attribute is set.
unsetHorizontalAlignment()
,
getHorizontalAlignment()
,
setHorizontalAlignment(HorizontalAlignment)
VerticalAlignment getVerticalAlignment()
"Top"
.
The literals are from the enumeration VerticalAlignment
.
Gets the vertical
component of the text alignment.
VerticalAlignment
,
isSetVerticalAlignment()
,
unsetVerticalAlignment()
,
setVerticalAlignment(VerticalAlignment)
,
AttributePackage.getTextAlignment_VerticalAlignment()
void setVerticalAlignment(VerticalAlignment value)
Vertical Alignment
' attribute.
Sets the horizontal component of the text alignment.
value
- the new value of the 'Vertical Alignment' attribute.VerticalAlignment
,
isSetVerticalAlignment()
,
unsetVerticalAlignment()
,
getVerticalAlignment()
void unsetVerticalAlignment()
Vertical Alignment
' attribute.
isSetVerticalAlignment()
,
getVerticalAlignment()
,
setVerticalAlignment(VerticalAlignment)
boolean isSetVerticalAlignment()
Vertical Alignment
' attribute is set.
unsetVerticalAlignment()
,
getVerticalAlignment()
,
setVerticalAlignment(VerticalAlignment)
TextAlignment copyInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |