org.PingOO.DLAI.PPM
Class PPM.StartToolAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--org.PingOO.DLAI.lib.PWidget.PAction
|
+--org.PingOO.DLAI.PPM.PPM.StartToolAction
- private final class PPM.StartToolAction
- extends PAction
The action associated which each tool.
Basically the same as the StartSlaveAction.
- Since:
- PingOO 2.0
- Version:
- 2.0
- Author:
- Fabrice Bouyé (bouye@cur-archamps.fr)
- See Also:
- Serialized Form
|
Field Summary |
private java.lang.Class |
toolClass
The class of the tool to start. |
| Fields inherited from class javax.swing.AbstractAction |
changeSupport,
enabled,
keyTable |
|
Constructor Summary |
private |
PPM.StartToolAction(java.lang.Class toolClass,
java.lang.String textKey,
java.lang.String toolTipKey,
javax.swing.Icon icon)
Creates a new action. |
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent event)
Action to execute when one of the target is clicked. |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener,
clone,
firePropertyChange,
getValue,
isEnabled,
putValue,
removePropertyChangeListener,
setEnabled |
| Methods inherited from class java.lang.Object |
,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
toolClass
private java.lang.Class toolClass
- The class of the tool to start.
PPM.StartToolAction
private PPM.StartToolAction(java.lang.Class toolClass,
java.lang.String textKey,
java.lang.String toolTipKey,
javax.swing.Icon icon)
- Creates a new action.
- Parameters:
toolClass - The class of the tool to start.textKey - The text for the target buttons.toolTipKey - The tool tip for the target buttons.icon - The icon for the target buttons.
actionPerformed
public final void actionPerformed(java.awt.event.ActionEvent event)
- Action to execute when one of the target is clicked.
- Parameters:
event - The action event.- Overrides:
- actionPerformed in class javax.swing.AbstractAction