|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.contrib.zoom.ZoomUpdateStrategy
public class ZoomUpdateStrategy
A variant of the BufferedUpdateStrategy that handles clipping rectangles correctly in the presence of zooming.
BufferedUpdateStrategy,
Serialized Form| Field Summary | |
|---|---|
private int |
fImageheight
|
private int |
fImagewidth
|
private java.awt.Image |
fOffscreen
The offscreen image |
| Constructor Summary | |
|---|---|
ZoomUpdateStrategy()
|
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics g,
DrawingView view)
Draws the view contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private transient java.awt.Image fOffscreen
private int fImagewidth
private int fImageheight
| Constructor Detail |
|---|
public ZoomUpdateStrategy()
| Method Detail |
|---|
public void draw(java.awt.Graphics g,
DrawingView view)
draw in interface Painter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||