Interface Needle
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,IChartObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
NeedleImpl
public interface Needle extends IChartObject
A representation of the model object 'Needle'. This type defines a needle of a dial.The following features are supported:
- See Also:
ComponentPackage.getNeedle()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NeedlecopyInstance()LineDecoratorgetDecorator()Returns the value of the 'Decorator' attribute.LineAttributesgetLineAttributes()Returns the value of the 'Line Attributes' containment reference.booleanisSetDecorator()Returns 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.voidunsetDecorator()Unsets the value of the 'Decorator' attribute.
-
-
-
Method Detail
-
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(LineAttributes),ComponentPackage.getNeedle_LineAttributes()
-
setLineAttributes
void setLineAttributes(LineAttributes value)
Sets the value of the 'Line Attributes' containment reference.- Parameters:
value- the new value of the 'Line Attributes' containment reference.- See Also:
getLineAttributes()
-
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:
LineDecorator,isSetDecorator(),unsetDecorator(),setDecorator(LineDecorator),ComponentPackage.getNeedle_Decorator()
-
setDecorator
void setDecorator(LineDecorator value)
Sets the value of the 'Decorator' attribute.- Parameters:
value- the new value of the 'Decorator' attribute.- See Also:
LineDecorator,isSetDecorator(),unsetDecorator(),getDecorator()
-
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:
unsetDecorator(),getDecorator(),setDecorator(LineDecorator)
-
copyInstance
Needle copyInstance()
- Specified by:
copyInstancein interfaceIChartObject
-
-