|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.samskivert.swing.util.DialogUtil
public class DialogUtil
Utility methods for dialogs.
| Constructor Summary | |
|---|---|
DialogUtil()
|
|
| Method Summary | |
|---|---|
static JInternalDialog |
createDialog(JFrame frame,
JPanel content)
Creates and shows an internal dialog with the specified panel. |
static JInternalDialog |
createDialog(JFrame frame,
String title,
JPanel content)
Creates and shows an internal dialog with the specified title and panel. |
static JInternalDialog |
getInternalDialog(Component any)
Returns the internal dialog that is a parent of the specified component. |
static void |
invalidateDialog(Component any)
Invalidates and resizes the entire dialog given any component within the dialog in question. |
static void |
setContent(JInternalDialog dialog,
JPanel content)
Sets the content panel of the supplied internal dialog. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DialogUtil()
| Method Detail |
|---|
public static JInternalDialog createDialog(JFrame frame,
JPanel content)
public static JInternalDialog createDialog(JFrame frame,
String title,
JPanel content)
public static void setContent(JInternalDialog dialog,
JPanel content)
public static JInternalDialog getInternalDialog(Component any)
public static void invalidateDialog(Component any)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||