org.htmlparser.beans
public class HTMLLinkBean extends JList implements Serializable, PropertyChangeListener
| Field Summary | |
|---|---|
| protected LinkBean | mBean
The underlying bean that provides our htmlparser specific properties. |
| Constructor Summary | |
|---|---|
| HTMLLinkBean()
Creates a new HTMLTextBean.
| |
| Method Summary | |
|---|---|
| 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.
|
Delegates to the underlying StringBean
Parameters: listener The PropertyChangeListener to be added.
Returns: The StringBean this bean uses to fetch text.
Returns: Value of property Connection.
Delegates to the underlying StringBean
Returns: Value of property links.
Returns: a minimum bounding box for this bean.
Delegates to the underlying StringBean
Returns: Value of property URL.
Parameters: event The event triggering this listener method call.
Delegates to the underlying StringBean
Parameters: listener The PropertyChangeListener to be removed.
Parameters: connection New value of property Connection.
Delegates to the underlying StringBean
Parameters: url New value of property URL.
| HTML Parser is an open source library released under LGPL. | |