|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecteTextReader.Browser.LocationChangeListener
class Browser.LocationChangeListener
| Field Summary | |
|---|---|
private int |
location
where on the page the desired point should be located. |
private int |
mode
the type of scrolling this object should perform when notified |
private java.lang.String |
name
|
static int |
PAGE_BOTTOM
|
static int |
PAGE_TOP
|
private java.lang.Object |
parameter
further information about the scroll request |
private java.lang.String |
url
the url this listener applies to. |
| Constructor Summary | |
|---|---|
Browser.LocationChangeListener(java.lang.String url,
int mode,
java.lang.Object parameter,
int location,
java.lang.String name)
constructs a new page scroll listener |
|
| Method Summary | |
|---|---|
void |
errorOccurred(NotationEvent errorEvent)
Process an error that occured in the pane. |
void |
notationEventOccurred(NotationEvent noteEvent)
Process a Notation event. |
void |
pageChanged(NotationEvent pageEvent)
handle the callback when the page is changed by scrolling to the requested location in the document |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PAGE_TOP
public static final int PAGE_BOTTOM
private java.lang.String url
private int mode
private java.lang.Object parameter
private int location
private java.lang.String name
| Constructor Detail |
|---|
public Browser.LocationChangeListener(java.lang.String url,
int mode,
java.lang.Object parameter,
int location,
java.lang.String name)
url - the url this listener applies tomode - the type of scrolling this object should performparameter - further information about the scroll request| Method Detail |
|---|
public void pageChanged(NotationEvent pageEvent)
pageChanged in interface NotationEventListenerpageEvent - the event sent by the ContentPane objectpublic void notationEventOccurred(NotationEvent noteEvent)
NotationEventListener
notationEventOccurred in interface NotationEventListenerpublic void errorOccurred(NotationEvent errorEvent)
NotationEventListener
errorOccurred in interface NotationEventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||