org.fopps.ui.actions
Class DecDurationAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--org.fopps.ui.actions.BaseAction
|
+--org.fopps.ui.actions.ProjectAction
|
+--org.fopps.ui.actions.DecDurationAction
- 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 DecDurationAction
- extends ProjectAction
DecDurationAction increases the duration of a project by one month
- 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 |
|
Method Summary |
boolean |
addToMenu()
Return true, if action should be added to menu. |
void |
processElement(java.lang.Object pObject)
processElement is falled for every selected item |
| Methods inherited from class org.fopps.ui.actions.BaseAction |
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 |
DecDurationAction
public DecDurationAction(ActionHandler pListener)
- Constructor for DecDurationAction.
- Parameters:
pListener -
DecDurationAction
public DecDurationAction(java.lang.String name,
ActionHandler pListener)
- Constructor for DecDurationAction.
- Parameters:
name - pListener -
DecDurationAction
public DecDurationAction(java.lang.String name,
javax.swing.Icon icon,
ActionHandler pListener)
- Constructor for DecDurationAction.
- Parameters:
name - icon - pListener -
processElement
public void processElement(java.lang.Object pObject)
- Description copied from class:
ProjectAction
- processElement is falled for every selected item
- Specified by:
processElement in class ProjectAction
addToMenu
public boolean addToMenu()
- Return true, if action should be added to menu. Default is false
- Overrides:
addToMenu in class BaseAction
Fopps 0.19 - Copyright © 2002 Oliver Wieland. All Rights Reserved.