|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gerhardb.jibs.obsolete.DialogModality
public class DialogModality
Creates the illusion of a modal dialog, by disabling all mouse and
keyboard input to the owner window of a JDialog. To
use this class, create an instance and call its install
method.
| Constructor Summary | |
|---|---|
DialogModality(javax.swing.JDialog d)
Creates an instance capable of blocking input to the parent of the specified dialog whenever the specified dialog is shown. |
|
| Method Summary | |
|---|---|
void |
install()
Makes this object's dialog appear modal with respect to its owner window. |
static void |
main(java.lang.String[] args)
Tests this class by showing a frame with a button that causes a single dialog, made "modal" by an instance of this class, to appear. |
void |
uninstall()
Removes all influences of this object over its dialog, effectively undoing a call to install(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DialogModality(javax.swing.JDialog d)
install() is called.
| Method Detail |
|---|
public void install()
uninstall()public void uninstall()
install().
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||