This object represents a horizontal axis. More...

Public Member Functions | |
| HAxis () | |
| Constructor. | |
| void | setY (double y) |
| Set the value of y. | |
| void | draw (Model model, View view, java.awt.Graphics2D graphics2d) |
| Draw the element on the view using the graphics object supplied. | |
Protected Attributes | |
| double | y |
| The position of the axis. | |
This object represents a horizontal axis.
| jscicalc.graph.HAxis.HAxis | ( | ) |
Draw the element on the view using the graphics object supplied.
Implements jscicalc.graph.Element.
References jscicalc.graph.Axis.convertDouble(), jscicalc.graph.Axis.getMajorUnitTickLength(), jscicalc.graph.Axis.getMinorUnitTickLength(), jscicalc.graph.Transformation.getOriginY(), jscicalc.graph.Axis.getShowMajorUnit(), jscicalc.graph.Axis.getShowMinorUnit(), jscicalc.graph.View.getTransformation(), jscicalc.graph.Transformation.getXMajorUnit(), jscicalc.graph.Transformation.getXMinorUnit(), jscicalc.graph.Transformation.toModelX(), jscicalc.graph.Transformation.toViewX(), jscicalc.graph.Transformation.toViewY(), and jscicalc.graph.HAxis.y.
| void jscicalc.graph.HAxis.setY | ( | double | y | ) |
double jscicalc.graph.HAxis.y [protected] |
The position of the axis.
Referenced by jscicalc.graph.HAxis.draw().
1.7.1