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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
busy()
Sets the wait cursorboolean
isBusy()
Returns statusstatic BusyWindow
mkBusyWindow
(Window window) Static convenience function, factory function, that combines the constructor and the busy() call.void
unBusy()
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:
-