javax.swing.text.html

Class HTMLFrameHyperlinkEvent

public class HTMLFrameHyperlinkEvent extends HyperlinkEvent

HTMLFrameHyperlinkEvent transfers information about the link that was activated in a frame.
Constructor Summary
HTMLFrameHyperlinkEvent(Object source, EventType type, URL url, Element element, String frame)
Creates a new hypertext link event.
HTMLFrameHyperlinkEvent(Object source, EventType type, URL url, String frame)
Creates a new hypertext link event.
HTMLFrameHyperlinkEvent(Object source, EventType type, URL url, String description, Element element, String frame)
Creates a new hypertext link event.
HTMLFrameHyperlinkEvent(Object source, EventType type, URL url, String description, String frame)
Creates a new hypertext link event.
Method Summary
StringgetTarget()
Gets the string, passed as the target frame identifier.

Constructor Detail

HTMLFrameHyperlinkEvent

public HTMLFrameHyperlinkEvent(Object source, 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, 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, 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, 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.