|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
javax.swing.event.HyperlinkEvent
public class HyperlinkEvent
| Nested Class Summary | |
|---|---|
static class |
HyperlinkEvent.EventType
|
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| 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. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL url)
HyperlinkEvent with the given arguments.
source - The object this link is associated to.type - The type of event.url - The URL this link pointing too.
public HyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL url,
String description)
HyperlinkEvent with the given arguments.
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.
public HyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL url,
String description,
Element element)
HyperlinkEvent with the given arguments.
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.| Method Detail |
|---|
public Element getSourceElement()
public URL getURL()
public HyperlinkEvent.EventType getEventType()
public String getDescription()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||