de.jreality.ui.viewerapp.actions.file
Class LoadFile

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by de.jreality.ui.viewerapp.actions.AbstractJrAction
          extended by de.jreality.ui.viewerapp.actions.file.LoadFile
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class LoadFile
extends AbstractJrAction

Loads one or several files into the scene and optionally merges indexed face & line sets (adds the files as children to the selection managers default selection, which is usually the scene node).

Author:
msommer
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
LoadFile(String name, SceneGraphComponent parentNode)
           
LoadFile(String name, SceneGraphComponent parentNode, Component parentComp)
           
LoadFile(String name, SceneGraphComponent parentNode, Viewer viewer)
           
LoadFile(String name, SceneGraphComponent parentNode, Viewer viewer, Component parentComp)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class de.jreality.ui.viewerapp.actions.AbstractJrAction
setAcceleratorKey, 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

LoadFile

public LoadFile(String name,
                SceneGraphComponent parentNode,
                Viewer viewer,
                Component parentComp)

LoadFile

public LoadFile(String name,
                SceneGraphComponent parentNode,
                Viewer viewer)

LoadFile

public LoadFile(String name,
                SceneGraphComponent parentNode,
                Component parentComp)

LoadFile

public LoadFile(String name,
                SceneGraphComponent parentNode)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
Specified by:
actionPerformed in class AbstractJrAction