Package app.events
Class SaveFileEvent
java.lang.Object
app.events.Event
app.events.SaveFileEvent
public class SaveFileEvent extends Event
Event signalizing that the current file should be saved to disk
-
Constructor Summary
Constructors Constructor Description SaveFileEvent()
Event signalizing that a file is to be saved.SaveFileEvent(boolean isNewFile)
Event signalizing that a file is to be saved. -
Method Summary
Modifier and Type Method Description boolean
getIsNewFile()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SaveFileEvent
public SaveFileEvent()Event signalizing that a file is to be saved. -
SaveFileEvent
public SaveFileEvent(boolean isNewFile)Event signalizing that a file is to be saved.- Parameters:
isNewFile
- The path of the selected file
-
-
Method Details
-
getIsNewFile
public boolean getIsNewFile()- Returns:
- Whether or not
-