All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.excelaccessor.event.FileSavingEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.excelaccessor.event.FileSavingEvent
- public class FileSavingEvent
- extends EventObject
This event is fired to signal that a modified workbook file is being
closed and the status of the saveOnClose flag of the ExcelWorkbook
will be used to determine whether it will be saved or not. This
event can be used to modify the saveOnClose flag and possibly
discard changes made to a workbook file.
- See Also:
- EventObject, FileSavingListener
-
FileSavingEvent(Object, String)
- Constructs a
FileSavingEvent object with the
specified source object and the name of the modified
workbook file that is being closed.
-
getWorkbookName()
- Returns the name of the workbook.
FileSavingEvent
public FileSavingEvent(Object source,
String workbookName)
- Constructs a
FileSavingEvent object with the
specified source object and the name of the modified
workbook file that is being closed.
- Parameters:
- source - The object where the event originated.
- workbookName - The name of the workbook being closed.
getWorkbookName
public String getWorkbookName()
- Returns the name of the workbook.
- Returns:
- The name of the workbook.
All Packages Class Hierarchy This Package Previous Next Index