org.springframework.richclient.progress
Class BusyIndicator
java.lang.Object
org.springframework.richclient.progress.BusyIndicator
public class BusyIndicator
- extends Object
Support for showing a Busy Cursor during a long running process.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusyIndicator
public BusyIndicator()
showWhile
public static void showWhile(Component component,
Runnable runnable)
- Runs the given
Runnable
while providing busy feedback
using this busy indicator.
- Parameters:
component
- the display on which the busy feedback should be displayed. If the
display is null, the Display for the current thread will be
used. If there is no Display for the current thread, the
runnable code will be executed and no busy feedback will be
displayed.runnable
- the runnable for which busy feedback is to be shown- See Also:
showWhile(java.awt.Component, java.lang.Runnable)
showAt
public static void showAt(Component component)
clearAt
public static void clearAt(Component component)
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.