|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecteTextReader.Browser.NotationEventHandler
public class Browser.NotationEventHandler
This class handles the tasks that are specific to the browser only in regard to handling notation events. Popup handling has been moved to a separate class to facilitate re-use by other classes
Constructor Summary | |
---|---|
Browser.NotationEventHandler()
|
Method Summary | |
---|---|
void |
errorOccurred(NotationEvent ne)
Process an error that occured in the pane. |
private void |
handleNotationSelected(NotationEvent ne)
|
private void |
indexWebPage(java.lang.String url)
|
void |
notationEventOccurred(NotationEvent ne)
Process a Notation event. |
private boolean |
openLinkAnnotation(Notation notation,
boolean openInNewTab)
This method tries to open the page linked to by a specific annotation |
void |
pageChanged(NotationEvent ne)
Process a page change event. |
private java.lang.String |
setMode(java.lang.String url,
java.lang.String pageTitle)
|
private void |
updateNavigationBar(java.lang.String url)
|
private void |
updateReadingAssignmentDisplay(java.lang.String url)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Browser.NotationEventHandler()
Method Detail |
---|
public void notationEventOccurred(NotationEvent ne)
NotationEventListener
notationEventOccurred
in interface NotationEventListener
private void handleNotationSelected(NotationEvent ne)
private boolean openLinkAnnotation(Notation notation, boolean openInNewTab)
id
- the id of the link annotationopenInNewTab
-
public void errorOccurred(NotationEvent ne)
NotationEventListener
errorOccurred
in interface NotationEventListener
public void pageChanged(NotationEvent ne)
NotationEventListener
pageChanged
in interface NotationEventListener
private void updateNavigationBar(java.lang.String url)
private void updateReadingAssignmentDisplay(java.lang.String url)
private void indexWebPage(java.lang.String url)
private java.lang.String setMode(java.lang.String url, java.lang.String pageTitle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |