Interface Scale
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ScaleImpl
A representation of the model object
'Scale'.
This type defines the scale associated with an axis.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of the 'Factor' attribute.int
Returns the value of the 'Major Grids Step Number' attribute.getMax()
Returns the value of the 'Max' containment reference.getMin()
Returns the value of the 'Min' containment reference.int
Returns the value of the 'Minor Grids Per Unit' attribute.double
getStep()
Returns the value of the 'Step' attribute.int
Returns the value of the 'Step Number' attribute.getUnit()
Returns the value of the 'Unit' attribute.boolean
Returns the value of the 'Auto Expand' attribute.boolean
Returns whether the value of the 'Auto Expand
' attribute is set.boolean
Returns whether the value of the 'Factor
' attribute is set.boolean
Returns whether the value of the 'Major Grids Step Number
' attribute is set.boolean
Returns whether the value of the 'Minor Grids Per Unit
' attribute is set.boolean
Returns whether the value of the 'Show Outside
' attribute is set.boolean
Returns whether the value of the 'Step
' attribute is set.boolean
Returns whether the value of the 'Step Number
' attribute is set.boolean
Returns whether the value of the 'Tick Between Categories
' attribute is set.boolean
Returns whether the value of the 'Unit
' attribute is set.boolean
Returns the value of the 'Show Outside' attribute.boolean
Returns the value of the 'Tick Between Categories' attribute.void
setAutoExpand
(boolean value) Sets the value of the 'Auto Expand
' attribute.void
setFactor
(double value) Sets the value of the 'Factor
' attribute.void
setMajorGridsStepNumber
(int value) Sets the value of the 'Major Grids Step Number
' attribute.void
setMax
(DataElement value) Sets the value of the 'Max
' containment reference.void
setMin
(DataElement value) Sets the value of the 'Min
' containment reference.void
setMinorGridsPerUnit
(int value) Sets the value of the 'Minor Grids Per Unit
' attribute.void
setShowOutside
(boolean value) Sets the value of the 'Show Outside
' attribute.void
setStep
(double value) Sets the value of the 'Step
' attribute.void
setStepNumber
(int value) Sets the value of the 'Step Number
' attribute.void
setTickBetweenCategories
(boolean value) Sets the value of the 'Tick Between Categories
' attribute.void
setUnit
(ScaleUnitType value) Sets the value of the 'Unit
' attribute.void
Unsets the value of the 'Auto Expand
' attribute.void
Unsets the value of the 'Factor
' attribute.void
Unsets the value of the 'Major Grids Step Number
' attribute.void
Unsets the value of the 'Minor Grids Per Unit
' attribute.void
Unsets the value of the 'Show Outside
' attribute.void
Unsets the value of the 'Step
' attribute.void
Unsets the value of the 'Step Number
' attribute.void
Unsets the value of the 'Tick Between Categories
' attribute.void
Unsets the value of the 'Unit
' 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
-
getMin
DataElement getMin()Returns the value of the 'Min' containment reference. Gets the minimum value that will appear on the axis. Minimum value that should appear on the axis.- Returns:
- the value of the 'Min' containment reference.
- See Also:
-
setMin
Sets the value of the 'Min
' containment reference.- Parameters:
value
- the new value of the 'Min' containment reference.- See Also:
-
getMax
DataElement getMax()Returns the value of the 'Max' containment reference. Gets the maximum value that will appear on the axis. Maximum value that should appear on the axis.- Returns:
- the value of the 'Max' containment reference.
- See Also:
-
setMax
Sets the value of the 'Max
' containment reference.- Parameters:
value
- the new value of the 'Max' containment reference.- See Also:
-
getStep
double getStep()Returns the value of the 'Step' attribute. Gets the stepping in the values shown on the axis. Stepping in the values shown on the axis.- Returns:
- the value of the 'Step' attribute.
- See Also:
-
setStep
void setStep(double value) Sets the value of the 'Step
' attribute.- Parameters:
value
- the new value of the 'Step' attribute.- See Also:
-
unsetStep
void unsetStep()Unsets the value of the 'Step
' attribute.- See Also:
-
isSetStep
boolean isSetStep()Returns whether the value of the 'Step
' attribute is set.- Returns:
- whether the value of the 'Step' attribute is set.
- See Also:
-
getUnit
ScaleUnitType getUnit()Returns the value of the 'Unit' attribute. The default value is"Seconds"
. The literals are from the enumerationScaleUnitType
. Stepping in the values shown on the axis.- Returns:
- the value of the 'Unit' attribute.
- See Also:
-
setUnit
Sets the value of the 'Unit
' attribute.- Parameters:
value
- the new value of the 'Unit' attribute.- See Also:
-
unsetUnit
void unsetUnit()Unsets the value of the 'Unit
' attribute.- See Also:
-
isSetUnit
boolean isSetUnit()Returns whether the value of the 'Unit
' attribute is set.- Returns:
- whether the value of the 'Unit' attribute is set.
- See Also:
-
getMinorGridsPerUnit
int getMinorGridsPerUnit()Returns the value of the 'Minor Grids Per Unit' attribute. Specifies the number of minor grids per unit of the scale.- Returns:
- the value of the 'Minor Grids Per Unit' attribute.
- See Also:
-
setMinorGridsPerUnit
void setMinorGridsPerUnit(int value) Sets the value of the 'Minor Grids Per Unit
' attribute.- Parameters:
value
- the new value of the 'Minor Grids Per Unit' attribute.- See Also:
-
unsetMinorGridsPerUnit
void unsetMinorGridsPerUnit()Unsets the value of the 'Minor Grids Per Unit
' attribute. -
isSetMinorGridsPerUnit
boolean isSetMinorGridsPerUnit()Returns whether the value of the 'Minor Grids Per Unit
' attribute is set.- Returns:
- whether the value of the 'Minor Grids Per Unit' attribute is set.
- See Also:
-
getStepNumber
int getStepNumber()Returns the value of the 'Step Number' attribute. Number of steps in the values shown on the axis.- Returns:
- the value of the 'Step Number' attribute.
- See Also:
-
setStepNumber
void setStepNumber(int value) Sets the value of the 'Step Number
' attribute.- Parameters:
value
- the new value of the 'Step Number' attribute.- See Also:
-
unsetStepNumber
void unsetStepNumber()Unsets the value of the 'Step Number
' attribute. -
isSetStepNumber
boolean isSetStepNumber()Returns whether the value of the 'Step Number
' attribute is set.- Returns:
- whether the value of the 'Step Number' attribute is set.
- See Also:
-
isShowOutside
boolean isShowOutside()Returns the value of the 'Show Outside' attribute. The default value is"false"
. Indicates if it shows values outside Axis range.- Returns:
- the value of the 'Show Outside' attribute.
- See Also:
-
setShowOutside
void setShowOutside(boolean value) Sets the value of the 'Show Outside
' attribute.- Parameters:
value
- the new value of the 'Show Outside' attribute.- See Also:
-
unsetShowOutside
void unsetShowOutside()Unsets the value of the 'Show Outside
' attribute. -
isSetShowOutside
boolean isSetShowOutside()Returns whether the value of the 'Show Outside
' attribute is set.- Returns:
- whether the value of the 'Show Outside' attribute is set.
- See Also:
-
isTickBetweenCategories
boolean isTickBetweenCategories()Returns the value of the 'Tick Between Categories' attribute. The default value is"true"
. Specifes if the major tick is rendered at the category value or between two categories. This only affects the category and text style axis.- Returns:
- the value of the 'Tick Between Categories' attribute.
- See Also:
-
setTickBetweenCategories
void setTickBetweenCategories(boolean value) Sets the value of the 'Tick Between Categories
' attribute.- Parameters:
value
- the new value of the 'Tick Between Categories' attribute.- See Also:
-
unsetTickBetweenCategories
void unsetTickBetweenCategories()Unsets the value of the 'Tick Between Categories
' attribute. -
isSetTickBetweenCategories
boolean isSetTickBetweenCategories()Returns whether the value of the 'Tick Between Categories
' attribute is set.- Returns:
- whether the value of the 'Tick Between Categories' attribute is set.
- See Also:
-
isAutoExpand
boolean isAutoExpand()Returns the value of the 'Auto Expand' attribute. The default value is"true"
. Specifes if min/max value should be expanded by 1 unit, by default is true.- Returns:
- the value of the 'Auto Expand' attribute.
- See Also:
-
setAutoExpand
void setAutoExpand(boolean value) Sets the value of the 'Auto Expand
' attribute.- Parameters:
value
- the new value of the 'Auto Expand' attribute.- See Also:
-
unsetAutoExpand
void unsetAutoExpand()Unsets the value of the 'Auto Expand
' attribute. -
isSetAutoExpand
boolean isSetAutoExpand()Returns whether the value of the 'Auto Expand
' attribute is set.- Returns:
- whether the value of the 'Auto Expand' attribute is set.
- See Also:
-
getMajorGridsStepNumber
int getMajorGridsStepNumber()Returns the value of the 'Major Grids Step Number' attribute. The default value is"1"
. Specify the step number of axis grid lines.- Returns:
- the value of the 'Major Grids Step Number' attribute.
- See Also:
-
setMajorGridsStepNumber
void setMajorGridsStepNumber(int value) Sets the value of the 'Major Grids Step Number
' attribute.- Parameters:
value
- the new value of the 'Major Grids Step Number' attribute.- See Also:
-
unsetMajorGridsStepNumber
void unsetMajorGridsStepNumber()Unsets the value of the 'Major Grids Step Number
' attribute. -
isSetMajorGridsStepNumber
boolean isSetMajorGridsStepNumber()Returns whether the value of the 'Major Grids Step Number
' attribute is set.- Returns:
- whether the value of the 'Major Grids Step Number' attribute is set.
- See Also:
-
getFactor
double getFactor()Returns the value of the 'Factor' attribute. Specifies the fixed scaling factor.- Returns:
- the value of the 'Factor' attribute.
- See Also:
-
setFactor
void setFactor(double value) Sets the value of the 'Factor
' attribute.- Parameters:
value
- the new value of the 'Factor' attribute.- See Also:
-
unsetFactor
void unsetFactor()Unsets the value of the 'Factor
' attribute.- See Also:
-
isSetFactor
boolean isSetFactor()Returns whether the value of the 'Factor
' attribute is set.- Returns:
- whether the value of the 'Factor' attribute is set.
- See Also:
-
copyInstance
Scale copyInstance()- Specified by:
copyInstance
in interfaceIChartObject
-