javax.swing.text.html
Class HTMLFrameHyperlinkEvent
java.lang.Object
java.util.EventObject
javax.swing.event.HyperlinkEvent
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
|
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. |
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.
getTarget
public String getTarget()
- Gets the string, passed as the target frame identifier.
- Returns:
- the target for the link.