|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.swt.internal.SWTEventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.ui.forms.events.HyperlinkEvent
Notifies listeners about a hyperlink change.
Field Summary |
---|
Fields inherited from class org.eclipse.swt.events.TypedEvent |
---|
data, display, time, widget |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
HyperlinkEvent(Widget widget,
Object href,
String label,
int stateMask)
Creates a new hyperlink |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.swt.events.TypedEvent |
---|
toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
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 maskMethod Detail |
public Object getHref()
public String getLabel()
public int getStateMask()
SWT.NULL
.
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.