cytoscape.actions
Class ImportGraphFileAction
java.lang.Object
javax.swing.AbstractAction
cytoscape.util.CytoscapeAction
cytoscape.actions.ImportGraphFileAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, MenuListener
public class ImportGraphFileAction
- extends CytoscapeAction
Imports a graph of arbitrary type. The types of graphs allowed are defined by
the ImportHandler.
- See Also:
- Serialized Form
Methods inherited from class cytoscape.util.CytoscapeAction |
actionHelp, clone, completions, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, isAccelerated, isInMenuBar, isInToolBar, menuCanceled, menuDeselected, menuSelected, setAcceleratorCombo, setName, setPreferredButtonGroup, setPreferredIndex, setPreferredMenu, takeArgs |
ImportGraphFileAction
public ImportGraphFileAction(CyMenus windowMenu)
- Constructor.
- Parameters:
windowMenu
- WindowMenu Object.
ImportGraphFileAction
public ImportGraphFileAction(CyMenus windowMenu,
boolean label)
- Constructor.
- Parameters:
windowMenu
- WindowMenu Object.label
- boolean label.
actionPerformed
public void actionPerformed(ActionEvent e)
- User-initiated action to load a CyNetwork into Cytoscape. If successfully
loaded, fires a PropertyChange event with
property=Cytoscape.NETWORK_LOADED, old_value=null, and new_value=a three
element Object array containing:
- first element = CyNetwork loaded
- second element = URI of the location from which the network was
loaded
- third element = an Integer representing the format in which the
Network was loaded (e.g., Cytoscape.FILE_SIF).
- Specified by:
actionPerformed
in interface ActionListener
- Specified by:
actionPerformed
in class CytoscapeAction
- Parameters:
e
- ActionEvent Object.