eTextReader
Class DiscussionWindow.DiscussionNotationEventHandler

java.lang.Object
  extended by eTextReader.NotationEventAdapter
      extended by eTextReader.PopupWindowNotationHandler
          extended by eTextReader.OpenExternalPopupWindowHandler
              extended by eTextReader.DiscussionWindow.DiscussionNotationEventHandler
All Implemented Interfaces:
NotationEventListener, java.util.EventListener
Enclosing class:
DiscussionWindow

 class DiscussionWindow.DiscussionNotationEventHandler
extends OpenExternalPopupWindowHandler

This class extends OpenExternalPopupWindowHandler to ensure that the same discussion isn't opened more than once

Author:
mcfall

Field Summary
 
Fields inherited from class eTextReader.PopupWindowNotationHandler
enabledTypes, popup, scrollingContentPane
 
Constructor Summary
DiscussionWindow.DiscussionNotationEventHandler(javax.swing.JFrame frame, ScrollingContentPane scrollingContentPane)
           
 
Method Summary
protected  void handleNotationSelected(NotationEvent ne)
          Performs the same action is exiting the notation by calling PopupWindowNotationHandler.handleNotationExited(NotationEvent)
 
Methods inherited from class eTextReader.PopupWindowNotationHandler
disableTypes, enableTypes, handleNotationEntered, handleNotationExited, isTypeEnabled, notationEventOccurred, pageChanged
 
Methods inherited from class eTextReader.NotationEventAdapter
errorOccurred
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscussionWindow.DiscussionNotationEventHandler

public DiscussionWindow.DiscussionNotationEventHandler(javax.swing.JFrame frame,
                                                       ScrollingContentPane scrollingContentPane)
Parameters:
frame -
scrollingContentPane -
Method Detail

handleNotationSelected

protected void handleNotationSelected(NotationEvent ne)
Description copied from class: PopupWindowNotationHandler
Performs the same action is exiting the notation by calling PopupWindowNotationHandler.handleNotationExited(NotationEvent)

Overrides:
handleNotationSelected in class OpenExternalPopupWindowHandler
Parameters:
ne - the notation event that triggered this action