Interface LineAttributes
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
LineAttributesImpl
A representation of the model object 'Line
Attributes'.
LineAttributes represents a holder of all settings
for rendering a line in the chart graphic.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Returns the value of the 'Color' containment reference.getStyle()
Returns the value of the 'Style' attribute.int
Returns the value of the 'Thickness' attribute.boolean
Returns whether the value of the 'Style
' attribute is set.boolean
Returns whether the value of the 'Thickness
' attribute is set.boolean
Returns whether the value of the 'Visible
' attribute is set.boolean
Returns the value of the 'Visible' attribute.void
setColor
(ColorDefinition value) Sets the value of the 'Color
' containment reference.void
Sets the value of the 'Style
' attribute.void
setThickness
(int value) Sets the value of the 'Thickness
' attribute.void
setVisible
(boolean value) Sets the value of the 'Visible
' attribute.void
Unsets the value of the 'Style
' attribute.void
Unsets the value of the 'Thickness
' attribute.void
Unsets 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, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getStyle
LineStyle getStyle()Returns the value of the 'Style' attribute. The default value is"Solid"
. The literals are from the enumerationLineStyle
. Gets the line style. Holds the line style.- Returns:
- the value of the 'Style' attribute.
- See Also:
-
setStyle
Sets the value of the 'Style
' attribute. Sets the line style.- Parameters:
value
- the new value of the 'Style' attribute.- See Also:
-
unsetStyle
void unsetStyle()Unsets the value of the 'Style
' attribute.- See Also:
-
isSetStyle
boolean isSetStyle()Returns whether the value of the 'Style
' attribute is set.- Returns:
- whether the value of the 'Style' attribute is set.
- See Also:
-
getThickness
int getThickness()Returns the value of the 'Thickness' attribute. Gets the thickness of the line. Holds the thickness of the line.- Returns:
- the value of the 'Thickness' attribute.
- See Also:
-
setThickness
void setThickness(int value) Sets the value of the 'Thickness
' attribute. Sets the thickness of the line.- Parameters:
value
- the new value of the 'Thickness' attribute.- See Also:
-
unsetThickness
void unsetThickness()Unsets the value of the 'Thickness
' attribute.- See Also:
-
isSetThickness
boolean isSetThickness()Returns whether the value of the 'Thickness
' attribute is set.- Returns:
- whether the value of the 'Thickness' attribute is set.
- See Also:
-
getColor
ColorDefinition getColor()Returns the value of the 'Color' containment reference. Gets the line color. Holds the line color.- Returns:
- the value of the 'Color' containment reference.
- See Also:
-
setColor
Sets the value of the 'Color
' containment reference. Sets the line color.- Parameters:
value
- the new value of the 'Color' containment reference.- See Also:
-
isVisible
boolean isVisible()Returns the value of the 'Visible' attribute. Gets whether or not the line is to be rendered. Specifies whether or not the line is to be rendered.- Returns:
- the value of the 'Visible' attribute.
- See Also:
-
setVisible
void setVisible(boolean value) Sets the value of the 'Visible
' attribute. Specifies whether or not the line is to be rendered.- 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:
-
copyInstance
LineAttributes copyInstance()- Specified by:
copyInstance
in interfaceIChartObject
-