|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The JRex URIContentListener interface, This listener can be added to listen to any uri related events.
JRexCanvas.addURIContentListener(org.mozilla.jrex.event.uricontent.URIContentListener)| Method Summary | |
URIContentEventRV |
canHandleContent(URIContentEvent event)
When given a uri to dispatch, if the URI is not specified as 'preferred content' then the uri loader calls canHandleContent to see if the content listener is capable of handling the content. |
URIContentEventRV |
doContent(URIContentEvent event)
Notifies the content listener to hook up an StreamListener capable of consuming the data stream. |
URIContentEventRV |
isContentPreferred(URIContentEvent event)
Gives the content listener to say whether the content type for load is 'preferred content' |
boolean |
onStartContent(URIContentEvent event)
Gives the content listener first crack at stopping a load before it happens. |
| Method Detail |
public boolean onStartContent(URIContentEvent event)
true if the load can continue;
false if the load should be aborted.URIContentEventpublic URIContentEventRV doContent(URIContentEvent event)
URIContentEvent,
DoContentEventParam,
URIContentEventRVpublic URIContentEventRV isContentPreferred(URIContentEvent event)
canHandleContent(URIContentEvent),
URIContentEvent,
URIContentEventRVpublic URIContentEventRV canHandleContent(URIContentEvent event)
URIContentEvent,
URIContentEventRV,
CanHandleEventParam
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||