|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acm.seguin.awt.CenterDialog
public class CenterDialog
This object is responsible for centering the dialog box on the screen.
| Method Summary | |
|---|---|
static void |
center(javax.swing.JDialog dialog)
Actually does the work to center the dialog, but uses the EditorOperation's frame to determine what to center the dialog over. |
static void |
center(javax.swing.JDialog dialog,
javax.swing.JFrame parent)
Actually does the work |
static void |
center(javax.swing.JDialog dialog,
UMLPackage umlPackage)
Center the dailog on a diagram's frame |
static void |
center(javax.swing.JDialog dialog,
net.sourceforge.jrefactory.uml.UMLPackage umlPackage)
Center the dailog on a diagram's frame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void center(javax.swing.JDialog dialog,
javax.swing.JFrame parent)
dialog - The dialog boxparent - the frame we are centering the dialog over or null if we
should center it on the screenpublic static void center(javax.swing.JDialog dialog)
dialog - The dialog box
public static void center(javax.swing.JDialog dialog,
UMLPackage umlPackage)
dialog - the diagramumlPackage - the frame
public static void center(javax.swing.JDialog dialog,
net.sourceforge.jrefactory.uml.UMLPackage umlPackage)
dialog - the diagramumlPackage - the frame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||