camera3d.gui
Class CursorManager

java.lang.Object
  extended bycamera3d.gui.CursorManager

public class CursorManager
extends java.lang.Object

Manages the loading and supplying of application cursors to other classes.
Implements the singleton design pattern.

Author:
Fábio de Miranda, Carlos da Silva dos Santos

Method Summary
static CursorManager getCursorManager()
          Provides access to the single instance of this class.
 java.awt.Cursor getTransformationCursor(TransformType type)
          Returns the appropriate cursor for a given transformation type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCursorManager

public static CursorManager getCursorManager()
Provides access to the single instance of this class.


getTransformationCursor

public java.awt.Cursor getTransformationCursor(TransformType type)
Returns the appropriate cursor for a given transformation type.

Parameters:
type - Type of transformation which returned cursor is to represent
Returns:
The proper cursor for representing the type of transformation requested (translation, rotation, etc)


Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.