net.xoetrope.awt
Class XAwtHelper
java.lang.Object
net.xoetrope.awt.XAwtHelper
-
public class XAwtHelper
- extends java.lang.Object
-
A collection of utilities for use with the Swing version of XUI
Copyright (c) Xoetrope Ltd., 2002-2004
$Revision: 1.1 $
License: see License.txt
Method Summary |
static void |
showDialog(java.awt.Container parent, java.lang.String dialogName, java.lang.String dialogTitle, java.awt.Point offsetPt, boolean isModel)
Show a dialog at an offset from the parent component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XAwtHelper
public XAwtHelper()
showDialog
public static void showDialog(java.awt.Container parent,
java.lang.String dialogName,
java.lang.String dialogTitle,
java.awt.Point offsetPt,
boolean isModel)
-
Show a dialog at an offset from the parent component.
-
- Parameters:
-
parent
- the parent container
-
dialogName
- the name of the dialog to be displayed
-
dialogTitle
- the title of the dialog
-
offsetPt
- the offset (x and y) from the parent's origin. If null the dialog is centered on the application window
-
isModel
- true for a modal dialog, false for a modeless dialog