Interface AbstractText
- All Superinterfaces:
AbstractStyle
,org.eclipse.emf.ecore.EObject
,GraphicsAlgorithm
,GraphicsAlgorithmContainer
,org.eclipse.emf.common.notify.Notifier
,PropertyContainer
- All Known Implementing Classes:
AbstractTextImpl
,MultiTextImpl
,TextImpl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetAngle()
Deprecated.This attribute exists because of compatibility (after removing old diagrams would not be readable any more).getFont()
Returns the value of the 'Font' reference.Returns the value of the 'Horizontal Alignment' attribute.Returns the value of the 'Rotation' attribute.org.eclipse.emf.common.util.EList<TextStyleRegion>
Returns the value of the 'Style Regions' containment reference list.getValue()
Returns the value of the 'Value' attribute.Returns the value of the 'Vertical Alignment' attribute.void
Deprecated.This attribute exists because of compatibility (after removing old diagrams would not be readable any more).void
Sets the value of the 'Font
' reference.void
Sets the value of the 'Horizontal Alignment
' attribute.void
setRotation
(Double value) Sets the value of the 'Rotation
' attribute.void
Sets the value of the 'Value
' attribute.void
setVerticalAlignment
(Orientation value) Sets the value of the 'Vertical Alignment
' attribute.Methods inherited from interface org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle
getBackground, getFilled, getForeground, getLineStyle, getLineVisible, getLineWidth, getRenderingStyle, getTransparency, isSetFilled, isSetLineVisible, setBackground, setFilled, setForeground, setLineStyle, setLineVisible, setLineWidth, setRenderingStyle, setTransparency, unsetFilled, unsetLineVisible
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.graphiti.mm.algorithms.GraphicsAlgorithm
getGraphicsAlgorithmChildren, getHeight, getParentGraphicsAlgorithm, getPictogramElement, getStyle, getWidth, getX, getY, setHeight, setParentGraphicsAlgorithm, setPictogramElement, setStyle, setWidth, setX, setY
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.eclipse.graphiti.mm.PropertyContainer
getProperties
-
Method Details
-
getFont
Font getFont()Returns the value of the 'Font' reference.If the meaning of the 'Font' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Font' reference.
- See Also:
-
setFont
Sets the value of the 'Font
' reference.- Parameters:
value
- the new value of the 'Font' reference.- See Also:
-
getHorizontalAlignment
Orientation getHorizontalAlignment()Returns the value of the 'Horizontal Alignment' attribute. The default value is"ALIGNMENT_LEFT"
. The literals are from the enumerationOrientation
.If the meaning of the 'Horizontal Alignment' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Horizontal Alignment' attribute.
- See Also:
-
setHorizontalAlignment
Sets the value of the 'Horizontal Alignment
' attribute.- Parameters:
value
- the new value of the 'Horizontal Alignment' attribute.- See Also:
-
getVerticalAlignment
Orientation getVerticalAlignment()Returns the value of the 'Vertical Alignment' attribute. The default value is"ALIGNMENT_CENTER"
. The literals are from the enumerationOrientation
.If the meaning of the 'Vertical Alignment' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Vertical Alignment' attribute.
- See Also:
-
setVerticalAlignment
Sets the value of the 'Vertical Alignment
' attribute.- Parameters:
value
- the new value of the 'Vertical Alignment' attribute.- See Also:
-
getAngle
Integer getAngle()Deprecated.This attribute exists because of compatibility (after removing old diagrams would not be readable any more). It is replaced by the new attribute rotation.Returns the value of the 'Angle' attribute. The default value is"0"
.If the meaning of the 'Angle' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Angle' attribute.
- See Also:
-
setAngle
Deprecated.This attribute exists because of compatibility (after removing old diagrams would not be readable any more). It is replaced by the new attribute rotation.Sets the value of the 'Angle
' attribute.- Parameters:
value
- the new value of the 'Angle' attribute.- See Also:
-
getValue
String getValue()Returns the value of the 'Value' attribute.If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Value' attribute.
- See Also:
-
setValue
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
-
getStyleRegions
org.eclipse.emf.common.util.EList<TextStyleRegion> getStyleRegions()Returns the value of the 'Style Regions' containment reference list. The list contents are of typeTextStyleRegion
.If the meaning of the 'Style Regions' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Style Regions' containment reference list.
- Since:
- 0.10
- See Also:
-
getRotation
Double getRotation()Returns the value of the 'Rotation' attribute. The default value is"0"
.If the meaning of the 'Rotation' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Rotation' attribute.
- Since:
- 0.11
- See Also:
-
setRotation
Sets the value of the 'Rotation
' attribute.- Parameters:
value
- the new value of the 'Rotation' attribute.- Since:
- 0.11
- See Also:
-