public class JWebBrowserSimple extends java.lang.Object implements JWebBrowser
Constructor and Description |
---|
JWebBrowserSimple() |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener listener) |
javax.swing.JComponent |
asJComponent()
Returns this component as a swing
JComponent . |
void |
backward() |
void |
find(java.lang.String text,
boolean backwards) |
void |
forward() |
javax.swing.event.ChangeListener[] |
getChangeListeners() |
boolean |
hasChangeListeners() |
void |
highlight(javax.swing.text.JTextComponent textComp,
java.lang.String pattern) |
java.lang.String |
location() |
java.lang.String |
location(java.lang.String url) |
java.lang.String |
location(java.net.URL url) |
void |
refresh() |
void |
removeAllChangeListener() |
void |
removeChangeListener(javax.swing.event.ChangeListener listener) |
void |
removeHighlights(javax.swing.text.JTextComponent textComp) |
void |
setContent(java.lang.String content,
java.lang.String contentType) |
java.lang.String |
title() |
public java.lang.String location(java.lang.String url)
location
in interface JWebBrowser
public java.lang.String location(java.net.URL url)
location
in interface JWebBrowser
public void setContent(java.lang.String content, java.lang.String contentType)
setContent
in interface JWebBrowser
public java.lang.String title()
title
in interface JWebBrowser
public java.lang.String location()
location
in interface JWebBrowser
public void refresh()
refresh
in interface JWebBrowser
public void forward()
forward
in interface JWebBrowser
public void backward()
backward
in interface JWebBrowser
public void find(java.lang.String text, boolean backwards)
find
in interface JWebBrowser
public javax.swing.JComponent asJComponent()
Component
JComponent
.asJComponent
in interface Component
JComponent
public void removeHighlights(javax.swing.text.JTextComponent textComp)
public void highlight(javax.swing.text.JTextComponent textComp, java.lang.String pattern)
public void addChangeListener(javax.swing.event.ChangeListener listener)
addChangeListener
in interface ChangeListenerSupport
public javax.swing.event.ChangeListener[] getChangeListeners()
getChangeListeners
in interface ChangeListenerSupport
public void removeChangeListener(javax.swing.event.ChangeListener listener)
removeChangeListener
in interface ChangeListenerSupport
public void removeAllChangeListener()
removeAllChangeListener
in interface ChangeListenerSupport
public boolean hasChangeListeners()
hasChangeListeners
in interface ChangeListenerSupport