com.stimulsoft.viewer.controls.mouse
Class StiCursorManager

java.lang.Object
  extended by com.stimulsoft.viewer.controls.mouse.StiCursorManager

public final class StiCursorManager
extends java.lang.Object

Cursor manager Copyright Stimulsoft


Field Summary
static java.awt.Cursor DRAGGING_HAND_CURSOR
          Dragging hand cursor
 
Constructor Summary
StiCursorManager()
           
 
Method Summary
static void setDefaultCursor(java.awt.Component component)
          Set default cursor
static void setDraggingHand(java.awt.Component component)
          Set dragging hand cursor
static void setGlobalCursor(javax.swing.JComponent component, java.awt.Cursor cursor)
          Set cursor to whole application
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRAGGING_HAND_CURSOR

public static java.awt.Cursor DRAGGING_HAND_CURSOR
Dragging hand cursor

Constructor Detail

StiCursorManager

public StiCursorManager()
Method Detail

setDefaultCursor

public static void setDefaultCursor(java.awt.Component component)
Set default cursor

Parameters:
component - Component to change cursor

setDraggingHand

public static void setDraggingHand(java.awt.Component component)
Set dragging hand cursor

Parameters:
component - Component to change cursor

setGlobalCursor

public static void setGlobalCursor(javax.swing.JComponent component,
                                   java.awt.Cursor cursor)
Set cursor to whole application

Parameters:
component - Component to change cursor
cursor - Cursor