| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private float | |
| private static ZoomMenu | |
| private final JMenu | |
| private float | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public float | |
| public static ZoomMenu | |
| public float | |
| public static float | |
| public static boolean | Returns: true if the command is a zoom menu command, e.g. "100%", false if not.a menu command string. actionCommand)Tell whether the command belongs to the zoom menu. |
| public void | |
| public void | |
| public void |
| imageZoomScale | back to summary |
|---|---|
| private float imageZoomScale | |
| instance | back to summary |
|---|---|
| private static ZoomMenu instance | |
| menu | back to summary |
|---|---|
| private final JMenu menu | |
| pageZoomScale | back to summary |
|---|---|
| private float pageZoomScale | |
| ZOOMS | back to summary |
|---|---|
| private static final int[] ZOOMS | |
| ZoomMenu | back to summary |
|---|---|
| private ZoomMenu() Constructor. | |
| changeZoomSelection | back to summary |
|---|---|
| public void changeZoomSelection(float zoomValue) Set the zoom selection.
| |
| getImageZoomScale | back to summary |
|---|---|
| public float getImageZoomScale() | |
| getInstance | back to summary |
|---|---|
| public static ZoomMenu getInstance() Provides the ZoomMenu instance.
| |
| getPageZoomScale | back to summary |
|---|---|
| public float getPageZoomScale() | |
| getZoomScale | back to summary |
|---|---|
| public static float getZoomScale() Tell the current zoom scale.
| |
| isZoomMenu | back to summary |
|---|---|
| public static boolean isZoomMenu(String actionCommand) Tell whether the command belongs to the zoom menu.
| |
| resetZoom | back to summary |
|---|---|
| public void resetZoom() When a new file is loaded zoom values should be reset. | |
| setImageZoomScale | back to summary |
|---|---|
| public void setImageZoomScale(float imageZoomValue) | |
| setPageZoomScale | back to summary |
|---|---|
| public void setPageZoomScale(float pageZoomValue) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| zoom | back to summary |
|---|---|
| private final int zoom | |
| ZoomMenuItem | back to summary |
|---|---|
| pack-priv ZoomMenuItem(String text, int zoom) | |