|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.gjt.btools.gui.Positioner
Used to position objects on the screen.
| Constructor Summary | |
Positioner()
|
|
| Method Summary | |
static void |
centerInFrame(java.awt.Dialog dialog,
java.awt.Frame frame)
Position a given dialog over the centre of a frame. |
static void |
centerOnScreen(java.awt.Dialog dialog)
Position a given dialog in the centre of the screen. |
static void |
centerOnScreen(java.awt.Frame frame)
Position a given frame in the centre of the screen. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Positioner()
| Method Detail |
public static void centerOnScreen(java.awt.Frame frame)
frame - the frame to centre.public static void centerOnScreen(java.awt.Dialog dialog)
dialog - the dialog to centre.
public static void centerInFrame(java.awt.Dialog dialog,
java.awt.Frame frame)
dialog - the dialog to centre.frame - the frame about which to centre the dialog.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||