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
Answertopia.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.swt.widgets
Class TypedListener


java.lang.Object
  extended by 
org.eclipse.swt.widgets.TypedListener
All Implemented Interfaces:
Listener

public class TypedListener
extends Object
implements Listener

Instances of this class are internal SWT implementation objects which provide a mapping between the typed and untyped listener mechanisms that SWT supports.

IMPORTANT: This class is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.

See Also:
Listener, Sample code and further information

Field Summary
protected  org.eclipse.swt.internal.SWTEventListener eventListener
          The receiver's event listener
 
Constructor Summary
TypedListener (org.eclipse.swt.internal.SWTEventListener listener)
          Constructs a new instance of this class for the given event listener.
 
Method Summary
 org.eclipse.swt.internal.SWTEventListener getEventListener ()
          Returns the receiver's event listener.
 void handleEvent ( Event e)
          Handles the given event.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventListener

protected org.eclipse.swt.internal.SWTEventListener eventListener
The receiver's event listener

Constructor Detail

TypedListener

public TypedListener(org.eclipse.swt.internal.SWTEventListener listener)
Constructs a new instance of this class for the given event listener.

IMPORTANT: This method is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.

Parameters:
listener - the event listener to store in the receiver
Method Detail

getEventListener

public org.eclipse.swt.internal.SWTEventListener getEventListener()
Returns the receiver's event listener.

IMPORTANT: This method is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.

Returns:
the receiver's event listener

handleEvent

public void handleEvent(
Event e)
Handles the given event.

IMPORTANT: This method is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.

Specified by:
handleEvent in interface Listener
Parameters:
e - the event to handle

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