Class VisualNumerics.wave.WaveContour
All Packages Class Hierarchy This Package Previous Next Index
Class VisualNumerics.wave.WaveContour
java.lang.Object
|
+----netscape.application.View
|
+----netscape.application.ContainerView
|
+----VisualNumerics.wave.WaveGraph
|
+----VisualNumerics.wave.WaveContour
- public class WaveContour
- extends WaveGraph
A class for creating wireframe Contour plots.
This class encapsulates the PV-WAVE CONTOUR and
CONTOURFILL commands
and all of the associated positional parameters and keywords
and produces a Contour plot in a new container.
Methods for setting all of the parameters/keywords have the form
setKeyword(arg1, arg2, ...) where "Keyword" is the parameter
or keyword name from the PV-WAVE documentation. See the WaveGraph
class documentation for information on these methods.
This class also handles the communication between the applet and a PV-WAVE
graphic server running on the web server that served the java applet.
- Version:
- 2.00, 4 Dec 1996
- Author:
- Steve Lang
- See Also:
- setX, setY, setZ, setGrid, setGridNx, setGridNy, setGridNghbr, setBackground, TEK_COLOR, LOADCT, setCharsize, setCharthick, setColor, setData, setDevice, setNormal, setFont, setNodata, setPosition, setRegion, setTitle, setSubtitle, setThick, setTicklen, setXCharsize, setXMinor, setXRange, setXStyle, setXTicklen, setXTicks, setXTitle, setXType, setYCharsize, setYMinor, setYRange, setYStyle, setYTicklen, setYTicks, setYTitle, setYType, setFile
-
c_annotation
-
-
c_charsize
-
-
c_colors
-
-
c_labels
-
-
c_linestyle
-
-
c_thick
-
-
color_index
-
-
filled
-
-
follow
-
-
nlevels
-
-
spline
-
-
WaveContour(int, int, int, int)
- Creates a frame of the requested size
-
addC_Annotation()
- Protected method used by classes derived from WaveGraph
-
addC_Charsize()
- Protected method used by classes derived from WaveGraph
-
addC_Colors()
- Protected method used by classes derived from WaveGraph
-
addC_Labels()
- Protected method used by classes derived from WaveGraph
-
addC_Linestyle()
- Protected method used by classes derived from WaveGraph
-
addC_Thick()
- Protected method used by classes derived from WaveGraph
-
addColor_Index()
- Protected method used by classes derived from WaveGraph
-
addFilled()
- Protected method used by classes derived from WaveGraph
-
addFollow()
- Protected method used by classes derived from WaveGraph
-
addNLevels()
- Protected method used by classes derived from WaveGraph
-
addSpline()
- Protected method used by classes derived from WaveGraph
-
plot()
- Connects to the PV-WAVE server and creates the graphic
display and displays it in the container.
-
reset()
- Reset all PV-WAVE plot attributes and data
-
setC_Annotation(String[])
- Set the contour labels
-
setC_Charsize(double)
- Set character size for contour labels (default is 0.75 of normal text)
-
setC_Colors(int[])
- Set the contour line colors
-
setC_Labels(int[])
- Specify which contour lines to label
-
setC_Linestyle(int[])
- Set the contour line linestyle
-
setC_Thick(double)
- Set contour line thickness (default = 1 pixel)
-
setColor_Index(int[])
- Set the contour fill colors
-
setFilled(boolean)
- Set filled contours
-
setFollow(boolean)
- Set contour method to line-following vrs cell-drawing (default)
-
setNLevels(int)
- Set number of contour levels (default = 6)
-
setSpline(boolean)
- Set contour interpolation to spline (implies setFollow(true))
c_annotation
protected String c_annotation[]
c_charsize
protected double c_charsize
c_colors
protected int c_colors[]
c_labels
protected int c_labels[]
c_linestyle
protected int c_linestyle[]
c_thick
protected double c_thick
follow
protected boolean follow
nlevels
protected int nlevels
spline
protected boolean spline
filled
protected boolean filled
color_index
protected int color_index[]
WaveContour
public WaveContour(int x,
int y,
int xsize,
int ysize)
- Creates a frame of the requested size
- Parameters:
- x - the x location of the View
- y - the x location of the View
- xs - the with of the View
- ys - the height of the View
plot
public void plot()
- Connects to the PV-WAVE server and creates the graphic
display and displays it in the container.
- Overrides:
- plot in class WaveGraph
setC_Annotation
public void setC_Annotation(String labels[])
- Set the contour labels
setC_Charsize
public void setC_Charsize(double siz)
- Set character size for contour labels (default is 0.75 of normal text)
setC_Colors
public void setC_Colors(int colors[])
- Set the contour line colors
setC_Labels
public void setC_Labels(int labels[])
- Specify which contour lines to label
setC_Linestyle
public void setC_Linestyle(int linestyle[])
- Set the contour line linestyle
setC_Thick
public void setC_Thick(double thick)
- Set contour line thickness (default = 1 pixel)
setFollow
public void setFollow(boolean flag)
- Set contour method to line-following vrs cell-drawing (default)
setNLevels
public void setNLevels(int count)
- Set number of contour levels (default = 6)
setSpline
public void setSpline(boolean flag)
- Set contour interpolation to spline (implies setFollow(true))
setFilled
public void setFilled(boolean flag)
- Set filled contours
setColor_Index
public void setColor_Index(int colors[])
- Set the contour fill colors
addC_Annotation
protected void addC_Annotation()
- Protected method used by classes derived from WaveGraph
addC_Charsize
protected void addC_Charsize()
- Protected method used by classes derived from WaveGraph
addC_Colors
protected void addC_Colors()
- Protected method used by classes derived from WaveGraph
addC_Labels
protected void addC_Labels()
- Protected method used by classes derived from WaveGraph
addC_Linestyle
protected void addC_Linestyle()
- Protected method used by classes derived from WaveGraph
addC_Thick
protected void addC_Thick()
- Protected method used by classes derived from WaveGraph
addFollow
protected void addFollow()
- Protected method used by classes derived from WaveGraph
addNLevels
protected void addNLevels()
- Protected method used by classes derived from WaveGraph
addSpline
protected void addSpline()
- Protected method used by classes derived from WaveGraph
addFilled
protected void addFilled()
- Protected method used by classes derived from WaveGraph
addColor_Index
protected void addColor_Index()
- Protected method used by classes derived from WaveGraph
reset
public void reset()
- Reset all PV-WAVE plot attributes and data
- Overrides:
- reset in class WaveGraph
All Packages Class Hierarchy This Package Previous Next Index