|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PepperURIContentListener
Interface implemented by classes interested in URI events from the browser implementation.
Method Summary | |
---|---|
boolean |
canHandleContent(PepperURIContentEvent event)
Determine whether the listener can handle the content type. |
org.mozilla.jrex.io.JRexStreamListener |
doContent(PepperURIContentEvent event)
Called when it's time to load the content. |
boolean |
onStartContent(PepperURIContentEvent event)
Gives the content listener first crack at stopping a load before it happens. |
Method Detail |
---|
boolean onStartContent(PepperURIContentEvent event)
false
if the load can continue;
true
if the load should be aborted.PepperURIContentEvent
org.mozilla.jrex.io.JRexStreamListener doContent(PepperURIContentEvent event)
event
- Event describing the content type of the resource to load.
true
if the browser should stop loading the content
(because the listener's doing it), or false
if the browser
should continue loading the content.boolean canHandleContent(PepperURIContentEvent event)
event
- Event describing the content type of the resource to load.
true
if the listener can handle the content, or
false
if it can't.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |