|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.feednread.frontend.components.tabbar.InternalBrowser
Internal web browser component which consists of a Browser and
a ToolBar component holding the default browser operations
which are back, forward, refresh, stop and home.
| Nested Class Summary | |
private class |
InternalBrowser.LocationHandler
|
private class |
InternalBrowser.PageTitleHandler
|
private class |
InternalBrowser.ProgressHandler
|
private class |
InternalBrowser.StatusBarHandler
|
| Field Summary | |
private Browser |
browser
The Browser widget |
private Composite |
browserPanel
The panel holding the browser components |
private ToolBar |
browserToolBar
The Browser ToolBar |
private ToolBarManager |
browserToolBarManager
The ToolBarManager to manage the
Browser ToolBar
|
private InternalBrowser.LocationHandler |
locationHandler
Event handle for location changes |
private MainApplicationWindow |
mainWindow
The Feed'n Read main window |
private InternalBrowser.PageTitleHandler |
pageTitleHandler
Event handler for changes to the page title |
private InternalBrowser.ProgressHandler |
progressHandler
Event handler for changes in the page loading progress |
private InternalBrowser.StatusBarHandler |
statusBarHandler
Event handler for changes in the status bar |
private ViewForm |
toolBarForm
The ViewForm to hold the ToolBar |
| Constructor Summary | |
InternalBrowser(Composite parent,
MainApplicationWindow mainWindow)
Creates a new InternalBrowser and embeds it into the
specified placeholder component.
|
|
| Method Summary | |
boolean |
areContorolsVisible()
Gets the visibility status of the browser controls (back, forward, home, stop, refresh). |
private void |
createComponents(Composite parent)
Creates all components required by this InternalBrowser,
adjusts its settings and does the layout.
|
void |
dispose()
Disposes all resources claimed by this InternalBrowser
instance.
|
Browser |
getBrowser()
Gets the Browser widget.
|
Composite |
getInternalBrowserPanel()
Gets the panel holding the complete InternalBrowser
component.
|
String |
getTitle()
Gets the title of the web page currently displayed in this InternalBrowser.
|
String |
getUrl()
Gets the url currently displayed in this InternalBrowser.
|
private void |
registerEventHandler()
Creates all Event Handler required in this InternalBrowser
context.
|
void |
setControlsVisible(boolean visible)
Sets the visibility status of the browser controls (back, forward, home, stop, refresh). |
void |
setUrl(String url)
Sets this InternalBrowser to the specified url.
|
private void |
unregisterEventHandler()
Unregisters all Event Handler created in this InternalBrowser context.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private MainApplicationWindow mainWindow
The Feed'n Read main window
private Composite browserPanel
The panel holding the browser components
private Browser browser
The Browser widget
private ToolBarManager browserToolBarManager
The ToolBarManager to manage the
Browser ToolBar
private ViewForm toolBarForm
The ViewForm to hold the ToolBar
private ToolBar browserToolBar
The Browser ToolBar
private InternalBrowser.LocationHandler locationHandler
Event handle for location changes
private InternalBrowser.StatusBarHandler statusBarHandler
Event handler for changes in the status bar
private InternalBrowser.PageTitleHandler pageTitleHandler
Event handler for changes to the page title
private InternalBrowser.ProgressHandler progressHandler
Event handler for changes in the page loading progress
| Constructor Detail |
public InternalBrowser(Composite parent,
MainApplicationWindow mainWindow)
Creates a new InternalBrowser and embeds it into the
specified placeholder component.
parent - the placeholder component to embed this
InternalBrowser intomainWindow - The Feed'n Read main window| Method Detail |
public Composite getInternalBrowserPanel()
Gets the panel holding the complete InternalBrowser
component.
InternalBrowser
componentpublic Browser getBrowser()
Gets the Browser widget.
Browser widgetpublic String getTitle()
Gets the title of the web page currently displayed in this
InternalBrowser.
InternalBrowserpublic void setUrl(String url)
Sets this InternalBrowser to the specified url.
url - the url to setpublic String getUrl()
Gets the url currently displayed in this InternalBrowser.
InternalBrowserpublic void dispose()
Disposes all resources claimed by this InternalBrowser
instance.
public void setControlsVisible(boolean visible)
Sets the visibility status of the browser controls (back, forward, home, stop, refresh).
visible - true to show the browser controls;
false to hide thempublic boolean areContorolsVisible()
Gets the visibility status of the browser controls (back, forward, home, stop, refresh).
true if the browser controls are visible;
false if hiddenprivate void createComponents(Composite parent)
Creates all components required by this InternalBrowser,
adjusts its settings and does the layout.
parent - the placeholder component to embed the created components
intoprivate void registerEventHandler()
Creates all Event Handler required in this InternalBrowser
context.
private void unregisterEventHandler()
Unregisters all Event Handler created in this
InternalBrowser context.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||