|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rosuda.ibase.toolkit.PlotComponent
org.rosuda.ibase.toolkit.PGSCanvas
org.rosuda.ibase.toolkit.BaseCanvas
org.rosuda.ibase.plots.MapCanvas
public class MapCanvas
implementation of maps (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 | |
|---|---|
MapCanvas(int gd,
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(KeyEvent e)
|
String |
queryObject(int i)
|
Object |
run(Object o,
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 MapCanvas(int gd,
Frame f,
SVar mv,
SMarker mark)
| Method Detail |
|---|
public void updateObjects()
BaseCanvas
updateObjects in class BaseCanvaspublic String queryObject(int i)
queryObject in class BaseCanvaspublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerkeyTyped in class BaseCanvas
public Object run(Object o,
String cmd)
PGSCanvassuper.run(o,cmd) to retain this functionality
run in interface Commanderrun in class BaseCanvaso - origin of the commandcmd - command string
public SVar getData(int id)
PGSCanvasnull is returned.
getData in class PGSCanvas
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||