Lines Matching refs:modal

77  * A dialog can be either modeless (the default) or modal.  A modal
138 * <code>ModalityType</code> enum specifies modal types and their
173 * toolkit; thus, a toolkit-modal dialog displayed by an applet may affect
177 * toolkit-modal dialogs. If a <code>TOOLKIT_MODAL</code> dialog is being created
188 * Default modality type for modal dialogs. The default modality type is
200 * True if this dialog is modal, false is the dialog is modeless.
201 * A modal dialog blocks user input to some application top-level
215 boolean modal;
233 * Any top-level window can be marked not to be blocked by modal
234 * dialogs. This is called "modal exclusion". This enum specifies
235 * the possible modal exclusion types.
245 * No modal exclusion.
250 * won't be blocked by any application-modal dialogs. Also, it isn't
251 * blocked by document-modal dialogs from outside of its child hierarchy.
256 * won't be blocked by application-modal or toolkit-modal dialogs. Also,
257 * it isn't blocked by document-modal dialogs from outside of its
341 * @param modal specifes whether dialog blocks user input to other top-level
357 public Dialog(Frame owner, boolean modal) {
358 this(owner, "", modal);
390 * @param modal specifes whether dialog blocks user input to other top-level
408 public Dialog(Frame owner, String title, boolean modal) {
409 this(owner, title, modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS);
419 * @param modal specifes whether dialog blocks user input to other top-level
441 public Dialog(Frame owner, String title, boolean modal,
443 this(owner, title, modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS, gc);
491 * @param modal specifes whether dialog blocks user input to other top-level
509 public Dialog(Dialog owner, String title, boolean modal) {
510 this(owner, title, modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS);
522 * @param modal specifes whether dialog blocks user input to other top-level
545 public Dialog(Dialog owner, String title, boolean modal,
547 this(owner, title, modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS, gc);
619 * to create modal dialogs with the given <code>modalityType</code>
654 * to create modal dialogs with the given <code>modalityType</code>
705 * to create modal dialogs with the given <code>modalityType</code>
765 * Indicates whether the dialog is modal.
770 * @return <code>true</code> if this dialog window is modal;
787 * Specifies whether this dialog should be modal.
795 * @param modal specifies whether dialog blocks input to other windows
809 public void setModal(boolean modal) {
810 this.modal = modal;
811 setModalityType(modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS);
842 * to create modal dialogs with the given <code>modalityType</code>
863 modal = (modalityType != ModalityType.MODELESS);
915 // check if this dialog should be modal blocked BEFORE calling peer.show(),
986 * <b>Notes for modal dialogs</b>.
1015 * If the dialog is modal and is not already visible, this call
1017 * dispose. It is permissible to show modal dialogs from the event
1052 // if this dialog is toolkit-modal, the filter should be added
1089 // if this dialog is toolkit-modal, its filter must be removed
1151 // modal filter is created
1204 * If this dialog is modal and blocks some windows, then all of them are
1389 * This method is called only for modal dialogs.
1461 * This method is called only for modal dialogs.
1463 * Unblocks all the windows blocked by this modal dialog. After
1465 * any other modal dialogs.
1491 * this dialog. Note, that the given window can be also a modal dialog
1530 // document-modal dialogs from outside their children hierarchy
1551 * windows for this dialog and marks it as modal blocked.
1552 * If the window is already blocked by some modal dialog,
1583 * window is not modal blocked, does nothing.
1593 * Checks if any other modal dialog D blocks the given window.
1635 // in 1.5 or earlier modalityType was absent, so use "modal" instead
1637 this.modal = fields.get("modal", false);
1638 setModal(modal);