Public Member Functions

jscicalc.graph.Element Class Reference

This class represents an element in a Model object. More...

List of all members.

Public Member Functions

abstract void draw (Model model, View view, java.awt.Graphics2D graphics2d)
 Draw the element on the view using the graphics object supplied.

Detailed Description

This class represents an element in a Model object.

These elements can represent anything that can be drawn on the graph, ranging from axes to lines, labels and annotations.

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

Member Function Documentation

abstract void jscicalc.graph.Element.draw ( Model  model,
View  view,
java.awt.Graphics2D  graphics2d 
) [pure virtual]

Draw the element on the view using the graphics object supplied.

Parameters:
model A Model
view A View of the Model
graphics2d A graphics context

Implemented in jscicalc.graph.HAxis, jscicalc.graph.Locus, and jscicalc.graph.VAxis.


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