

Public Member Functions | |
| Axis () | |
| Constructor. | |
| void | setShowMajorUnit (boolean value) |
| Set whether (true) or not (false) we should show the major units on the axis. | |
| void | setShowMinorUnit (boolean value) |
| Set whether (true) or not (false) we should show the minor units on the axis. | |
| boolean | getShowMajorUnit () |
| Get the value of showMajorUnit. | |
| boolean | getShowMinorUnit () |
| Get the value of showMinorUnit. | |
| int | getMajorUnitTickLength () |
| Get the length of tick used for major unit. | |
| int | getMinorUnitTickLength () |
| Get the length of tick used for major unit. | |
| String | convertDouble (double d) |
| Convert a number to a string. | |
Protected Attributes | |
| boolean | showMajorUnit |
| Whether the major unit is shown. | |
| boolean | showMinorUnit |
| Whether the minor unit is shown. | |
| int | majorUnitTick |
| The length of major unit ticks in View units. | |
| int | minorUnitTick |
| The length of major unit ticks in View units. | |
Package Attributes | |
| java.text.NumberFormat | numberFormat |
| Used to convert numbers to strings. | |
| jscicalc.graph.Axis.Axis | ( | ) |
| void jscicalc.graph.Axis.setShowMajorUnit | ( | boolean | value | ) |
Set whether (true) or not (false) we should show the major units on the axis.
| value | Set true to show major unit, false not to show it |
References jscicalc.graph.Axis.showMajorUnit.
Referenced by jscicalc.graph.AxisDialog.apply(), jscicalc.graph.Axis.Axis(), jscicalc.graph.AxisDialog.cancel(), and jscicalc.graph.AxisDialog.undo().
| void jscicalc.graph.Axis.setShowMinorUnit | ( | boolean | value | ) |
Set whether (true) or not (false) we should show the minor units on the axis.
| value | Set true to show minor unit, false not to show it |
References jscicalc.graph.Axis.showMinorUnit.
Referenced by jscicalc.graph.AxisDialog.apply(), jscicalc.graph.Axis.Axis(), jscicalc.graph.AxisDialog.cancel(), and jscicalc.graph.AxisDialog.undo().
| boolean jscicalc.graph.Axis.getShowMajorUnit | ( | ) |
Get the value of showMajorUnit.
References jscicalc.graph.Axis.showMajorUnit.
Referenced by jscicalc.graph.VAxis.draw(), and jscicalc.graph.HAxis.draw().
| boolean jscicalc.graph.Axis.getShowMinorUnit | ( | ) |
Get the value of showMinorUnit.
References jscicalc.graph.Axis.showMinorUnit.
Referenced by jscicalc.graph.VAxis.draw(), and jscicalc.graph.HAxis.draw().
| int jscicalc.graph.Axis.getMajorUnitTickLength | ( | ) |
Get the length of tick used for major unit.
References jscicalc.graph.Axis.majorUnitTick.
Referenced by jscicalc.graph.VAxis.draw(), and jscicalc.graph.HAxis.draw().
| int jscicalc.graph.Axis.getMinorUnitTickLength | ( | ) |
Get the length of tick used for major unit.
References jscicalc.graph.Axis.minorUnitTick.
Referenced by jscicalc.graph.VAxis.draw(), and jscicalc.graph.HAxis.draw().
| String jscicalc.graph.Axis.convertDouble | ( | double | d | ) |
Convert a number to a string.
References jscicalc.graph.Axis.numberFormat.
Referenced by jscicalc.graph.VAxis.draw(), and jscicalc.graph.HAxis.draw().
boolean jscicalc.graph.Axis.showMajorUnit [protected] |
Whether the major unit is shown.
Referenced by jscicalc.graph.Axis.getShowMajorUnit(), and jscicalc.graph.Axis.setShowMajorUnit().
boolean jscicalc.graph.Axis.showMinorUnit [protected] |
Whether the minor unit is shown.
Referenced by jscicalc.graph.Axis.getShowMinorUnit(), and jscicalc.graph.Axis.setShowMinorUnit().
int jscicalc.graph.Axis.majorUnitTick [protected] |
The length of major unit ticks in View units.
Referenced by jscicalc.graph.Axis.Axis(), and jscicalc.graph.Axis.getMajorUnitTickLength().
int jscicalc.graph.Axis.minorUnitTick [protected] |
The length of major unit ticks in View units.
Referenced by jscicalc.graph.Axis.Axis(), and jscicalc.graph.Axis.getMinorUnitTickLength().
java.text.NumberFormat jscicalc.graph.Axis.numberFormat [package] |
Used to convert numbers to strings.
Referenced by jscicalc.graph.Axis.Axis(), and jscicalc.graph.Axis.convertDouble().
1.5.5