|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebBrowserContainer
This interface represents a container/manager of WebBrowserView objects, that are capable of displaying and navigating web content.
Field Summary | |
---|---|
static int |
TYPE_MOZILLA
|
Method Summary | |
---|---|
void |
clearInternalCaches()
Clear any internal file caches, to allow files to be replaced/reloaded. |
WebBrowserView |
createView(Section section)
Create a view for the specified Section |
WebBrowserView |
createView(Section section,
int windowOptions)
Create a view for the specified WebSection with the specified window options |
WebBrowserView |
createView(Section section,
int windowOptions,
String uri)
Create a view for the specified WebSection with the specified window options and default uri to load |
void |
destroy()
Called when the package is quit |
WebBrowserView |
getActiveView()
Returns the browser view that is currently displayed |
List |
getAllViews()
Get a list of all open browser views |
int |
getType()
Get the type of Container |
WebBrowserView |
getView(String viewId)
Returns the browser view with the specified id |
void |
init()
Initialize the WebBrowserContainer |
boolean |
isDestroyed()
Returns true if container views have been destroyed |
boolean |
isInitialized()
Returns whether or not the container is initialized |
void |
removeView(String viewId)
Remove the browser view with the specified id |
void |
setActiveView(WebBrowserView view)
Make the previously created view active and visible |
void |
shutdown()
Shutdown the browser and free all of it's resources |
void |
viewChange(String selectedViewId)
This method will handle selection changes between views |
Field Detail |
---|
static final int TYPE_MOZILLA
Method Detail |
---|
WebBrowserView getView(String viewId)
viewId
- a String
value
WebBrowserView
valueWebBrowserView getActiveView()
WebBrowserView
valuevoid setActiveView(WebBrowserView view)
view
- a WebBrowserView
valueList getAllViews()
List
of WebBrowserView objectsvoid removeView(String viewId)
viewId
- a String
valueWebBrowserView createView(Section section)
section
- a WebSection
value
WebBrowserView
valueWebBrowserView createView(Section section, int windowOptions)
section
- a WebSection
valuewindowOptions
- see WebBrowserView.WINDOW_CURRENT, WebBrowserView.WINDOW_NEW,
WebBrowserView.WINDOW_NEW_TAB
WebBrowserView
valueWebBrowserView createView(Section section, int windowOptions, String uri)
section
- a WebSection
valuewindowOptions
- see WebBrowserView.WINDOW_CURRENT, WebBrowserView.WINDOW_NEW,
WebBrowserView.WINDOW_NEW_TABuri
- the initial uri to load in the page
WebBrowserView
valuevoid viewChange(String selectedViewId)
selectedViewId
- The id of the view that has been selectedint getType()
int
valuevoid init()
boolean isDestroyed()
boolean
valueboolean isInitialized()
boolean
valuevoid shutdown()
void destroy()
void clearInternalCaches()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |