Interface Dial
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
DialImpl
A representation of the model object
'Dial'.
This type defines the basic elements that are
expected in a dial chart. This can further be extended for special dial chart
types.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<DialRegion>
Returns the value of the 'Dial Regions' containment reference list.getFill()
Returns the value of the 'Fill' 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 'Line Attributes' containment reference.Returns the value of the 'Major Grid' containment reference.Returns the value of the 'Minor Grid' containment reference.double
Returns the value of the 'Radius' attribute.getScale()
Returns the value of the 'Scale' containment reference.double
Returns the value of the 'Start Angle' attribute.double
Returns the value of the 'Stop Angle' attribute.boolean
Returns the value of the 'Inverse Scale' attribute.boolean
Returns whether the value of the 'Inverse Scale
' attribute is set.boolean
Returns whether the value of the 'Radius
' attribute is set.boolean
Returns whether the value of the 'Start Angle
' attribute is set.boolean
Returns whether the value of the 'Stop Angle
' attribute is set.void
Sets the value of the 'Fill
' containment reference.void
Sets the value of the 'Format Specifier
' containment reference.void
setInverseScale
(boolean value) Sets the value of the 'Inverse Scale
' attribute.void
Sets the value of the 'Label
' containment reference.void
setLineAttributes
(LineAttributes value) Sets the value of the 'Line Attributes
' containment reference.void
setMajorGrid
(Grid value) Sets the value of the 'Major Grid
' containment reference.void
setMinorGrid
(Grid value) Sets the value of the 'Minor Grid
' containment reference.void
setRadius
(double value) Sets the value of the 'Radius
' attribute.void
Sets the value of the 'Scale
' containment reference.void
setStartAngle
(double value) Sets the value of the 'Start Angle
' attribute.void
setStopAngle
(double value) Sets the value of the 'Stop Angle
' attribute.void
Unsets the value of the 'Inverse Scale
' attribute.void
Unsets the value of the 'Radius
' attribute.void
Unsets the value of the 'Start Angle
' attribute.void
Unsets the value of the 'Stop Angle
' 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
-
getStartAngle
double getStartAngle()Returns the value of the 'Start Angle' attribute. The default value is"0"
. Specifies the start angle of the dial.- Returns:
- the value of the 'Start Angle' attribute.
- See Also:
-
setStartAngle
void setStartAngle(double value) Sets the value of the 'Start Angle
' attribute.- Parameters:
value
- the new value of the 'Start Angle' attribute.- See Also:
-
unsetStartAngle
void unsetStartAngle()Unsets the value of the 'Start Angle
' attribute. -
isSetStartAngle
boolean isSetStartAngle()Returns whether the value of the 'Start Angle
' attribute is set.- Returns:
- whether the value of the 'Start Angle' attribute is set.
- See Also:
-
getStopAngle
double getStopAngle()Returns the value of the 'Stop Angle' attribute. The default value is"180"
. Specifies the stop angle of the dial.- Returns:
- the value of the 'Stop Angle' attribute.
- See Also:
-
setStopAngle
void setStopAngle(double value) Sets the value of the 'Stop Angle
' attribute.- Parameters:
value
- the new value of the 'Stop Angle' attribute.- See Also:
-
unsetStopAngle
void unsetStopAngle()Unsets the value of the 'Stop Angle
' attribute. -
isSetStopAngle
boolean isSetStopAngle()Returns whether the value of the 'Stop Angle
' attribute is set.- Returns:
- whether the value of the 'Stop Angle' attribute is set.
- See Also:
-
getRadius
double getRadius()Returns the value of the 'Radius' attribute. Specifies the radius of the dial.- Returns:
- the value of the 'Radius' attribute.
- See Also:
-
setRadius
void setRadius(double value) Sets the value of the 'Radius
' attribute.- Parameters:
value
- the new value of the 'Radius' attribute.- See Also:
-
unsetRadius
void unsetRadius()Unsets the value of the 'Radius
' attribute.- See Also:
-
isSetRadius
boolean isSetRadius()Returns whether the value of the 'Radius
' attribute is set.- Returns:
- whether the value of the 'Radius' attribute is set.
- See Also:
-
getLineAttributes
LineAttributes getLineAttributes()Returns the value of the 'Line Attributes' containment reference. Specifies the border line style.- 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:
-
getFill
Fill getFill()Returns the value of the 'Fill' containment reference. Specifies the background fill style.- Returns:
- the value of the 'Fill' containment reference.
- See Also:
-
setFill
Sets the value of the 'Fill
' containment reference.- Parameters:
value
- the new value of the 'Fill' containment reference.- See Also:
-
getDialRegions
org.eclipse.emf.common.util.EList<DialRegion> getDialRegions()Returns the value of the 'Dial Regions' containment reference list. The list contents are of typeDialRegion
. Defines a set of areas for a range of values within a dial displayed as filled sections extending across the dial between the start and end positions.- Returns:
- the value of the 'Dial Regions' containment reference list.
- See Also:
-
getMajorGrid
Grid getMajorGrid()Returns the value of the 'Major Grid' containment reference. Defines the major grid associated with the dial.- Returns:
- the value of the 'Major Grid' containment reference.
- See Also:
-
setMajorGrid
Sets the value of the 'Major Grid
' containment reference.- Parameters:
value
- the new value of the 'Major Grid' containment reference.- See Also:
-
getMinorGrid
Grid getMinorGrid()Returns the value of the 'Minor Grid' containment reference. Defines the minor grid associated with the dial.- Returns:
- the value of the 'Minor Grid' containment reference.
- See Also:
-
setMinorGrid
Sets the value of the 'Minor Grid
' containment reference.- Parameters:
value
- the new value of the 'Minor Grid' containment reference.- See Also:
-
getScale
Scale getScale()Returns the value of the 'Scale' containment reference. Defines the scale for the dial.- Returns:
- the value of the 'Scale' containment reference.
- See Also:
-
setScale
Sets the value of the 'Scale
' containment reference.- Parameters:
value
- the new value of the 'Scale' containment reference.- See Also:
-
isInverseScale
boolean isInverseScale()Returns the value of the 'Inverse Scale' attribute. The default value is"false"
. Defines if invert the scale during rendering(right to left)- Returns:
- the value of the 'Inverse Scale' attribute.
- See Also:
-
setInverseScale
void setInverseScale(boolean value) Sets the value of the 'Inverse Scale
' attribute.- Parameters:
value
- the new value of the 'Inverse Scale' attribute.- See Also:
-
unsetInverseScale
void unsetInverseScale()Unsets the value of the 'Inverse Scale
' attribute. -
isSetInverseScale
boolean isSetInverseScale()Returns whether the value of the 'Inverse Scale
' attribute is set.- Returns:
- whether the value of the 'Inverse Scale' attribute is set.
- See Also:
-
getLabel
Label getLabel()Returns the value of the 'Label' containment reference. Defines the properties for grid labels.- 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:
-
getFormatSpecifier
FormatSpecifier getFormatSpecifier()Returns the value of the 'Format Specifier' containment reference. Format specifier for grid label.- 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:
-
copyInstance
Dial copyInstance()- Specified by:
copyInstance
in interfaceIChartObject
-