|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jdraw.ui.Misc
A class for miscellaneous helper functions.
Constructor Summary | |
private |
Misc()
This class is not intended to be instancied. |
Method Summary | |
static Cursor |
buildCursor(String file_name,
Point hot_spot,
String accessible_name)
Buils a cursor from the specified image. |
static void |
centerWindow(Window window)
Centers a window on the screen. |
static void |
setLookAndFeel(Component component,
String lf_class_name)
Sets the specified look and feel for the specified component tree. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private Misc()
Method Detail |
public static Cursor buildCursor(String file_name, Point hot_spot, String accessible_name)
file_name
- the image file namehot_spot
- the hot spot positionaccessible_name
- the accessible stringpublic static final void centerWindow(Window window)
public static void setLookAndFeel(Component component, String lf_class_name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |