Serializable
FormSubmitEvent
public class HTMLFrameHyperlinkEvent extends HyperlinkEvent
HyperlinkEvent.EventType
source
Constructor | Description |
---|---|
HTMLFrameHyperlinkEvent |
Creates a new object representing a html frame hypertext link event. |
HTMLFrameHyperlinkEvent |
Creates a new object representing a hypertext link event. |
HTMLFrameHyperlinkEvent |
Creates a new object representing a hypertext link event. |
HTMLFrameHyperlinkEvent |
Creates a new object representing a hypertext link event. |
HTMLFrameHyperlinkEvent |
Creates a new object representing a hypertext link event. |
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()
© 1993, 2023, 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.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/text/html/HTMLFrameHyperlinkEvent.html