public class ZoomingDelegate
extends java.lang.Object
Constructor and Description |
---|
ZoomingDelegate(javax.swing.JComponent contentComponent,
javax.swing.JComponent viewportComponent) |
Modifier and Type | Method and Description |
---|---|
protected java.awt.Point |
convertToContentCoordinates(java.awt.Point point) |
boolean |
isActive() |
void |
magnificationFinished(double magnification) |
void |
magnificationStarted(java.awt.Point at) |
void |
magnify(double magnification) |
void |
paint(java.awt.Graphics g) |
protected void |
scrollTo(int vOffset,
int hOffset) |
public ZoomingDelegate(javax.swing.JComponent contentComponent, javax.swing.JComponent viewportComponent)
public void paint(java.awt.Graphics g)
public void magnificationStarted(java.awt.Point at)
public void magnificationFinished(double magnification)
protected void scrollTo(int vOffset, int hOffset)
protected java.awt.Point convertToContentCoordinates(java.awt.Point point)
public boolean isActive()
public void magnify(double magnification)