javax.swing.text.html
Class HTMLFrameHyperlinkEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.swing.event.HyperlinkEvent
          extended by javax.swing.text.html.HTMLFrameHyperlinkEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FormSubmitEvent

public class HTMLFrameHyperlinkEvent
extends HyperlinkEvent

HTMLFrameHyperlinkEvent transfers information about the link that was activated in a frame.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.event.HyperlinkEvent
HyperlinkEvent.EventType
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, Element element, String frame)
          Creates a new hypertext link event.
HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, String frame)
          Creates a new hypertext link event.
HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, String description, Element element, String frame)
          Creates a new hypertext link event.
HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, String description, String frame)
          Creates a new hypertext link event.
 
Method Summary
 String getTarget()
          Gets the string, passed as the target frame identifier.
 
Methods inherited from class javax.swing.event.HyperlinkEvent
getDescription, getEventType, 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

HTMLFrameHyperlinkEvent

public HTMLFrameHyperlinkEvent(Object source,
                               HyperlinkEvent.EventType type,
                               URL url,
                               Element element,
                               String frame)
Creates a new hypertext link event.

Parameters:
source - The object this link is associated to.
type - The type of event.
url - The URL this link pointing too.
element - The element in the document representing the anchor.
frame - - the Frame to display the document in.

HTMLFrameHyperlinkEvent

public HTMLFrameHyperlinkEvent(Object source,
                               HyperlinkEvent.EventType type,
                               URL url,
                               String frame)
Creates a new hypertext link event.

Parameters:
source - The object this link is associated to.
type - The type of event.
url - The URL this link pointing too.
frame - - the Frame to display the document in.

HTMLFrameHyperlinkEvent

public HTMLFrameHyperlinkEvent(Object source,
                               HyperlinkEvent.EventType type,
                               URL url,
                               String description,
                               Element element,
                               String frame)
Creates a new hypertext link event.

Parameters:
source - The object this link is associated to.
type - The type of event.
url - The URL this link pointing too.
description - The description for this link.
element - The element in the document representing the anchor.
frame - - the Frame to display the document in.

HTMLFrameHyperlinkEvent

public HTMLFrameHyperlinkEvent(Object source,
                               HyperlinkEvent.EventType type,
                               URL url,
                               String description,
                               String frame)
Creates a new hypertext link event.

Parameters:
source - The object this link is associated to.
type - The type of event.
url - The URL this link pointing too.
description - The description for this link.
frame - - the Frame to display the document in.
Method Detail

getTarget

public String getTarget()
Gets the string, passed as the target frame identifier.

Returns:
the target for the link.