|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NavigatorExtensionContext
This interface gives extensions access to the platform.
NavigatorExtension.init(NavigatorExtensionContext)| Method Summary | |
|---|---|
void |
addClientletSelector(ClientletSelector selector)
Adds a clientlet selector. |
void |
addConnectionProcessor(ConnectionProcessor processor)
Adds an object that can view connections made by the browser and potentially modify their headers and other data. |
void |
addNavigationListener(NavigationListener listener)
Adds a global listener of navigation events. |
void |
addNavigatorErrorListener(NavigatorErrorListener listener)
Adds a listener of navigator events. |
void |
addURLStreamHandlerFactory(java.net.URLStreamHandlerFactory factory)
Registers a URL stream handler factory which may be used to implement custom protocols. |
UserAgent |
getUserAgent()
Gets the UserAgent instance associated with
this context. |
void |
removeClientletSelector(ClientletSelector selector)
|
void |
removeConnectionProcessor(ConnectionProcessor processor)
|
void |
removeNavigationListener(NavigationListener listener)
|
void |
removeNavigatorErrorListener(NavigatorErrorListener listener)
Removes a listener of navigation events. |
| Method Detail |
|---|
void addClientletSelector(ClientletSelector selector)
void removeClientletSelector(ClientletSelector selector)
void addConnectionProcessor(ConnectionProcessor processor)
processor - An connection processor.void removeConnectionProcessor(ConnectionProcessor processor)
void addNavigatorErrorListener(NavigatorErrorListener listener)
void removeNavigatorErrorListener(NavigatorErrorListener listener)
void addNavigationListener(NavigationListener listener)
listener - The listener.void removeNavigationListener(NavigationListener listener)
UserAgent getUserAgent()
UserAgent instance associated with
this context.
void addURLStreamHandlerFactory(java.net.URLStreamHandlerFactory factory)
null if it does not know how to
handle a particular protocol.
factory - An implementation of java.net.URLStreamHandlerFactory.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||