public class ZoomOutAction extends javax.swing.AbstractAction
Panel3D.
ZoomInAction,
Serialized Form| Constructor and Description |
|---|
ZoomOutAction(Panel3D panel,
boolean fontAwesome)
Creates a new zoom-out action associated with the specified panel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Performs the zoom out action.
|
double |
getZoomMultiplier()
Returns the zoom multiplier.
|
void |
setZoomMultiplier(double multiplier)
Sets the zoom multiplier (the current viewing distance is multiplied
by this factor to determine the new viewing distance).
|
public ZoomOutAction(Panel3D panel, boolean fontAwesome)
panel - the panel (null not permitted).fontAwesome - use the FontAwesome icon text?public double getZoomMultiplier()
100 / 95 (the inverse of the multiplier in the
ZoomInAction).public void setZoomMultiplier(double multiplier)
multiplier - the new multiplier.public void actionPerformed(java.awt.event.ActionEvent e)
e - the action event.