-
- All Known Implementing Classes:
TextImpl
public interface Text extends EObject
A representation of the model object 'Text'. Text styling.The following features are supported:
- See Also:
BootstrapPackage.getText()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Text.AlignmentgetAlignment()Returns the value of the 'Alignment' attribute.ColorgetColor()Returns the value of the 'Color' attribute.Text.TransformgetTransform()Returns the value of the 'Transform' attribute.Text.WeightgetWeight()Returns the value of the 'Weight' attribute.booleanisItalic()Returns the value of the 'Italic' attribute.booleanisMonospace()Returns the value of the 'Monospace' attribute.booleanisNowrap()Returns the value of the 'Nowrap' attribute.booleanisTruncate()Returns the value of the 'Truncate' attribute.voidsetAlignment(Text.Alignment value)Sets the value of the 'Alignment' attribute.voidsetColor(Color value)Sets the value of the 'Color' attribute.voidsetItalic(boolean value)Sets the value of the 'Italic' attribute.voidsetMonospace(boolean value)Sets the value of the 'Monospace' attribute.voidsetNowrap(boolean value)Sets the value of the 'Nowrap' attribute.voidsetTransform(Text.Transform value)Sets the value of the 'Transform' attribute.voidsetTruncate(boolean value)Sets the value of the 'Truncate' attribute.voidsetWeight(Text.Weight value)Sets the value of the 'Weight' attribute.-
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
-
-
-
-
Method Detail
-
getAlignment
Text.Alignment getAlignment()
Returns the value of the 'Alignment' attribute. Text alignment.- Returns:
- the value of the 'Alignment' attribute.
- See Also:
setAlignment(Alignment),BootstrapPackage.getText_Alignment()
-
setAlignment
void setAlignment(Text.Alignment value)
Sets the value of the 'Alignment' attribute.- Parameters:
value- the new value of the 'Alignment' attribute.- See Also:
getAlignment()
-
getColor
Color getColor()
Returns the value of the 'Color' attribute. Text bootstrap color.- Returns:
- the value of the 'Color' attribute.
- See Also:
setColor(Color),BootstrapPackage.getText_Color()
-
setColor
void setColor(Color value)
Sets the value of the 'Color' attribute.- Parameters:
value- the new value of the 'Color' attribute.- See Also:
getColor()
-
getTransform
Text.Transform getTransform()
Returns the value of the 'Transform' attribute. Text case transformation.- Returns:
- the value of the 'Transform' attribute.
- See Also:
setTransform(Transform),BootstrapPackage.getText_Transform()
-
setTransform
void setTransform(Text.Transform value)
Sets the value of the 'Transform' attribute.- Parameters:
value- the new value of the 'Transform' attribute.- See Also:
getTransform()
-
getWeight
Text.Weight getWeight()
Returns the value of the 'Weight' attribute. Text weight.- Returns:
- the value of the 'Weight' attribute.
- See Also:
setWeight(Weight),BootstrapPackage.getText_Weight()
-
setWeight
void setWeight(Text.Weight value)
Sets the value of the 'Weight' attribute.- Parameters:
value- the new value of the 'Weight' attribute.- See Also:
getWeight()
-
isMonospace
boolean isMonospace()
Returns the value of the 'Monospace' attribute. Monospace flag.- Returns:
- the value of the 'Monospace' attribute.
- See Also:
setMonospace(boolean),BootstrapPackage.getText_Monospace()
-
setMonospace
void setMonospace(boolean value)
Sets the value of the 'Monospace' attribute.- Parameters:
value- the new value of the 'Monospace' attribute.- See Also:
isMonospace()
-
isItalic
boolean isItalic()
Returns the value of the 'Italic' attribute. Italic flag.- Returns:
- the value of the 'Italic' attribute.
- See Also:
setItalic(boolean),BootstrapPackage.getText_Italic()
-
setItalic
void setItalic(boolean value)
Sets the value of the 'Italic' attribute.- Parameters:
value- the new value of the 'Italic' attribute.- See Also:
isItalic()
-
isNowrap
boolean isNowrap()
Returns the value of the 'Nowrap' attribute. Prevents text from wrapping.- Returns:
- the value of the 'Nowrap' attribute.
- See Also:
setNowrap(boolean),BootstrapPackage.getText_Nowrap()
-
setNowrap
void setNowrap(boolean value)
Sets the value of the 'Nowrap' attribute.- Parameters:
value- the new value of the 'Nowrap' attribute.- See Also:
isNowrap()
-
isTruncate
boolean isTruncate()
Returns the value of the 'Truncate' attribute. Use to truncate the text with an ellipsis.- Returns:
- the value of the 'Truncate' attribute.
- See Also:
setTruncate(boolean),BootstrapPackage.getText_Truncate()
-
setTruncate
void setTruncate(boolean value)
Sets the value of the 'Truncate' attribute.- Parameters:
value- the new value of the 'Truncate' attribute.- See Also:
isTruncate()
-
-