|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.display.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 |
endZoom(int xpix,
int ypix)
Ends the zoom by setting a new scale. |
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 endZoom(int xpix, int ypix)
public void drag(int xpix, int ypix)
xpix
- ypix
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |