Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.ui.forms.events
Class HyperlinkEvent  view HyperlinkEvent download HyperlinkEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.eclipse.swt.internal.SWTEventObject
          extended byorg.eclipse.swt.events.TypedEvent
              extended byorg.eclipse.ui.forms.events.HyperlinkEvent
All Implemented Interfaces:
java.io.Serializable

public final class HyperlinkEvent
extends org.eclipse.swt.events.TypedEvent

Notifies listeners about a hyperlink change.

Since:
3.0

Field Summary
private  java.lang.String label
           
private  int stateMask
           
 
Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HyperlinkEvent(org.eclipse.swt.widgets.Widget widget, java.lang.Object href, java.lang.String label, int modifier)
          Creates a new hyperlink
 
Method Summary
 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.
 
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
 

Field Detail

label

private java.lang.String label

stateMask

private int stateMask
Constructor Detail

HyperlinkEvent

public HyperlinkEvent(org.eclipse.swt.widgets.Widget widget,
                      java.lang.Object href,
                      java.lang.String label,
                      int modifier)
Creates a new hyperlink

Method Detail

getHref

public java.lang.Object getHref()
The hyperlink reference that will be followed when the hyperlink is activated.


getLabel

public java.lang.String getLabel()
The text of the hyperlink rendered in the source widget.


getStateMask

public int getStateMask()
Returns the value of the keyboard state mask present when the event occured, or SWT.NULL for no modifiers.