Interface MarkerLine
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
MarkerLineImpl
A representation of the model object 'Marker
Line'.
This type defines a single line element. It is intended for use as a marker
associated with an Axis. e.g. To denote a Target value
The following features are supported:
Attributes
Position
Associated Label
Label Position
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Cursor' containment reference.Returns the value of the 'Format Specifier' containment reference.getLabel()
Returns the value of the 'Label' containment reference.Returns the value of the 'Label Anchor' attribute.Returns the value of the 'Line Attributes' containment reference.org.eclipse.emf.common.util.EList<Trigger>
Returns the value of the 'Triggers' containment reference list.getValue()
Returns the value of the 'Value' containment reference.boolean
Returns whether the value of the 'Label Anchor
' attribute is set.void
Sets the value of the 'Cursor
' containment reference.void
Sets the value of the 'Format Specifier
' containment reference.void
Sets the value of the 'Label
' containment reference.void
setLabelAnchor
(Anchor value) Sets the value of the 'Label Anchor
' attribute.void
setLineAttributes
(LineAttributes value) Sets the value of the 'Line Attributes
' containment reference.void
setValue
(DataElement value) Sets the value of the 'Value
' containment reference.void
Unsets the value of the 'Label Anchor
' 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
-
getLineAttributes
LineAttributes getLineAttributes()Returns the value of the 'Line Attributes' containment reference. Specify the line properties.- Returns:
- the value of the 'Line Attributes' containment reference.
- See Also:
-
setLineAttributes
Sets the value of the 'Line Attributes
' containment reference.- Parameters:
value
- the new value of the 'Line Attributes' containment reference.- See Also:
-
getValue
DataElement getValue()Returns the value of the 'Value' containment reference. Defines where this line is to be positioned w.r.t the axis. (Can be a value on the axis or a category name).- Returns:
- the value of the 'Value' containment reference.
- See Also:
-
setValue
Sets the value of the 'Value
' containment reference.- Parameters:
value
- the new value of the 'Value' containment reference.- See Also:
-
getLabel
Label getLabel()Returns the value of the 'Label' containment reference. Specifies the label associated with this line.- Returns:
- the value of the 'Label' containment reference.
- See Also:
-
setLabel
Sets the value of the 'Label
' containment reference.- Parameters:
value
- the new value of the 'Label' containment reference.- See Also:
-
getLabelAnchor
Anchor getLabelAnchor()Returns the value of the 'Label Anchor' attribute. The default value is"North"
. The literals are from the enumerationAnchor
. Specifies where the label associated with this line is to be positioned with respect to the line itself.- Returns:
- the value of the 'Label Anchor' attribute.
- See Also:
-
setLabelAnchor
Sets the value of the 'Label Anchor
' attribute.- Parameters:
value
- the new value of the 'Label Anchor' attribute.- See Also:
-
unsetLabelAnchor
void unsetLabelAnchor()Unsets the value of the 'Label Anchor
' attribute. -
isSetLabelAnchor
boolean isSetLabelAnchor()Returns whether the value of the 'Label Anchor
' attribute is set.- Returns:
- whether the value of the 'Label Anchor' attribute is set.
- See Also:
-
getFormatSpecifier
FormatSpecifier getFormatSpecifier()Returns the value of the 'Format Specifier' containment reference. Specifies the formatting for marker line labels.- Returns:
- the value of the 'Format Specifier' containment reference.
- See Also:
-
setFormatSpecifier
Sets the value of the 'Format Specifier
' containment reference.- Parameters:
value
- the new value of the 'Format Specifier' containment reference.- See Also:
-
getTriggers
org.eclipse.emf.common.util.EList<Trigger> getTriggers()Returns the value of the 'Triggers' containment reference list. The list contents are of typeTrigger
. Holds the triggers for the marker line.- Returns:
- the value of the 'Triggers' containment reference list.
- See Also:
-
getCursor
Cursor getCursor()Returns the value of the 'Cursor' containment reference. The element represents a cursor for marker line.- Returns:
- the value of the 'Cursor' containment reference.
- See Also:
-
setCursor
Sets the value of the 'Cursor
' containment reference.- Parameters:
value
- the new value of the 'Cursor' containment reference.- See Also:
-
copyInstance
MarkerLine copyInstance()- Specified by:
copyInstance
in interfaceIChartObject
-