eTextReader
Class NotationEventAdapter

java.lang.Object
  extended by eTextReader.NotationEventAdapter
All Implemented Interfaces:
NotationEventListener, java.util.EventListener
Direct Known Subclasses:
Browser.LogListener, CurrentAnnotationAction.NotationHandler, PopupWindowNotationHandler, TabbedContentPane.pageChangeListener, TextParser

public class NotationEventAdapter
extends java.lang.Object
implements NotationEventListener

This class is a simple adapter class that provides empty implementations of all the methods in the NotationEventListener interface, in order to simply implementation of classes that wish to implement that interface

Author:
mcfall

Constructor Summary
NotationEventAdapter()
           
 
Method Summary
 void errorOccurred(NotationEvent ne)
          Process an error that occured in the pane.
 void notationEventOccurred(NotationEvent ne)
          Process a Notation event.
 void pageChanged(NotationEvent ne)
          Process a page change event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotationEventAdapter

public NotationEventAdapter()
Method Detail

errorOccurred

public void errorOccurred(NotationEvent ne)
Description copied from interface: NotationEventListener
Process an error that occured in the pane.

Specified by:
errorOccurred in interface NotationEventListener

notationEventOccurred

public void notationEventOccurred(NotationEvent ne)
Description copied from interface: NotationEventListener
Process a Notation event. This happens when a Notation is clicked on, or the cursor passes over an annotation.

Specified by:
notationEventOccurred in interface NotationEventListener

pageChanged

public void pageChanged(NotationEvent ne)
Description copied from interface: NotationEventListener
Process a page change event.

Specified by:
pageChanged in interface NotationEventListener