public abstract class AfterSavingAdapter extends Object implements AfterSavingListener
Extend this class to create a SaveEvent
listener
and override the methods for the events of interest. (If you implement the
AfterSavingListener
interface, you have to define all of
the methods in it. This abstract class defines null methods for them
all, so you can only have to define methods for events you care about.)
Create a listener object using the extended class and then register it with
a component using the component's addAfterSavingListener
method. When an object that provides support of notification
about has saved a file,
the relevant method in the listener object is invoked,
and the SaveEvent
is passed to it.
SaveEvent
,
AfterSavingListener
Constructor and Description |
---|
AfterSavingAdapter() |
public abstract void afterSaving(SaveEvent e)
AfterSavingListener
SaveEvent
for a definition of
has saved an event.afterSaving
in interface AfterSavingListener