|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.stage.tools.editor.util.EditorDialogUtil
public class EditorDialogUtil
| Constructor Summary | |
|---|---|
EditorDialogUtil()
|
|
| Method Summary | |
|---|---|
static void |
addButton(ActionListener l,
Container container,
String name,
String cmd)
Add a button to a container with the given parameters and action listener. |
static void |
center(JFrame parent,
JInternalFrame dialog)
Centers the supplied dialog in its parent's bounds. |
static void |
dismiss(JInternalFrame dialog)
Removes the supplied dialog from its parent container, but does not dispose it. |
static void |
display(JFrame parent,
JInternalFrame dialog)
Display a dialog centered within the given frame. |
static void |
dispose(JInternalFrame dialog)
Handles safely dismissing and disposing of the supplied dialog. |
static JComboBox |
getOrientationComboBox(ActionListener l)
Create and return a combo box seeded with the various possible orientation direction names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditorDialogUtil()
| Method Detail |
|---|
public static void addButton(ActionListener l,
Container container,
String name,
String cmd)
l - the listener.container - the container.name - the button name.cmd - the action command.public static JComboBox getOrientationComboBox(ActionListener l)
l - the listener.
public static void center(JFrame parent,
JInternalFrame dialog)
public static void display(JFrame parent,
JInternalFrame dialog)
parent - the parent frame.dialog - the dialog.public static void dismiss(JInternalFrame dialog)
public static void dispose(JInternalFrame dialog)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||