ListenerAdapter()
This adapter class provides empty implementations of the methods from Listener. Any custom listener that cares only about a subset of the methods of this listener can simply subclass this adapter class instead of implementing the interface directly.