com.tensegrity.graphics.swt
Class Cursors

java.lang.Object
  extended bycom.tensegrity.graphics.swt.Cursors

public class Cursors
extends java.lang.Object

IBM SWT dependent class which provides utility methods that are useful when working with mouse cursors in the context of Standard Window Toolkit.

Version:
$Id: Cursors.java,v 1.1 2004/12/21 13:49:08 MichaelKegel Exp $
Author:
MKegel

Method Summary
static void registerPredefinedCursorConstants(CursorRegistry registry)
           Registers the predefined cursors to the CursorRegistry given by registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerPredefinedCursorConstants

public static final void registerPredefinedCursorConstants(CursorRegistry registry)

Registers the predefined cursors to the CursorRegistry given by registry. The predefined cursors are listed within an enumeration of the GraphicConstants class.

This method registers the predefines cursor types to the CursorRegistry by using key objects and the corresponding constants from the SWT class of IBM SWT.

Parameters:
registry - the CursorRegistry to register the predefined cursor types to.
See Also:
CursorRegistry, SWT, Cursor


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.