Public Member Functions | Private Attributes | Static Private Attributes

jscicalc.graph.Graph Class Reference

This class is designed to create component to display a graph. More...

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

List of all members.

Public Member Functions

 Graph (jscicalc.ReadOnlyCalculatorApplet applet)
 The constructor needs to know about the calculator.
void setLocus (OObject oobject)
 Set a locus from an OObject.
void updateMenu ()
 Update the menu.

Private Attributes

Menu menu
 The menu.
Model model
 The Model.
View view
 The View.

Static Private Attributes

static final long serialVersionUID = 1L

Detailed Description

This class is designed to create component to display a graph.

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

Constructor & Destructor Documentation

jscicalc.graph.Graph.Graph ( jscicalc.ReadOnlyCalculatorApplet  applet  ) 

The constructor needs to know about the calculator.

Parameters:
applet The calculator applet

References jscicalc.graph.Graph.menu, jscicalc.graph.Graph.model, and jscicalc.graph.Graph.view.


Member Function Documentation

void jscicalc.graph.Graph.setLocus ( OObject  oobject  ) 

Set a locus from an OObject.

Parameters:
oobject The OObject

References jscicalc.graph.Graph.model, jscicalc.graph.Model.reset(), and jscicalc.graph.Graph.view.

void jscicalc.graph.Graph.updateMenu (  ) 

Update the menu.

Called by view wehn size of frame changes.

References jscicalc.graph.Graph.menu, and jscicalc.graph.Menu.updateSizes().

Referenced by jscicalc.graph.View.paintComponent().


Member Data Documentation

final long jscicalc.graph.Graph.serialVersionUID = 1L [static, private]

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