org.rosuda.ibase.toolkit
Class PlotComponent
java.lang.Object
org.rosuda.ibase.toolkit.PlotComponent
- Direct Known Subclasses:
- PGSCanvas
public abstract class PlotComponent
- extends java.lang.Object
PlotComponent units graphic-, mouse- and keyboard interactivity
- Version:
- $Id: PlotComponent.java 2312 2006-04-27 22:16:43Z urbaneks $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AWTGrDevID
public static final int AWTGrDevID
- See Also:
- Constant Field Values
SWINGGrDevID
public static final int SWINGGrDevID
- See Also:
- Constant Field Values
JOGLGrDevID
public static final int JOGLGrDevID
- See Also:
- Constant Field Values
GrDevID
public final int GrDevID
layers
public int layers
PlotComponent
public PlotComponent(int gd,
int _layers)
- Parameters:
gd
- 0 == AWT, 1 == SWING, 2 == JOGLlayers
-
PlotComponent
public PlotComponent(int gd)
paintLayer
public void paintLayer(int layers)
paintPoGraSS
public abstract void paintPoGraSS(PoGraSS p)
beginPaint
protected abstract void beginPaint(PoGraSS p)
endPaint
protected abstract void endPaint(PoGraSS p)
repaint
public void repaint()
setUpdateRoot
public void setUpdateRoot(int root)
newQueryPopup
public QueryPopup newQueryPopup(java.awt.Window win,
SVarSet vs,
java.lang.String ct,
int w,
int cid)
newQueryPopup
public QueryPopup newQueryPopup(java.awt.Window win,
SVarSet vs,
java.lang.String ct)
setToolTipText
public void setToolTipText(java.lang.String s)
getComponent
public java.awt.Component getComponent()
getBounds
public java.awt.Rectangle getBounds()
setSize
public void setSize(int w,
int h)
getSize
public java.awt.Dimension getSize()
setBackground
public void setBackground(java.awt.Color c)
addMouseListener
public void addMouseListener(java.awt.event.MouseListener l)
addMouseMotionListener
public void addMouseMotionListener(java.awt.event.MouseMotionListener l)
addKeyListener
public void addKeyListener(java.awt.event.KeyListener l)
getLocation
public java.awt.Point getLocation()
setCursor
public void setCursor(java.awt.Cursor c)
setSize
public void setSize(java.awt.Dimension d)
getWidth
public int getWidth()
getHeight
public int getHeight()
getParent
public java.awt.Container getParent()