public class ZoomAction extends ViewerAction
Modifier and Type | Field and Description |
---|---|
static int |
ZOOM_IN |
static int |
ZOOM_OUT |
static int |
ZOOM_TO_FIT |
static int |
ZOOM_TO_ORIG |
Constructor and Description |
---|
ZoomAction(javax.swing.Icon icon,
java.lang.String tooltip,
Zoomer zoomer,
int type) |
ZoomAction(java.lang.String s,
javax.swing.Icon icon,
java.lang.String tooltip,
javax.swing.KeyStroke accelerator,
java.lang.Integer mnemonic,
Zoomer zoomer,
int type) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event) |
public static final int ZOOM_IN
public static final int ZOOM_OUT
public static final int ZOOM_TO_FIT
public static final int ZOOM_TO_ORIG
public ZoomAction(java.lang.String s, javax.swing.Icon icon, java.lang.String tooltip, javax.swing.KeyStroke accelerator, java.lang.Integer mnemonic, Zoomer zoomer, int type)
public ZoomAction(javax.swing.Icon icon, java.lang.String tooltip, Zoomer zoomer, int type)