Package ptolemy.gui
Class QueryChooserHelper
- java.lang.Object
-
- ptolemy.gui.QueryChooserHelper
-
public class QueryChooserHelper extends java.lang.Object
A little helper class for QueryChooser classes.- Since:
- Ptolemy II 8.0
- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Constructor Summary
Constructors Constructor Description QueryChooserHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.Dialog
getParentDialog(java.awt.Container container)
Determine the dialog of this frame.static java.awt.Frame
getParentFrame(java.awt.Container container)
Determine the parent of this frame.
-
-
-
Method Detail
-
getParentFrame
public static java.awt.Frame getParentFrame(java.awt.Container container)
Determine the parent of this frame.- Parameters:
container
- the container- Returns:
- the parent frame if one exists or null if not
-
getParentDialog
public static java.awt.Dialog getParentDialog(java.awt.Container container)
Determine the dialog of this frame.- Parameters:
container
- the container- Returns:
- the parent dialog if one exists or null if not
-
-