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

Variable Index

 o c_annotation
 o c_charsize
 o c_colors
 o c_labels
 o c_linestyle
 o c_thick
 o color_index
 o filled
 o follow
 o nlevels
 o spline

Constructor Index

 o WaveContour(int, int, int, int)
Creates a frame of the requested size

Method Index

 o addC_Annotation()
Protected method used by classes derived from WaveGraph
 o addC_Charsize()
Protected method used by classes derived from WaveGraph
 o addC_Colors()
Protected method used by classes derived from WaveGraph
 o addC_Labels()
Protected method used by classes derived from WaveGraph
 o addC_Linestyle()
Protected method used by classes derived from WaveGraph
 o addC_Thick()
Protected method used by classes derived from WaveGraph
 o addColor_Index()
Protected method used by classes derived from WaveGraph
 o addFilled()
Protected method used by classes derived from WaveGraph
 o addFollow()
Protected method used by classes derived from WaveGraph
 o addNLevels()
Protected method used by classes derived from WaveGraph
 o addSpline()
Protected method used by classes derived from WaveGraph
 o plot()
Connects to the PV-WAVE server and creates the graphic display and displays it in the container.
 o reset()
Reset all PV-WAVE plot attributes and data
 o setC_Annotation(String[])
Set the contour labels
 o setC_Charsize(double)
Set character size for contour labels (default is 0.75 of normal text)
 o setC_Colors(int[])
Set the contour line colors
 o setC_Labels(int[])
Specify which contour lines to label
 o setC_Linestyle(int[])
Set the contour line linestyle
 o setC_Thick(double)
Set contour line thickness (default = 1 pixel)
 o setColor_Index(int[])
Set the contour fill colors
 o setFilled(boolean)
Set filled contours
 o setFollow(boolean)
Set contour method to line-following vrs cell-drawing (default)
 o setNLevels(int)
Set number of contour levels (default = 6)
 o setSpline(boolean)
Set contour interpolation to spline (implies setFollow(true))

Variables

 o c_annotation
  protected String c_annotation[]
 o c_charsize
  protected double c_charsize
 o c_colors
  protected int c_colors[]
 o c_labels
  protected int c_labels[]
 o c_linestyle
  protected int c_linestyle[]
 o c_thick
  protected double c_thick
 o follow
  protected boolean follow
 o nlevels
  protected int nlevels
 o spline
  protected boolean spline
 o filled
  protected boolean filled
 o color_index
  protected int color_index[]

Constructors

 o 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

Methods

 o 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
 o setC_Annotation
  public void setC_Annotation(String labels[])
Set the contour labels
 o setC_Charsize
  public void setC_Charsize(double siz)
Set character size for contour labels (default is 0.75 of normal text)
 o setC_Colors
  public void setC_Colors(int colors[])
Set the contour line colors
 o setC_Labels
  public void setC_Labels(int labels[])
Specify which contour lines to label
 o setC_Linestyle
  public void setC_Linestyle(int linestyle[])
Set the contour line linestyle
 o setC_Thick
  public void setC_Thick(double thick)
Set contour line thickness (default = 1 pixel)
 o setFollow
  public void setFollow(boolean flag)
Set contour method to line-following vrs cell-drawing (default)
 o setNLevels
  public void setNLevels(int count)
Set number of contour levels (default = 6)
 o setSpline
  public void setSpline(boolean flag)
Set contour interpolation to spline (implies setFollow(true))
 o setFilled
  public void setFilled(boolean flag)
Set filled contours
 o setColor_Index
  public void setColor_Index(int colors[])
Set the contour fill colors
 o addC_Annotation
  protected void addC_Annotation()
Protected method used by classes derived from WaveGraph
 o addC_Charsize
  protected void addC_Charsize()
Protected method used by classes derived from WaveGraph
 o addC_Colors
  protected void addC_Colors()
Protected method used by classes derived from WaveGraph
 o addC_Labels
  protected void addC_Labels()
Protected method used by classes derived from WaveGraph
 o addC_Linestyle
  protected void addC_Linestyle()
Protected method used by classes derived from WaveGraph
 o addC_Thick
  protected void addC_Thick()
Protected method used by classes derived from WaveGraph
 o addFollow
  protected void addFollow()
Protected method used by classes derived from WaveGraph
 o addNLevels
  protected void addNLevels()
Protected method used by classes derived from WaveGraph
 o addSpline
  protected void addSpline()
Protected method used by classes derived from WaveGraph
 o addFilled
  protected void addFilled()
Protected method used by classes derived from WaveGraph
 o addColor_Index
  protected void addColor_Index()
Protected method used by classes derived from WaveGraph
 o 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