|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.swing.text.html
|
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.event.HyperlinkEvent |
---|
HyperlinkEvent.EventType |
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
Element sourceElement,
String targetFrame)
Creates a new object representing a hypertext link event. |
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String targetFrame)
Creates a new object representing a html frame hypertext link event. |
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String desc,
Element sourceElement,
String targetFrame)
Creates a new object representing a hypertext link event. |
|
HTMLFrameHyperlinkEvent(Object source,
HyperlinkEvent.EventType type,
URL targetURL,
String desc,
String targetFrame)
Creates a new object representing a hypertext link event. |
Method Summary | |
---|---|
String |
getTarget()
returns the target for the link. |
Methods inherited from class javax.swing.event.HyperlinkEvent |
---|
getDescription, getEventType, getSourceElement, getURL |
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 HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, String targetFrame)
source
- the object responsible for the eventtype
- the event typetargetURL
- the affected URLtargetFrame
- the Frame to display the document inpublic HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, String desc, String targetFrame)
source
- the object responsible for the eventtype
- the event typetargetURL
- the affected URLdesc
- a descriptiontargetFrame
- the Frame to display the document inpublic HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, Element sourceElement, String targetFrame)
source
- the object responsible for the eventtype
- the event typetargetURL
- the affected URLsourceElement
- the element that corresponds to the source
of the eventtargetFrame
- the Frame to display the document inpublic HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, String desc, Element sourceElement, String targetFrame)
source
- the object responsible for the eventtype
- the event typetargetURL
- the affected URLdesc
- a desriptionsourceElement
- the element that corresponds to the source
of the eventtargetFrame
- the Frame to display the document inMethod Detail |
---|
public String getTarget()