Interface Label
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,IChartObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
LabelImpl
A representation of the model object
'Label'.
This type defines a text label. It is not intended
as a standalone element but should be associated with a chart element.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Background' containment reference.Returns the value of the 'Caption' containment reference.intReturns the value of the 'Ellipsis' attribute.Returns the value of the 'Insets' containment reference.Returns the value of the 'Outline' containment reference.Returns the value of the 'Shadow Color' containment reference.booleanReturns whether the value of the 'Ellipsis' attribute is set.booleanReturns whether the value of the 'Visible' attribute is set.booleanReturns the value of the 'Visible' attribute.voidsetBackground(Fill value) Sets the value of the 'Background' containment reference.voidsetCaption(Text value) Sets the value of the 'Caption' containment reference.voidsetEllipsis(int value) Sets the value of the 'Ellipsis' attribute.voidSets the value of the 'Insets' containment reference.voidsetOutline(LineAttributes value) Sets the value of the 'Outline' containment reference.voidsetShadowColor(ColorDefinition value) Sets the value of the 'Shadow Color' containment reference.voidsetVisible(boolean value) Sets the value of the 'Visible' attribute.voidUnsets the value of the 'Ellipsis' attribute.voidUnsets the value of the 'Visible' 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
-
getCaption
Text getCaption()Returns the value of the 'Caption' containment reference. The string content displayed in the label.- Returns:
- the value of the 'Caption' containment reference.
- See Also:
-
setCaption
Sets the value of the 'Caption' containment reference.- Parameters:
value- the new value of the 'Caption' containment reference.- See Also:
-
getBackground
Fill getBackground()Returns the value of the 'Background' containment reference. Specifies the background for the label.- Returns:
- the value of the 'Background' containment reference.
- See Also:
-
setBackground
Sets the value of the 'Background' containment reference.- Parameters:
value- the new value of the 'Background' containment reference.- See Also:
-
getOutline
LineAttributes getOutline()Returns the value of the 'Outline' containment reference. Defines the outline (border) for the label.- Returns:
- the value of the 'Outline' containment reference.
- See Also:
-
setOutline
Sets the value of the 'Outline' containment reference.- Parameters:
value- the new value of the 'Outline' containment reference.- See Also:
-
getShadowColor
ColorDefinition getShadowColor()Returns the value of the 'Shadow Color' containment reference. Specifies the shadow color for the label.- Returns:
- the value of the 'Shadow Color' containment reference.
- See Also:
-
setShadowColor
Sets the value of the 'Shadow Color' containment reference.- Parameters:
value- the new value of the 'Shadow Color' containment reference.- See Also:
-
getInsets
Insets getInsets()Returns the value of the 'Insets' containment reference. Defines the insets for the label.- Returns:
- the value of the 'Insets' containment reference.
- See Also:
-
setInsets
Sets the value of the 'Insets' containment reference.- Parameters:
value- the new value of the 'Insets' containment reference.- See Also:
-
isVisible
boolean isVisible()Returns the value of the 'Visible' attribute. The default value is"true". Specifies whether or not the label is visible on the chart. By default it's true;- Returns:
- the value of the 'Visible' attribute.
- See Also:
-
setVisible
void setVisible(boolean value) Sets the value of the 'Visible' attribute.- Parameters:
value- the new value of the 'Visible' attribute.- See Also:
-
unsetVisible
void unsetVisible()Unsets the value of the 'Visible' attribute.- See Also:
-
isSetVisible
boolean isSetVisible()Returns whether the value of the 'Visible' attribute is set.- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
-
getEllipsis
int getEllipsis()Returns the value of the 'Ellipsis' attribute. The default value is"0". Specifies the min count of characters before ellipsis. 0 means ellipsis won't be used.- Returns:
- the value of the 'Ellipsis' attribute.
- See Also:
-
setEllipsis
void setEllipsis(int value) Sets the value of the 'Ellipsis' attribute.- Parameters:
value- the new value of the 'Ellipsis' attribute.- See Also:
-
unsetEllipsis
void unsetEllipsis()Unsets the value of the 'Ellipsis' attribute.- See Also:
-
isSetEllipsis
boolean isSetEllipsis()Returns whether the value of the 'Ellipsis' attribute is set.- Returns:
- whether the value of the 'Ellipsis' attribute is set.
- See Also:
-
copyInstance
Label copyInstance()- Specified by:
copyInstancein interfaceIChartObject
-