|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractAction | +--de.java_chess.javaChess.action.JavaChessAction | +--de.java_chess.javaChess.action.SaveGameAction
This class implements the action to save a game.
Fields inherited from class javax.swing.AbstractAction |
changeSupport,
enabled |
Constructor Summary | |
SaveGameAction(GameNotation gameNotation)
Create a new action instance. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
The actual action. event The event, that caused this action. |
void |
trySave(java.io.File file)
Try to save the game into the given file. |
Methods inherited from class de.java_chess.javaChess.action.JavaChessAction |
getName,
getShortDescription |
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,
toString,
wait,
wait,
wait |
Constructor Detail |
public SaveGameAction(GameNotation gameNotation)
gameNotation
- The game notation.Method Detail |
public void actionPerformed(java.awt.event.ActionEvent event)
public void trySave(java.io.File file)
file
- The file to write into.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |