Package org.harctoolbox.guicomponents
Class BusyWindow
java.lang.Object
org.harctoolbox.guicomponents.BusyWindow
Class for setting and resetting busy cursor of a java.awt.Window.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbusy()Sets the wait cursorbooleanisBusy()Returns statusstatic BusyWindowmkBusyWindow(Window window) Static convenience function, factory function, that combines the constructor and the busy() call.voidunBusy()Resets cursor
-
Constructor Details
-
BusyWindow
- Parameters:
window-
-
-
Method Details
-
mkBusyWindow
Static convenience function, factory function, that combines the constructor and the busy() call.- Parameters:
window-- Returns:
- newly constructed BusyWindow.
-
busy
public void busy()Sets the wait cursor -
unBusy
public void unBusy()Resets cursor -
isBusy
public boolean isBusy()Returns status- Returns:
-