|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.ull.cgunay.plots.PlotHandle
Entity that associates a plot and a grapher at display time. This is the handle that represents the visual representation of the plot. It contains pointers to the plot, the grapher, and the associated window number in the grapher.
TODO: maybe just keep axes instead of plots.
Created: Sun Apr 28 12:54:13 2002
Modified: $Date: 2003/03/21 05:10:58 $
Plot,
Grapher,
Grapher.windowNumber| Field Summary | |
(package private) Grapher |
grapher
The Grapher that displayed the Plot. |
(package private) Plot |
plot
The description of the Plot encapsulated. |
(package private) Collection |
plots
The description of the Plot collection encapsulated. |
(package private) int |
windowNumber
The windowNumber in the associated Grapher. |
| Constructor Summary | |
PlotHandle(Collection plots,
Grapher grapher,
int windowNumber)
Association of a plot group with the grapher. |
|
PlotHandle(Plot plot,
Grapher grapher,
int windowNumber)
Association of a plot with the grapher. |
|
| Method Summary | |
Grapher |
getGrapher()
Get the value of grapher. |
Plot |
getPlot()
Get the value of plot. |
int |
getWindowNumber()
Get the value of windowNumber. |
void |
writeEPS(String filename)
Exports an EPS file of the current plot with the grapher. |
void |
writeEPSbw(String filename)
Exports an black/white EPS file of the current plot with the grapher. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
Plot plot
Plot encapsulated.
Collection plots
Plot collection encapsulated.
final Grapher grapher
Grapher that displayed the Plot.
final int windowNumber
windowNumber in the associated Grapher.
Grapher.windowNumber| Constructor Detail |
public PlotHandle(Plot plot,
Grapher grapher,
int windowNumber)
grapher property of the plot.
plot - a Plot valuegrapher - a Grapher valuewindowNumber - an int value
public PlotHandle(Collection plots,
Grapher grapher,
int windowNumber)
grapher property of each of the
plots.
plots - a Collection valuegrapher - a Grapher valuewindowNumber - an int valueGrapher.multiPlot(edu.ull.cgunay.plots.Plot[], java.io.PrintStream)| Method Detail |
public Plot getPlot()
public Grapher getGrapher()
public int getWindowNumber()
windowNumber.
windowNumber.public void writeEPS(String filename)
filename - a String valueGrapher.writeEPS(edu.ull.cgunay.plots.PlotHandle, java.lang.String)public void writeEPSbw(String filename)
filename - a String valueGrapher.writeEPS(edu.ull.cgunay.plots.PlotHandle, java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||