org.fopps.ui.actions
Class AttachFilesAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.fopps.ui.actions.BaseAction
              |
              +--org.fopps.ui.actions.FeatureAction
                    |
                    +--org.fopps.ui.actions.AttachFilesAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener, java.awt.event.ItemListener, java.io.Serializable

public class AttachFilesAction
extends FeatureAction

AttachFilesAction is an action to attach files to a feature

Author:
Oliver Wieland
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.fopps.ui.actions.BaseAction
GROUP, selectedItems
 
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
AttachFilesAction(ActionHandler pListener)
           
AttachFilesAction(java.lang.String name, ActionHandler pListener)
           
AttachFilesAction(java.lang.String name, javax.swing.Icon icon, ActionHandler pListener)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 boolean addToPopup()
          Determines, if action should appear in popup menu
 
Methods inherited from class org.fopps.ui.actions.FeatureAction
acceptSelection
 
Methods inherited from class org.fopps.ui.actions.BaseAction
addToMenu, addToToolBar, clearSelection, compareTo, getAccelerator, getActionHandler, getApplication, getContainer, getGroup, getIcon, getLocaleName, getLongDescription, getMnemonic, getName, getSelectedItems, getSelectionSize, getShortDescription, isStringPropertySet, isTogglable, itemInSelection, itemStateChanged, setAccelerator, setAccelerator, setAcceleratorWithAlt, setAcceleratorWithCtrl, setAcceleratorWithShift, setGroup, setLocaleName, setLongDescription, setMnemonic, setMnemonic, setShortDescription, toString, updateState
 
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, wait, wait, wait
 

Constructor Detail

AttachFilesAction

public AttachFilesAction(ActionHandler pListener)

AttachFilesAction

public AttachFilesAction(java.lang.String name,
                         ActionHandler pListener)

AttachFilesAction

public AttachFilesAction(java.lang.String name,
                         javax.swing.Icon icon,
                         ActionHandler pListener)
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 FeatureAction
See Also:
ActionListener.actionPerformed(ActionEvent)

addToPopup

public boolean addToPopup()
Determines, if action should appear in popup menu

Overrides:
addToPopup in class FeatureAction
Returns:
true, if action should added to context menu, otherwise false


Fopps 0.19 - Copyright © 2002 Oliver Wieland. All Rights Reserved.