org.skunk.dav.client.gui.action
Class CopyAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.skunk.dav.client.gui.action.CopyAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
MoveAction

public class CopyAction
extends javax.swing.AbstractAction

See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
CopyAction(Explorer ex)
           
CopyAction(Explorer ex, DAVFile file)
           
CopyAction(Explorer ex, DAVTreeNode node, DAVFile file, java.lang.String destinationURL)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
protected  void execute(Explorer ex, DAVTreeNode node, DAVFile file, java.lang.String destinationURL)
           
protected  java.lang.String getDialogTitle()
           
protected  Explorer getExplorer()
           
protected  java.lang.String obtainDestination(java.lang.String filename, DAVTreeNode node)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, 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(Explorer ex,
                  DAVTreeNode node,
                  DAVFile file,
                  java.lang.String destinationURL)

CopyAction

public CopyAction(Explorer ex,
                  DAVFile file)

CopyAction

public CopyAction(Explorer ex)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Overrides:
actionPerformed in class javax.swing.AbstractAction

execute

protected void execute(Explorer ex,
                       DAVTreeNode node,
                       DAVFile file,
                       java.lang.String destinationURL)

getDialogTitle

protected java.lang.String getDialogTitle()

getExplorer

protected Explorer getExplorer()

obtainDestination

protected java.lang.String obtainDestination(java.lang.String filename,
                                             DAVTreeNode node)