Graph Common

pl.psnc.graph.action
Class CopyAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by pl.psnc.vlab.util.gui.action.AbstractActionDefault
          extended by pl.psnc.vlab.util.gui.action.LocalizedAbstractAction
              extended by pl.psnc.graph.action.factory.AbstractGraphAction
                  extended by pl.psnc.graph.action.CopyAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, pl.psnc.vlab.util.gui.action.ActionDecorator

public class CopyAction
extends AbstractGraphAction

CopyAction class - handles the copy event.

Author:
Dominik Stoklosa (~osa~)
See Also:
Serialized Form
Email address
osa@man.poznan.pl

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface pl.psnc.vlab.util.gui.action.ActionDecorator
DISABLED_ICON, PARENT_OBJECT
 
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
CopyAction()
          Creates a new instance of Copy Action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class pl.psnc.graph.action.factory.AbstractGraphAction
getBundle, getCurrentGraph
 
Methods inherited from class pl.psnc.vlab.util.gui.action.LocalizedAbstractAction
setAcceleratorKey, setDisabledActionIcon, setMnemonic, setShortDescription
 
Methods inherited from class pl.psnc.vlab.util.gui.action.AbstractActionDefault
addSource, getDisabledActionIcon, getName, getShortDescription, getSources, setDisabledActionIcon, setIcon, setMnemonic, setName
 
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

CopyAction

public CopyAction()
           throws pl.psnc.vlab.exception.ResourceNotFoundException
Creates a new instance of Copy Action. The copy action is used to clone the existing nodes. The action is created with the default name, icons, mnemonic and accelerator key - these are taken from the resource bundle

Throws:
pl.psnc.vlab.exception.ResourceNotFoundException
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Specified by:
actionPerformed in class pl.psnc.vlab.util.gui.action.AbstractActionDefault
See Also:
ActionListener.actionPerformed(ActionEvent)

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa