Interface Needle
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,IChartObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
NeedleImpl
A representation of the model object
'Needle'.
This type defines a needle of a dial.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Decorator' attribute.Returns the value of the 'Line Attributes' containment reference.booleanReturns whether the value of the 'Decorator' attribute is set.voidsetDecorator(LineDecorator value) Sets the value of the 'Decorator' attribute.voidsetLineAttributes(LineAttributes value) Sets the value of the 'Line Attributes' containment reference.voidUnsets the value of the 'Decorator' 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
-
getLineAttributes
LineAttributes getLineAttributes()Returns the value of the 'Line Attributes' containment reference. Specify the line properties for the needle.- 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:
-
getDecorator
LineDecorator getDecorator()Returns the value of the 'Decorator' attribute. The literals are from the enumerationLineDecorator. Specify the line decorator for the needle.- Returns:
- the value of the 'Decorator' attribute.
- See Also:
-
setDecorator
Sets the value of the 'Decorator' attribute.- Parameters:
value- the new value of the 'Decorator' attribute.- See Also:
-
unsetDecorator
void unsetDecorator()Unsets the value of the 'Decorator' attribute. -
isSetDecorator
boolean isSetDecorator()Returns whether the value of the 'Decorator' attribute is set.- Returns:
- whether the value of the 'Decorator' attribute is set.
- See Also:
-
copyInstance
Needle copyInstance()- Specified by:
copyInstancein interfaceIChartObject
-