toxtree.ui.actions
Class OpenFileAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by toxtree.ui.actions.DataModuleAction
          extended by toxtree.ui.actions.OpenFileAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class OpenFileAction
extends DataModuleAction

Loads a file inti DataModule.getDataContainer()

Author:
Nina Jeliazkova Modified 2005-10-23
See Also:
Serialized Form

Field Summary
 
Fields inherited from class toxtree.ui.actions.DataModuleAction
frame, module
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
OpenFileAction(DataModule module)
           
OpenFileAction(DataModule module, java.lang.String name)
           
OpenFileAction(DataModule module, java.lang.String name, javax.swing.Icon icon)
           
 
Method Summary
 void run()
           
 
Methods inherited from class toxtree.ui.actions.DataModuleAction
actionPerformed, getFrame, setFrame
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenFileAction

public OpenFileAction(DataModule module)
Parameters:
module -

OpenFileAction

public OpenFileAction(DataModule module,
                      java.lang.String name)
Parameters:
module -
name -

OpenFileAction

public OpenFileAction(DataModule module,
                      java.lang.String name,
                      javax.swing.Icon icon)
Parameters:
module -
name -
icon -
Method Detail

run

public void run()
         throws java.lang.Exception
Specified by:
run in class DataModuleAction
Throws:
java.lang.Exception


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.