org.mozilla.webclient
Interface BrowserControl


public interface BrowserControl

Provides a common access point for other webclient interfaces. There is one instance of this class per application-level browser window. Instances must be created using BrowserControlFactory.

Version:
$Id: BrowserControl.html,v 1.5 2007/03/15 00:34:03 edburns%acm.org Exp $
See Also:
BrowserControlFactory

Field Summary
static java.lang.String BOOKMARKS_NAME
          The name of the interface for the Bookmarks API.
static java.lang.String BROWSER_CONTROL_CANVAS_NAME
          The name of the interface for the BrowserControlCanvas that must be added to the application to show the browser window.
static java.lang.String BROWSER_TYPE_NATIVE
          Deprecated. the type of browser implementation is derived using a services definition loaded from Utilities.getImplFromServices(java.lang.String)
static java.lang.String BROWSER_TYPE_NON_NATIVE
           
static java.lang.String CACHE_MANAGER_NAME
          The name of the interface for the cache management API.
static java.lang.String CURRENT_PAGE_NAME
          The name of the interface for the CurrentPage API.
static java.lang.String EVENT_REGISTRATION_NAME
          The name of the interface for the EventRegistration API.
static java.lang.String EXTENDED_EVENT_REGISTRATION_NAME
          The name of the interface for the EventRegistration2 API.
static java.lang.String HISTORY_NAME
          The name of the interface for the History API.
static java.lang.String NAVIGATION_NAME
          The name of the interface for the Navigation API.
static java.lang.String PREFERENCES_NAME
          The name of the interface for the Preferences API.
static java.lang.String PRINT_NAME
          The name of the interface for the Print API.
static java.lang.String PROFILE_MANAGER_NAME
          The name of the interface for the ProfileManager API.
static java.lang.String WINDOW_CONTROL_NAME
          The name of the interface for the WindowControl API.
 
Method Summary
 java.lang.Object queryInterface(java.lang.String interfaceName)
          Obtain a reference to a class implementing the argument interfaceName.
 

Field Detail

BOOKMARKS_NAME

static final java.lang.String BOOKMARKS_NAME

The name of the interface for the Bookmarks API.

See Also:
Constant Field Values

BROWSER_CONTROL_CANVAS_NAME

static final java.lang.String BROWSER_CONTROL_CANVAS_NAME

The name of the interface for the BrowserControlCanvas that must be added to the application to show the browser window.

See Also:
Constant Field Values

CURRENT_PAGE_NAME

static final java.lang.String CURRENT_PAGE_NAME

The name of the interface for the CurrentPage API.

See Also:
Constant Field Values

EVENT_REGISTRATION_NAME

static final java.lang.String EVENT_REGISTRATION_NAME

The name of the interface for the EventRegistration API.

See Also:
Constant Field Values

EXTENDED_EVENT_REGISTRATION_NAME

static final java.lang.String EXTENDED_EVENT_REGISTRATION_NAME

The name of the interface for the EventRegistration2 API.

See Also:
Constant Field Values

HISTORY_NAME

static final java.lang.String HISTORY_NAME

The name of the interface for the History API.

See Also:
Constant Field Values

NAVIGATION_NAME

static final java.lang.String NAVIGATION_NAME

The name of the interface for the Navigation API.

See Also:
Constant Field Values

CACHE_MANAGER_NAME

static final java.lang.String CACHE_MANAGER_NAME

The name of the interface for the cache management API. Unimplemented.

See Also:
Constant Field Values

PREFERENCES_NAME

static final java.lang.String PREFERENCES_NAME

The name of the interface for the Preferences API.

See Also:
Constant Field Values

PRINT_NAME

static final java.lang.String PRINT_NAME

The name of the interface for the Print API. Unimplemented.

See Also:
Constant Field Values

WINDOW_CONTROL_NAME

static final java.lang.String WINDOW_CONTROL_NAME

The name of the interface for the WindowControl API.

See Also:
Constant Field Values

PROFILE_MANAGER_NAME

static final java.lang.String PROFILE_MANAGER_NAME

The name of the interface for the ProfileManager API.

See Also:
Constant Field Values

BROWSER_TYPE_NATIVE

static final java.lang.String BROWSER_TYPE_NATIVE
Deprecated. the type of browser implementation is derived using a services definition loaded from Utilities.getImplFromServices(java.lang.String)

BROWSER_TYPE_NON_NATIVE

static final java.lang.String BROWSER_TYPE_NON_NATIVE
Method Detail

queryInterface

java.lang.Object queryInterface(java.lang.String interfaceName)
                                throws java.lang.ClassNotFoundException

Obtain a reference to a class implementing the argument interfaceName.

Parameters:
interfaceName - valid values for interfaceName are any of the *_NAME class variables in this interface.
Throws:
java.lang.ClassNotFoundException - if the interfaceName can't be instantiated for whatever reason.


Copyright © 2002-2007 Mozilla.org All Rights Reserved.