gov.usda.gdpc.browser
Class DoubleArrowAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bygov.usda.gdpc.browser.DoubleArrowAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.lang.Runnable, java.io.Serializable

public class DoubleArrowAction
extends javax.swing.AbstractAction
implements java.lang.Runnable

See Also:
Serialized Form

Field Summary
static java.lang.String TEXT
           
 
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
DoubleArrowAction(Browser browser, DBElementTree filteredTree, DBElementTree workingTree)
          DoubleArrowAction Constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Invoked when action performed.
 void run()
          Method executed when this thread starts that adds all items in filtered tree to the working tree.
 
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
 

Field Detail

TEXT

public static final java.lang.String TEXT
See Also:
Constant Field Values
Constructor Detail

DoubleArrowAction

public DoubleArrowAction(Browser browser,
                         DBElementTree filteredTree,
                         DBElementTree workingTree)
DoubleArrowAction Constructor.

Parameters:
browser - associated GDPC browser
filteredTree - filtered tree
workingTree - working tree
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Invoked when action performed.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - event

run

public void run()
Method executed when this thread starts that adds all items in filtered tree to the working tree.

Specified by:
run in interface java.lang.Runnable