org.htmlparser.beans
Class HTMLLinkBean
JList
org.htmlparser.beans.HTMLLinkBean
- PropertyChangeListener, Serializable
public class HTMLLinkBean
extends JList
implements Serializable, PropertyChangeListener
Display the links from a URL.
- Derrick Oswald
Created on December 24, 2002, 3:49 PM
protected LinkBean | mBean - The underlying bean that provides our htmlparser specific properties.
|
void | addPropertyChangeListener(PropertyChangeListener listener) - Add a PropertyChangeListener to the listener list.
|
protected LinkBean | getBean() - Return the underlying bean object.
|
URLConnection | getConnection() - Getter for property Connection.
|
URL[] | getLinks() - Getter for property links.
|
Dimension | getMinimumSize() - Return the minimum dimension for this visible bean.
|
String | getURL() - Getter for property URL.
|
void | propertyChange(PropertyChangeEvent event) - Responds to changes in the underlying bean's properties.
|
void | removePropertyChangeListener(PropertyChangeListener listener) - Remove a PropertyChangeListener from the listener list.
|
void | setConnection(URLConnection connection) - Setter for property Connection.
|
void | setURL(String url) - Setter for property URL.
|
mBean
protected LinkBean mBean
The underlying bean that provides our htmlparser specific properties.
HTMLLinkBean
public HTMLLinkBean()
Creates a new HTMLTextBean.
This uses an underlying StringBean and displays the text.
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
Add a PropertyChangeListener to the listener list.
The listener is registered for all properties.
Delegates to the underlying StringBean
listener
- The PropertyChangeListener to be added.
getBean
protected LinkBean getBean()
Return the underlying bean object.
Creates a new one if it hasn't been initialized yet.
- The StringBean this bean uses to fetch text.
getConnection
public URLConnection getConnection()
Getter for property Connection.
- Value of property Connection.
getLinks
public URL[] getLinks()
Getter for property links.
Delegates to the underlying StringBean
getMinimumSize
public Dimension getMinimumSize()
Return the minimum dimension for this visible bean.
- a minimum bounding box for this bean.
getURL
public String getURL()
Getter for property URL.
Delegates to the underlying StringBean
propertyChange
public void propertyChange(PropertyChangeEvent event)
Responds to changes in the underlying bean's properties.
event
- The event triggering this listener method call.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
Remove a PropertyChangeListener from the listener list.
This removes a registered PropertyChangeListener.
Delegates to the underlying StringBean
listener
- The PropertyChangeListener to be removed.
setConnection
public void setConnection(URLConnection connection)
Setter for property Connection.
connection
- New value of property Connection.
setURL
public void setURL(String url)
Setter for property URL.
Delegates to the underlying StringBean
url
- New value of property URL.
| © 2005 Derrick Oswald Mai 08, 2008 |
HTML Parser is an open source library released under LGPL. |  |