public class HTMLFrameHyperlinkEvent extends HyperlinkEvent
HTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame.
HyperlinkEvent.EventType
source
public HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL targetURL, String targetFrame)
Creates a new object representing a html frame hypertext link event.
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)
Creates a new object representing a hypertext link event.
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)
Creates a new object representing a hypertext link event.
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)
Creates a new object representing a hypertext link event.
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)
Creates a new object representing a hypertext link event.
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()
returns the target for the link.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.