Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.forms.events
Class HyperlinkEvent

java.lang.Object
  extended by 

java.util.EventObject
      extended by org.eclipse.swt.internal.SWTEventObject
          extended by 

org.eclipse.swt.events.TypedEvent
              extended by 
org.eclipse.ui.forms.events.HyperlinkEvent
All Implemented Interfaces:
Serializable

public final class HyperlinkEvent
extends TypedEvent

Notifies listeners about a hyperlink change.

Since:
3.0
See Also:
Serialized Form

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

HyperlinkEvent

public HyperlinkEvent(
Widget widget,
                      
Object href,
                      
String label,
                      int stateMask)
Creates a new hyperlink

Parameters:
widget - event source
href - 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 mask
Method Detail

getHref

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

Returns:
the hyperlink reference object

getLabel

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

Returns:
the hyperlink label

getStateMask

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

Returns:
the keyboard state mask or SWT.NULL.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire