Class powersoft.jcm.ui.UiUtil
All Packages Class Hierarchy This Package Previous Next Index
Class powersoft.jcm.ui.UiUtil
java.lang.Object
|
+----powersoft.jcm.ui.UiUtil
- public class UiUtil
- extends Object
Provides generic user interface related utility functions.
-
UiUtil()
-
-
paintFocusRect(Component, Graphics, int, int, int, int)
- Paints a focus rectangle.
-
waitForImage(Component, Image)
- Waits for the given image to be completely loaded before returning.
UiUtil
public UiUtil()
waitForImage
public static void waitForImage(Component comp,
Image image)
- Waits for the given image to be completely loaded before returning.
- Parameters:
- comp - The component with which the image is associated.
- image - The image to wait for.
paintFocusRect
public static void paintFocusRect(Component comp,
Graphics g,
int x,
int y,
int width,
int height)
- Paints a focus rectangle.
- Parameters:
- comp - The component with which the focus rectangle is associated.
- g - The graphics context on which to draw.
- x - The x coordinate of the rectangle.
- y - The y coordinate of the rectangle.
- width - The width of the rectangle.
- height - The height of the rectangle.
All Packages Class Hierarchy This Package Previous Next Index