Public Member Functions | Protected Attributes

jscicalc.graph.HAxis Class Reference

This object represents a horizontal axis. More...

Collaboration diagram for jscicalc.graph.HAxis:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

This object represents a horizontal axis.

Author:
J. D. Lamb
Version:
Revision:
1.3

Constructor & Destructor Documentation

jscicalc.graph.HAxis.HAxis (  ) 

Constructor.

Defines Y axis to be zero

References jscicalc.graph.HAxis.setY().


Member Function Documentation

void jscicalc.graph.HAxis.draw ( Model  model,
View  view,
java.awt.Graphics2D  graphics2d 
) [virtual]
void jscicalc.graph.HAxis.setY ( double  y  ) 

Set the value of y.

Parameters:
y The new value

Referenced by jscicalc.graph.HAxis.HAxis().


Member Data Documentation

double jscicalc.graph.HAxis.y [protected]

The position of the axis.

Referenced by jscicalc.graph.HAxis.draw().


The documentation for this class was generated from the following file: