public class HTMLFrameHyperlinkEvent extends HyperlinkEvent
HyperlinkEvent.EventType
source
Constructor and Description |
---|
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,
InputEvent inputEvent,
String targetFrame)
Creates a new object representing a 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getTarget()
returns the target for the link.
|
getDescription, getEventType, getInputEvent, getSourceElement, getURL
getSource, toString
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 descriptionsourceElement
- 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, InputEvent inputEvent, String targetFrame)
source
- the object responsible for the eventtype
- the event typetargetURL
- the affected URLdesc
- a descriptionsourceElement
- the element that corresponds to the source
of the eventinputEvent
- InputEvent that triggered the hyperlink eventtargetFrame
- the Frame to display the document inpublic String getTarget()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.