public class SaveEvent extends EventObject
| Modifier and Type | Field and Description |
|---|---|
static short |
AFTER_SAVING
Determines that has saved a file.
|
static short |
BEFORE_SAVING
Determines that's going to save a file.
|
source| Constructor and Description |
|---|
SaveEvent(Object source,
short id,
File file)
Creates a new
SaveEvent instance. |
| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Gets the file saved or going to be saved.
|
int |
getID()
Returns the event type.
|
protected String |
paramString()
Returns a string representing the kind of this
Event. |
String |
toString()
Returns a String representation of this EventObject.
|
getSourcepublic static final short BEFORE_SAVING
public static final short AFTER_SAVING
public String toString()
toString in class EventObjectprotected String paramString()
Event.public int getID()
public File getFile()