hades.gui
Class SaveChangesDialog

java.lang.Object
  extended byhades.gui.SaveChangesDialog
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class SaveChangesDialog
extends java.lang.Object
implements java.awt.event.ActionListener


Field Summary
(package private)  int answer
           
static int CANCEL
           
(package private)  java.awt.Dialog cd
           
static int DONTSAVE
           
static int SAVE
           
 
Constructor Summary
SaveChangesDialog()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void message(java.lang.String msg)
           
 int saveChanges(Editor editor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DONTSAVE

public static final int DONTSAVE
See Also:
Constant Field Values

SAVE

public static final int SAVE
See Also:
Constant Field Values

CANCEL

public static final int CANCEL
See Also:
Constant Field Values

cd

java.awt.Dialog cd

answer

int answer
Constructor Detail

SaveChangesDialog

public SaveChangesDialog()
Method Detail

saveChanges

public int saveChanges(Editor editor)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

message

public void message(java.lang.String msg)