All Packages Class Hierarchy This Package Previous Next Index
Class graphing.DispTraceGraphWindow
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----graphing.GraphWindow
|
+----graphing.ZoomGraphWindow
|
+----graphing.TraceGraphWindow
|
+----graphing.DispTraceGraphWindow
- public class DispTraceGraphWindow
- extends TraceGraphWindow
A DispTraceGraphWindow is a TraceGraphWindow which can display the coordinates of selected
test points. It can display as many functions and nodes as desired, and shows the
x and y coordinates of the last selected node.
-
display
-
Display the coordinates of the selected node is this is set
-
displayFont
- The font coordinates are displayed in.
-
displayText
-
-
displayX
- The location of the text displaying the coordinates of a test point.
-
displayY
-
-
sigFig
- The number of significant places the coordinates of the test point are displayed to.
-
DispTraceGraphWindow()
-
-
DispTraceGraphWindow(double, double, double, double)
-
-
DispTraceGraphWindow(double, double, double, double, double, double)
-
-
deleteAll()
- Delete all the nodes.
-
paint(Graphics)
-
-
trunc(double, int)
-
Truncate x to s significant figures.
sigFig
public int sigFig
- The number of significant places the coordinates of the test point are displayed to.
displayFont
protected Font displayFont
- The font coordinates are displayed in.
displayX
protected int displayX
- The location of the text displaying the coordinates of a test point.
displayY
protected int displayY
displayText
protected String displayText
display
public boolean display
- Display the coordinates of the selected node is this is set
DispTraceGraphWindow
public DispTraceGraphWindow(double xMin,
double xMax,
double xScale,
double yMin,
double yMax,
double yScale)
DispTraceGraphWindow
public DispTraceGraphWindow(double xMin,
double xMax,
double yMin,
double yMax)
DispTraceGraphWindow
public DispTraceGraphWindow()
paint
public void paint(Graphics g)
- Overrides:
- paint in class TraceGraphWindow
deleteAll
public void deleteAll()
- Delete all the nodes.
- Overrides:
- deleteAll in class TraceGraphWindow
trunc
protected static double trunc(double x,
int s)
- Truncate x to s significant figures.
All Packages Class Hierarchy This Package Previous Next Index