|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BrowserCache
This interface defines methods for dealing with multiple open browser windows. It enables to manage the storage of multiple browser windows (InternetExplorer instances). todo Implement access to a browser window by it's window title (instead of index only)
Method Summary | |
---|---|
void |
addBrowser(InternetExplorer ie)
Add a browser instance to the cache. |
InternetExplorer |
getBrowserAt(int i)
Get the i-th browser window from the cache. |
Vector |
getBrowserCache()
|
InternetExplorer |
getBrowserWithTitle(String title)
Get the browser window from the cache with the matching title. |
InternetExplorer |
getFirstBrowser()
Get the first browser window from the cache. |
void |
removeBrowser(InternetExplorer ie)
Remove a browser instance from the cache. |
Method Detail |
---|
Vector getBrowserCache()
void addBrowser(InternetExplorer ie)
ie
- The browser window that should be added to the cache.void removeBrowser(InternetExplorer ie)
ie
- The browser window that should be removed from the cache.InternetExplorer getFirstBrowser()
InternetExplorer getBrowserAt(int i)
i
- The index of the browser window in the cache. This is usually the i-th browser window opened.
InternetExplorer getBrowserWithTitle(String title)
title
- The title of the browser window in the cache.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |