de.java_chess.javaChess.action
Class JavaChessAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--de.java_chess.javaChess.action.JavaChessAction
Direct Known Subclasses:
SaveGameAction

public abstract class JavaChessAction
extends javax.swing.AbstractAction

This class is the foundation for most actions within this application.

See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Constructor Summary
JavaChessAction(java.lang.String name)
          Create a new Java-Chess action.
 
Method Summary
 java.lang.String getName()
          Get the name of this action (which is currently the short description).
 java.lang.String getShortDescription()
          Get the short description (the name) of this action.
 
Methods inherited from class javax.swing.AbstractAction
actionPerformed, addPropertyChangeListener, clone, firePropertyChange, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaChessAction

public JavaChessAction(java.lang.String name)
Create a new Java-Chess action.
Parameters:
name - The name of the action.
Method Detail

getShortDescription

public java.lang.String getShortDescription()
Get the short description (the name) of this action.
Returns:
The short description of this action.

getName

public final java.lang.String getName()
Get the name of this action (which is currently the short description).
Returns:
The name of this action.