public final class HyperlinkEvent extends TypedEvent
data, display, time, widget
source
Constructor and Description |
---|
HyperlinkEvent(Widget widget,
Object href,
String label,
int stateMask)
Creates a new hyperlink
|
Modifier and Type | Method and Description |
---|---|
Object |
getHref()
The hyperlink reference that will be followed when the hyperlink is
activated.
|
String |
getLabel()
The text of the hyperlink rendered in the source widget.
|
int |
getStateMask()
Returns the value of the keyboard state mask present when
the event occured, or SWT.NULL for no modifiers.
|
toString
getSource
public HyperlinkEvent(Widget widget, Object href, String label, int stateMask)
widget
- event sourcehref
- the hyperlink reference that will be followed upon when the
hyperlink is activated.label
- the name of the hyperlink (the text that is rendered as a
link in the source widget).stateMask
- the given state maskpublic Object getHref()
public String getLabel()
public int getStateMask()
SWT.NULL
.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.