Package org.gvsig.utils.save
Class BeforeSavingAdapter
java.lang.Object
org.gvsig.utils.save.BeforeSavingAdapter
- All Implemented Interfaces:
EventListener,BeforeSavingListener
An abstract adapter class for receiving save file events.
The methods in this class are empty. This class exists as
convenience for creating listener objects.
Extend this class to create a SaveEvent listener
and override the methods for the events of interest. (If you implement the
BeforeSavingListener 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 addBeforeSavingListener
method. When an object that provides support of notification
about saving files, is going to save a file,
the relevant method in the listener object is invoked,
and the SaveEvent is passed to it.
- Author:
- Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidInvoked after saving a file.
-
Constructor Details
-
BeforeSavingAdapter
public BeforeSavingAdapter()
-
-
Method Details
-
beforeSaving
Description copied from interface:BeforeSavingListenerInvoked after saving a file. See the class description ofSaveEventfor a definition of is going to save an event.- Specified by:
beforeSavingin interfaceBeforeSavingListener
-