org.formaria.awt
Class AwtHelper

java.lang.Object
  extended by org.formaria.awt.AwtHelper

public class AwtHelper
extends java.lang.Object

A collection of utilities for use with the Swing version of Aria

Copyright (c) Formaria Ltd., 2008

$Revision: 1.1 $

License: see License.txt


Constructor Summary
AwtHelper()
           
 
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
 

Constructor Detail

AwtHelper

public AwtHelper()
Method Detail

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