Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.javatools.dialogs
Class DialogUtil

java.lang.Object
  extended by oracle.javatools.dialogs.DialogUtil


public final class DialogUtil
extends java.lang.Object

Dialog utilities.


Method Summary
static java.awt.Dialog getAncestorDialog(java.awt.Component parent)
          Given a Component, find its nearest hosting Dialog, if any, which may be itself.
static java.awt.Frame getAncestorFrame(java.awt.Component parent)
          Given a Component, find its nearest hosting Frame, if any, which may be itself.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getAncestorDialog

public static java.awt.Dialog getAncestorDialog(java.awt.Component parent)
Given a Component, find its nearest hosting Dialog, if any, which may be itself.
Returns:
null if Component is not hosted by a Dialog

getAncestorFrame

public static java.awt.Frame getAncestorFrame(java.awt.Component parent)
Given a Component, find its nearest hosting Frame, if any, which may be itself.
Returns:
null if Component is not hosted by a Frame

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.