net.sf.magicproject.ui.component.task
Class TaskAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by net.sf.magicproject.ui.component.task.TaskAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
LinkAction, StringAction, TextAction

public abstract class TaskAction
extends javax.swing.AbstractAction

Since:
0.90
Author:
Fabrice Daugan
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
abstract  void actionPerformed(java.awt.event.ActionEvent e)
           
 MCard getCard()
          Return the card currently used by this action.
 void revalidate(MCard card)
          Revalidate this action with the given card.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

actionPerformed

public abstract void actionPerformed(java.awt.event.ActionEvent e)

revalidate

public final void revalidate(MCard card)
Revalidate this action with the given card.

Parameters:
card - the new card used to revalidate content of this action.

getCard

public MCard getCard()
Return the card currently used by this action.
Unreferenced method, but called with reflection.

Returns:
the card currently used by this action.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.