javax.swing.event
public class HyperlinkEvent extends EventObject
Nested Class Summary | |
---|---|
static class | HyperlinkEvent.EventType |
Constructor Summary | |
---|---|
HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url)
Creates a new HyperlinkEvent with the given arguments.
| |
HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, String description)
Creates a new HyperlinkEvent with the given arguments.
| |
HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, String description, Element element)
Creates a new HyperlinkEvent with the given arguments.
|
Method Summary | |
---|---|
String | getDescription()
Returns the description of this event. |
HyperlinkEvent.EventType | getEventType()
Returns the type of this event. |
Element | getSourceElement()
Returns the element of the document repesenting this anchor. |
URL | getURL()
Returns the URL of this event. |
HyperlinkEvent
with the given arguments.
Parameters: source The object this link is associated to. type The type of event. url The URL this link pointing too.
HyperlinkEvent
with the given arguments.
Parameters: source The object this link is associated to. type The type of event. url The URL this link pointing too. description The description for this link.
HyperlinkEvent
with the given arguments.
Parameters: source The object this link is associated to. type The type of event. url The URL this link pointing too. description The description for this link. element The element in the document representing the anchor.