eTextReader
Class Browser.LogListener

java.lang.Object
  extended by eTextReader.NotationEventAdapter
      extended by eTextReader.Browser.LogListener
All Implemented Interfaces:
DatabaseEventListener, NotationEventListener, java.awt.event.ActionListener, java.awt.event.AdjustmentListener, java.awt.event.WindowListener, java.util.EventListener, javax.swing.event.HyperlinkListener
Enclosing class:
Browser

public class Browser.LogListener
extends NotationEventAdapter
implements java.awt.event.ActionListener, java.awt.event.WindowListener, javax.swing.event.HyperlinkListener, java.awt.event.AdjustmentListener, DatabaseEventListener

Class to handle action, hyperlink, and window events involving the logging of user activities Author: Josh Morse


Nested Class Summary
 class Browser.LogListener.PageScrollListener
          Log's the use of the page scrolling buttons Author: Josh Morse
 
Field Summary
(package private)  eTextReader.loggingInterface.Logger log
           
 
Constructor Summary
Browser.LogListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
           
 void databaseEventOccurred(DatabaseEvent de)
           
 void hyperlinkUpdate(javax.swing.event.HyperlinkEvent e)
           
 void notationEventOccurred(NotationEvent ne)
          Process a Notation event.
 void windowActivated(java.awt.event.WindowEvent we)
           
 void windowClosed(java.awt.event.WindowEvent we)
           
 void windowClosing(java.awt.event.WindowEvent we)
           
 void windowDeactivated(java.awt.event.WindowEvent we)
           
 void windowDeiconified(java.awt.event.WindowEvent we)
           
 void windowIconified(java.awt.event.WindowEvent we)
           
 void windowOpened(java.awt.event.WindowEvent we)
           
 
Methods inherited from class eTextReader.NotationEventAdapter
errorOccurred, pageChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

eTextReader.loggingInterface.Logger log
Constructor Detail

Browser.LogListener

public Browser.LogListener()
Method Detail

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
Overrides:
notationEventOccurred in class NotationEventAdapter

hyperlinkUpdate

public void hyperlinkUpdate(javax.swing.event.HyperlinkEvent e)
Specified by:
hyperlinkUpdate in interface javax.swing.event.HyperlinkListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent we)
Specified by:
windowClosing in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent we)
Specified by:
windowOpened in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent we)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent we)
Specified by:
windowIconified in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent we)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent we)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent we)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

adjustmentValueChanged

public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)
Specified by:
adjustmentValueChanged in interface java.awt.event.AdjustmentListener

databaseEventOccurred

public void databaseEventOccurred(DatabaseEvent de)
Specified by:
databaseEventOccurred in interface DatabaseEventListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener