com.digi.config.util
Class Busy

java.lang.Object
  extended bycom.digi.config.util.Busy

public class Busy
extends java.lang.Object

This class is used for putting up the busy cursor when in gui mode


Constructor Summary
Busy()
           
 
Method Summary
static void begin()
           
static void begin(java.lang.String msg)
          This method turns on the busy cursor.
static void end()
          This method decrements the count of busy sections by one.
static void registerGUIComponent(StatusDisplay theComponent)
          This method registers the GUI Component that the busy cursor is to be displayed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Busy

public Busy()
Method Detail

registerGUIComponent

public static void registerGUIComponent(StatusDisplay theComponent)
This method registers the GUI Component that the busy cursor is to be displayed in. This should be done once at the beginning of the application

Parameters:
theComponent - the gui component to show the busy cursor and status text (implements the StatusDisplay interface.

begin

public static void begin(java.lang.String msg)
This method turns on the busy cursor. If the cursor is already on, it bumps a count of the number of busy sections.

Note: If no component is registered, then this method does nothing.


begin

public static void begin()

end

public static void end()
This method decrements the count of busy sections by one. When the count reaches zero, this method turns off the busy cursor.

Note: If no component is registered, then this method does nothing.



Copyright © 2001-2002 Digi International. All Rights Reserved.