public final class HyperlinkEvent extends TypedEvent
data, display, time, widget| Constructor and Description |
|---|
HyperlinkEvent(Widget widget,
java.lang.Object href,
java.lang.String label,
int stateMask)
Creates a new hyperlink
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getHref()
The hyperlink reference that will be followed when the hyperlink is
activated.
|
java.lang.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.
|
toStringpublic HyperlinkEvent(Widget widget, java.lang.Object href, java.lang.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 java.lang.Object getHref()
public java.lang.String getLabel()
public int getStateMask()
SWT.NULL.
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.