org.rosuda.ibase.toolkit
Class PlotImage

java.lang.Object
  extended by org.rosuda.ibase.toolkit.PlotObject
      extended by org.rosuda.ibase.toolkit.PlotImage

public class PlotImage
extends PlotObject

PlotLine is a PlotObject implementing a bitmap image


Field Summary
 
Fields inherited from class org.rosuda.ibase.toolkit.PlotObject
CS_ABS, CS_REL, CS_VAR
 
Constructor Summary
PlotImage(PlotManager p)
          creates a new image
 
Method Summary
 void draw(PoGraSS g)
          draw the line
 void set(double X1, double Y1, double X2, double Y2)
          set both points
 void set(int X1, int Y1, int X2, int Y2)
          set both points
 void setImage(PoGraSSimage img)
           
 java.lang.String toString()
          textual info about the line
 
Methods inherited from class org.rosuda.ibase.toolkit.PlotObject
dispose, gerDrawColor, gerFillColor, getLayer, getXPos, getYPos, isVisible, setClip, setCoordinates, setCoordinates, setDrawColor, setFillColor, setLayer, setVisible, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlotImage

public PlotImage(PlotManager p)
creates a new image

Method Detail

setImage

public void setImage(PoGraSSimage img)

set

public void set(int X1,
                int Y1,
                int X2,
                int Y2)
set both points


set

public void set(double X1,
                double Y1,
                double X2,
                double Y2)
set both points


draw

public void draw(PoGraSS g)
draw the line

Overrides:
draw in class PlotObject
Parameters:
g - graphics context for painting

toString

public java.lang.String toString()
textual info about the line

Overrides:
toString in class PlotObject