Lines Matching defs:owner

68  * A dialog may have another window as its owner when it's constructed.  When
69 * the owner window of a visible dialog is minimized, the dialog will
70 * automatically be hidden from the user. When the owner window is subsequently
74 * on a different screen device than its owner. See {@link java.awt.Frame} for
80 * as their owner. See <a href="doc-files/Modality.html">AWT Modality</a>
155 * A document is a top-level window without an owner. It may contain child
158 * document, its root can be found as the top-nearest window without an owner.
318 * the specified owner <code>Frame</code> and an empty title.
320 * @param owner the owner of the dialog or <code>null</code> if
321 * this dialog has no owner
322 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
331 public Dialog(Frame owner) {
332 this(owner, "", false);
337 * owner <code>Frame</code> and modality and an empty title.
339 * @param owner the owner of the dialog or <code>null</code> if
340 * this dialog has no owner
345 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
357 public Dialog(Frame owner, boolean modal) {
358 this(owner, "", modal);
363 * the specified owner <code>Frame</code> and title.
365 * @param owner the owner of the dialog or <code>null</code> if
366 * this dialog has no owner
369 * @exception IllegalArgumentException if the <code>owner</code>'s
378 public Dialog(Frame owner, String title) {
379 this(owner, title, false);
384 * specified owner <code>Frame</code>, title and modality.
386 * @param owner the owner of the dialog or <code>null</code> if
387 * this dialog has no owner
394 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
408 public Dialog(Frame owner, String title, boolean modal) {
409 this(owner, title, modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS);
413 * Constructs an initially invisible <code>Dialog</code> with the specified owner
415 * @param owner the owner of the dialog or <code>null</code> if this dialog
416 * has no owner
441 public Dialog(Frame owner, String title, boolean modal,
443 this(owner, title, modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS, gc);
448 * the specified owner <code>Dialog</code> and an empty title.
450 * @param owner the owner of the dialog or <code>null</code> if this
451 * dialog has no owner
452 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
459 public Dialog(Dialog owner) {
460 this(owner, "", false);
465 * with the specified owner <code>Dialog</code> and title.
467 * @param owner the owner of the dialog or <code>null</code> if this
468 * has no owner
471 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
479 public Dialog(Dialog owner, String title) {
480 this(owner, title, false);
485 * specified owner <code>Dialog</code>, title, and modality.
487 * @param owner the owner of the dialog or <code>null</code> if this
488 * dialog has no owner
495 * @exception IllegalArgumentException if the <code>owner</code>'s
509 public Dialog(Dialog owner, String title, boolean modal) {
510 this(owner, title, modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS);
515 * specified owner <code>Dialog</code>, title, modality and
518 * @param owner the owner of the dialog or <code>null</code> if this
519 * dialog has no owner
545 public Dialog(Dialog owner, String title, boolean modal,
547 this(owner, title, modal ? DEFAULT_MODALITY_TYPE : ModalityType.MODELESS, gc);
552 * specified owner <code>Window</code> and an empty title.
554 * @param owner the owner of the dialog. The owner must be an instance of
558 * @exception java.lang.IllegalArgumentException if the <code>owner</code>
561 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
570 public Dialog(Window owner) {
571 this(owner, "", ModalityType.MODELESS);
576 * the specified owner <code>Window</code> and title.
578 * @param owner the owner of the dialog. The owner must be an instance of
584 * @exception java.lang.IllegalArgumentException if the <code>owner</code>
587 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
596 public Dialog(Window owner, String title) {
597 this(owner, title, ModalityType.MODELESS);
602 * specified owner <code>Window</code> and modality and an empty title.
604 * @param owner the owner of the dialog. The owner must be an instance of
611 * @exception java.lang.IllegalArgumentException if the <code>owner</code>
614 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
629 public Dialog(Window owner, ModalityType modalityType) {
630 this(owner, "", modalityType);
635 * specified owner <code>Window</code>, title and modality.
637 * @param owner the owner of the dialog. The owner must be an instance of
646 * @exception java.lang.IllegalArgumentException if the <code>owner</code>
649 * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s
664 public Dialog(Window owner, String title, ModalityType modalityType) {
665 super(owner);
667 if ((owner != null) &&
668 !(owner instanceof Frame) &&
669 !(owner instanceof Dialog))
682 * specified owner <code>Window</code>, title, modality and
685 * @param owner the owner of the dialog. The owner must be an instance of
697 * @exception java.lang.IllegalArgumentException if the <code>owner</code>
715 public Dialog(Window owner, String title, ModalityType modalityType,
717 super(owner, gc);
719 if ((owner != null) &&
720 !(owner instanceof Frame) &&
721 !(owner instanceof Dialog))
723 throw new IllegalArgumentException("wrong owner window");
980 * If the dialog and/or its owner
1009 * Makes the {@code Dialog} visible. If the dialog and/or its owner