cytoscape.actions
Class ExportAsInteractionsAction
java.lang.Object
javax.swing.AbstractAction
cytoscape.util.CytoscapeAction
cytoscape.actions.ExportAsInteractionsAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class ExportAsInteractionsAction
- extends CytoscapeAction
write out the current graph to the specified file, using the standard
interactions format: nodeA edgeType nodeB.
for example:
YMR056C pp YLL013C
YCR107W pp YBR265W
- See Also:
- Serialized Form
Method Summary |
void |
actionPerformed(ActionEvent e)
User-initiated action to save the current network in SIF format
to a user-specified file. |
Methods inherited from class cytoscape.util.CytoscapeAction |
actionHelp, clone, completions, getActionList, getKeyCode, getKeyModifiers, getName, getPreferredButtonGroup, getPreferredMenu, getPrefferedIndex, isAccelerated, isInMenuBar, isInToolBar, setAcceleratorCombo, setName, setPreferredButtonGroup, setPreferredIndex, setPreferredMenu, takeArgs |
ExportAsInteractionsAction
public ExportAsInteractionsAction()
- Constructor.
actionPerformed
public void actionPerformed(ActionEvent e)
- User-initiated action to save the current network in SIF format
to a user-specified file. If successfully saved, fires a
PropertyChange event with property=Cytoscape.NETWORK_SAVED,
old_value=null, and new_value=a three element Object array containing:
- first element = CyNetwork saved
- second element = URI of the location where saved
- third element = an Integer representing the format in which the
Network was saved (e.g., Cytoscape.FILE_SIF).
- Specified by:
actionPerformed
in interface ActionListener
- Specified by:
actionPerformed
in class CytoscapeAction
- Parameters:
e
- ActionEvent Object.