Class AfterSavingAdapter

java.lang.Object
org.gvsig.utils.save.AfterSavingAdapter
All Implemented Interfaces:
EventListener, AfterSavingListener

public abstract class AfterSavingAdapter extends Object implements AfterSavingListener
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 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.

Author:
Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
See Also:
  • Constructor Details

    • AfterSavingAdapter

      public AfterSavingAdapter()
  • Method Details