buoy.event
Class DocumentLinkEvent
EventObject
buoy.event.DocumentLinkEvent
- WidgetEvent
public class DocumentLinkEvent
extends EventObject
A DocumentLinkEvents is generated when the user clicks on a hyperlink inside a BDocumentViewer.
It is a simple wrapper around a javax.swing.event.HyperlinkEvent object.
String | getDescription() - Get a description of the link which was clicked.
|
HyperlinkEvent | getEvent() - Get the original HyperlinkEvent.
|
URL | getURL() - Get the URL of the link which was clicked.
|
Widget | getWidget() - Get the Widget which generated this event.
|
DocumentLinkEvent
public DocumentLinkEvent(Widget widget,
HyperlinkEvent event)
Create a DocumentLinkEvent.
widget
- the Widget containing the link that was selectedevent
- the original HyperlinkEvent
getDescription
public String getDescription()
Get a description of the link which was clicked.
getEvent
public HyperlinkEvent getEvent()
Get the original HyperlinkEvent.
getURL
public URL getURL()
Get the URL of the link which was clicked.
Written by Peter Eastman.