|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pepper.guiutils.browser.BrowserEvent
com.pepper.guiutils.browser.PepperHistoryEvent
public class PepperHistoryEvent
Notification of a history event.
Field Summary | |
---|---|
static int |
INVALID_INDEX
|
Constructor Summary | |
---|---|
PepperHistoryEvent(String viewID,
int eventType,
String url)
Constructor |
|
PepperHistoryEvent(String viewID,
int eventType,
String url,
int index)
Constructor used for creating "go to index" history events. |
Method Summary | |
---|---|
int |
getEventType()
Returns the type of the event |
int |
getIndex()
Returns the history index of the url that was loaded. |
String |
getURL()
Returns the URL that was loaded |
String |
toString()
|
Methods inherited from class com.pepper.guiutils.browser.BrowserEvent |
---|
getEventParam, getViewID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int INVALID_INDEX
Constructor Detail |
---|
public PepperHistoryEvent(String viewID, int eventType, String url, int index)
viewID
- ID of the WebBrowserView that generated the eventeventType
- type of the event. Must be one of the HIS_* constants
from org.mozilla.jrex.event.history.HistoryEventConstants
url
- URL of the page that was loadedindex
- Index of the page in the historypublic PepperHistoryEvent(String viewID, int eventType, String url)
viewID
- ID of the WebBrowserView that generated the eventeventType
- type of the event. Must be one of the HIS_* constants
from org.mozilla.jrex.event.history.HistoryEventConstants
url
- The url associated with the eventMethod Detail |
---|
public int getEventType()
getEventType
in class BrowserEvent
org.mozilla.jrex.event.history.HistoryEventConstants
public String getURL()
public int getIndex()
public String toString()
toString
in class BrowserEvent
Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |