org.simBio.sim.analyzer.graph.simple
インタフェース ICanvas

既知の実装クラスの一覧:
RateGraph, RateGraph_KA, Viewer

public interface ICanvas

draw axis and plot point to the canvas
SwingもしくはSWTに依存せず画面描画するためのインターフェイス。

作成者:
Nobuaki Sarai

メソッドの概要
 void drawBar(int x, int y, int width, int height, int c)
           
 void drawPoint(int x, int y, int size, int c)
           
 double getScaleHeight()
          scaling factor = reference height (0.01 mm) / physical height (pixel)
 double getScaleWidth()
          scaling factor = reference width (0.01 mm) / physical width (pixel)
 void plotAxises(Axis xAxis, Axis yAxis)
          plot axses and grids
 void reset()
          get graphics and clear.
 

メソッドの詳細

reset

void reset()
get graphics and clear.


plotAxises

void plotAxises(Axis xAxis,
                Axis yAxis)
plot axses and grids

パラメータ:
xAxis - x axis
yAxis - y axis

drawPoint

void drawPoint(int x,
               int y,
               int size,
               int c)
パラメータ:
x -
y -
size -
c -

drawBar

void drawBar(int x,
             int y,
             int width,
             int height,
             int c)

getScaleWidth

double getScaleWidth()
scaling factor = reference width (0.01 mm) / physical width (pixel)

戻り値:
reference width / physical width

getScaleHeight

double getScaleHeight()
scaling factor = reference height (0.01 mm) / physical height (pixel)

戻り値:
reference height / physical height


???(C) 2002-2007 ?????????????????????