public class HTMLFrameHyperlinkEvent extends HyperlinkEvent
HyperlinkEvent.EventType source| Constructor and Description |
|---|
HTMLFrameHyperlinkEvent(Object
Creates a new object representing a hypertext link event.
|
HTMLFrameHyperlinkEvent(Object
Creates a new object representing a html frame hypertext link event.
|
HTMLFrameHyperlinkEvent(Object
Creates a new object representing a hypertext link event.
|
HTMLFrameHyperlinkEvent(Object
Creates a new object representing a hypertext link event.
|
HTMLFrameHyperlinkEvent(Object
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, getURLgetSource, toStringpublic HTMLFrameHyperlinkEvent(Objectsource, HyperlinkEvent .EventType type, URL targetURL, String targetFrame)
source - the object responsible for the event
type - the event type
targetURL - the affected URL
targetFrame - the Frame to display the document in
public HTMLFrameHyperlinkEvent(Objectsource, HyperlinkEvent .EventType type, URL targetURL, String desc, String targetFrame)
source - the object responsible for the event
type - the event type
targetURL - the affected URL
desc - a description
targetFrame - the Frame to display the document in
public HTMLFrameHyperlinkEvent(Objectsource, HyperlinkEvent .EventType type, URL targetURL, Element sourceElement, String targetFrame)
source - the object responsible for the event
type - the event type
targetURL - the affected URL
sourceElement - the element that corresponds to the source of the event
targetFrame - the Frame to display the document in
public HTMLFrameHyperlinkEvent(Objectsource, HyperlinkEvent .EventType type, URL targetURL, String desc, Element sourceElement, String targetFrame)
source - the object responsible for the event
type - the event type
targetURL - the affected URL
desc - a description
sourceElement - the element that corresponds to the source of the event
targetFrame - the Frame to display the document in
public HTMLFrameHyperlinkEvent(Objectsource, HyperlinkEvent .EventType type, URL targetURL, String desc, Element sourceElement, InputEvent inputEvent, String targetFrame)
source - the object responsible for the event
type - the event type
targetURL - the affected URL
desc - a description
sourceElement - the element that corresponds to the source of the event
inputEvent - InputEvent that triggered the hyperlink event
targetFrame - the Frame to display the document in
public StringgetTarget()