|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.awt.HtmlBrowser.Impl
This interface represents an implementation of html browser used in HtmlBrowser. Each BrowserImpl implementation corresponds with some BrowserFactory implementation.
Field Summary | |
static String |
PROP_BACKWARD
backward property name |
static String |
PROP_FORWARD
forward property |
static String |
PROP_HISTORY
history property name |
static String |
PROP_STATUS_MESSAGE
The name of property representing status of html browser. |
static String |
PROP_TITLE
Title property |
static String |
PROP_URL
The name of property representing current URL. |
Constructor Summary | |
HtmlBrowser.Impl()
|
Method Summary | |
abstract void |
addPropertyChangeListener(PropertyChangeListener l)
Adds PropertyChangeListener to this browser. |
abstract void |
backward()
Moves the browser forward. |
abstract void |
forward()
Moves the browser forward. |
abstract Component |
getComponent()
Returns visual component of html browser. |
abstract String |
getStatusMessage()
Returns status message representing status of html browser. |
abstract String |
getTitle()
Returns title of the displayed page. |
abstract URL |
getURL()
Returns current URL. |
abstract boolean |
isBackward()
Is backward button enabled? |
abstract boolean |
isForward()
Is forward button enabled? |
abstract boolean |
isHistory()
Is history button enabled? |
abstract void |
reloadDocument()
Reloads current html page. |
abstract void |
removePropertyChangeListener(PropertyChangeListener l)
Removes PropertyChangeListener from this browser. |
abstract void |
setURL(URL url)
Sets current URL. |
abstract void |
showHistory()
Invoked when the history button is pressed. |
abstract void |
stopLoading()
Stops loading of current html page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String PROP_STATUS_MESSAGE
public static final String PROP_URL
public static final String PROP_TITLE
public static final String PROP_FORWARD
public static final String PROP_BACKWARD
public static final String PROP_HISTORY
Constructor Detail |
public HtmlBrowser.Impl()
Method Detail |
public abstract Component getComponent()
public abstract void reloadDocument()
public abstract void stopLoading()
public abstract void setURL(URL url)
url
- URL to show in the browser.public abstract URL getURL()
public abstract String getStatusMessage()
public abstract String getTitle()
public abstract boolean isForward()
public abstract void forward()
public abstract boolean isBackward()
public abstract void backward()
public abstract boolean isHistory()
public abstract void showHistory()
public abstract void addPropertyChangeListener(PropertyChangeListener l)
l
- Listener to add.public abstract void removePropertyChangeListener(PropertyChangeListener l)
l
- Listener to remove.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |