Class RVLS.axisCanvas
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class RVLS.axisCanvas

Object
   |
   +----Component
           |
           +----Canvas
                   |
                   +----RVLS.axisCanvas

public class axisCanvas
extends Canvas
axisCanvas will create a Y axis according to the given range in setParams(double y0, double yf), and the actual Canvas size.

Variable Index

 o t

Constructor Index

 o RVLS.axisCanvas()

Method Index

 o paint(Graphics)
 o getNdec()
 o setBounds(int, int, int, int)
 o getHighestTickValue()
 o getHighestTick()
 o setNdec(int)
 o setParams(double, double)
 o getreqWidth()
 o getLowestTickValue()
 o getLowestTick()

Variables

 o t
  protected double[] t[]

Constructors

 o axisCanvas
  public axisCanvas()

Methods

 o paint
  public void paint(Graphics g)
Overrides:
paint in class Canvas
 o setBounds
  public void setBounds(int a,
                        int b,
                        int w,
                        int h)
Overrides:
setBounds in class Component
 o getNdec
  public int getNdec()
 o getHighestTickValue
  public double getHighestTickValue()
 o getHighestTick
  public int getHighestTick()
 o setNdec
  public void setNdec(int ndec)
 o setParams
  public void setParams(double y0,
                        double yf)
Parameters:
y0 - minimum value
yf - maximum value
 o getreqWidth
  public int getreqWidth()
 o getLowestTickValue
  public double getLowestTickValue()
 o getLowestTick
  public int getLowestTick()

All Packages  Class Hierarchy  This Package  Previous  Next  Index