org.stringer.util
Class CursorKit

java.lang.Object
  |
  +--org.stringer.util.CursorKit

public class CursorKit
extends java.lang.Object

A Cursor Toolkit that ignores mouse events.

Author:
R. Kevin Cole kcole@users.sourceforge.net

Field Summary
(package private) static java.awt.Cursor DEFAULT_CURSOR
           
private static java.awt.event.MouseAdapter mouseAdapter
           
(package private) static java.awt.Cursor WAIT_CURSOR
           
 
Constructor Summary
private CursorKit()
           
 
Method Summary
static void startWaitCursor(javax.swing.JComponent component)
          Sets cursor for specified component to Wait cursor
static void stopWaitCursor(javax.swing.JComponent component)
          Sets cursor for specified component to normal cursor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WAIT_CURSOR

static java.awt.Cursor WAIT_CURSOR

DEFAULT_CURSOR

static java.awt.Cursor DEFAULT_CURSOR

mouseAdapter

private static final java.awt.event.MouseAdapter mouseAdapter
Constructor Detail

CursorKit

private CursorKit()
Method Detail

startWaitCursor

public static void startWaitCursor(javax.swing.JComponent component)
Sets cursor for specified component to Wait cursor


stopWaitCursor

public static void stopWaitCursor(javax.swing.JComponent component)
Sets cursor for specified component to normal cursor



Copyright © R. Kevin Cole. All Rights Reserved.