|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
javax.swing.event.HyperlinkEvent
javax.swing.text.html.HTMLFrameHyperlinkEvent
public class HTMLFrameHyperlinkEvent extends HyperlinkEvent
HTMLFrameHyperlinkEvent is used to notify interested parties that link was activated in a frame.
| Modifier and Type | Class and Description |
|---|
| Nested classes/interfaces inherited from class javax.swing.event.HyperlinkEvent |
|---|
HyperlinkEvent.EventType |
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class java.util.EventObject |
|---|
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. |
| Methods inherited from class javax.swing.event.HyperlinkEvent |
|---|
getDescription, getEventType, getInputEvent, 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 in
public 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 in
public 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 in
public 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 in
public 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 desriptionsourceElement - the element that corresponds to the source
of the eventinputEvent - InputEvent that triggered the hyperlink eventtargetFrame - the Frame to display the document in| Method Detail |
|---|
public String getTarget()
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.