|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.ibase.toolkit.PlotComponent org.rosuda.ibase.toolkit.PGSCanvas org.rosuda.ibase.toolkit.BaseCanvas org.rosuda.ibase.plots.HamCanvas
public class HamCanvas
implementation of hammock plots (uses BaseCanvas
)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.rosuda.ibase.toolkit.PGSCanvas |
---|
PGSCanvas.IDlgCL |
Field Summary |
---|
Fields inherited from class org.rosuda.ibase.toolkit.PGSCanvas |
---|
ax, ay, cancel, desc, inProgress, intDlg, myFrame, pageFormat, paintLayerCounter, pm |
Fields inherited from class org.rosuda.ibase.toolkit.PlotComponent |
---|
AWTGrDevID, GrDevID, JOGLGrDevID, layers, SWINGGrDevID |
Fields inherited from interface java.awt.print.Printable |
---|
NO_SUCH_PAGE, PAGE_EXISTS |
Constructor Summary | |
---|---|
HamCanvas(int gd,
java.awt.Frame f,
SVar[] mv,
SMarker mark)
|
Method Summary | |
---|---|
SVar |
getData(int id)
this method provides an API to fetch data contents of the plot. |
void |
keyTyped(java.awt.event.KeyEvent e)
|
void |
paintBack(PoGraSS g)
|
java.lang.String |
queryObject(int i)
|
java.lang.Object |
run(java.lang.Object o,
java.lang.String cmd)
default handing of commands "exportPGS" and "exportPS". |
void |
updateObjects()
rebuilds plot primitives - subclasses should override this method. |
Methods inherited from class org.rosuda.ibase.toolkit.PGSCanvas |
---|
beginPaint, endPaint, finalize, forcedFlush, getFrame, getGlobalNotifier, getPlotManager, getTitle, getXAxis, getYAxis, nextLayer, paintLayer, print, setFrame, setOption, setOption, setOption, setOption, setOption, setOption, setTitle |
Methods inherited from class org.rosuda.ibase.toolkit.PlotComponent |
---|
addKeyListener, addMouseListener, addMouseMotionListener, getBounds, getComponent, getHeight, getLocation, getParent, getSize, getWidth, newQueryPopup, newQueryPopup, paintLayer, repaint, setBackground, setCursor, setSize, setSize, setToolTipText, setUpdateRoot |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HamCanvas(int gd, java.awt.Frame f, SVar[] mv, SMarker mark)
Method Detail |
---|
public void updateObjects()
BaseCanvas
updateObjects
in class BaseCanvas
public void paintBack(PoGraSS g)
paintBack
in class BaseCanvas
public java.lang.String queryObject(int i)
queryObject
in class BaseCanvas
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
keyTyped
in class BaseCanvas
public java.lang.Object run(java.lang.Object o, java.lang.String cmd)
PGSCanvas
super.run(o,cmd)
to retain this functionality
run
in interface Commander
run
in class BaseCanvas
o
- origin of the commandcmd
- command string
public SVar getData(int id)
PGSCanvas
null
is returned.
getData
in class PGSCanvas
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |