This object represents a horizontal axis. More...

Public Member Functions | |
| VAxis () | |
| Constructor. | |
| void | setX (double x) |
| Set the value of x. | |
| void | draw (Model model, View view, java.awt.Graphics2D graphics2d) |
| Draw the element on the view using the graphics object supplied. | |
Protected Attributes | |
| double | x |
| The position of the axis. | |
This object represents a horizontal axis.
| jscicalc.graph.VAxis.VAxis | ( | ) |
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.getYMajorUnit(), jscicalc.graph.Transformation.getYMinorUnit(), jscicalc.graph.Transformation.toModelY(), jscicalc.graph.Transformation.toViewX(), jscicalc.graph.Transformation.toViewY(), and jscicalc.graph.VAxis.x.
| void jscicalc.graph.VAxis.setX | ( | double | x | ) |
double jscicalc.graph.VAxis.x [protected] |
The position of the axis.
Referenced by jscicalc.graph.VAxis.draw().
1.7.1