de.jreality.ui.viewerapp.actions.camera
Class AbstractCameraAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by de.jreality.ui.viewerapp.actions.AbstractJrAction
          extended by de.jreality.ui.viewerapp.actions.camera.AbstractCameraAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
LoadCameraPreferences, SaveCameraPreferences, ShiftEyeSeparation, ShiftFieldOfView, ShiftFocus, TogglePerspective, ToggleStereo

public abstract class AbstractCameraAction
extends AbstractJrAction

Abstract class for camera actions. Doesn't depend on the current selection.

Author:
msommer
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
AbstractCameraAction(String name, Viewer v)
           
 
Method Summary
 double getStep()
          Get the step of shift actions.
 void setStep(double step)
          Set the step of shift actions.
 
Methods inherited from class de.jreality.ui.viewerapp.actions.AbstractJrAction
actionPerformed, createMenuItem, createToolboxItem, getIcon, setAcceleratorKey, setIcon, setName, setShortDescription
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCameraAction

public AbstractCameraAction(String name,
                            Viewer v)
Method Detail

setStep

public void setStep(double step)
Set the step of shift actions.


getStep

public double getStep()
Get the step of shift actions.