|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.display.DrawingPanel.ZoomBox
public class DrawingPanel.ZoomBox
ZoomBox creates an on-screen rectangle using XORMode for fast redrawing.
| Constructor Summary | |
|---|---|
DrawingPanel.ZoomBox()
|
|
| Method Summary | |
|---|---|
void |
drag(int xpix,
int ypix)
Drags the corner of the ZoomBox. |
void |
hide()
Hides the zoom box. |
java.awt.geom.Rectangle2D.Double |
reportZoom(int xpix,
int ypix)
Hides the zoom box and reports the rectangle selected. |
void |
startZoom(int xpix,
int ypix)
Starts the zoom by saving the corner location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrawingPanel.ZoomBox()
| Method Detail |
|---|
public void startZoom(int xpix,
int ypix)
xpix - ypix - public void hide()
public void drag(int xpix,
int ypix)
xpix - ypix -
public java.awt.geom.Rectangle2D.Double reportZoom(int xpix,
int ypix)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||