pt.moredata.widgets.util
Class WidgetUtil

java.lang.Object
  extended bypt.moredata.widgets.util.WidgetUtil

public final class WidgetUtil
extends java.lang.Object

This class provide a several useful method to be used with UI Widgets Swing / AWT / SWT / Moredata Widgets

Author:
Luis Medalhas

Constructor Summary
WidgetUtil()
           
 
Method Summary
static java.awt.Window findWindowFor(java.awt.Component comp)
          Finds the parent Window for a given component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetUtil

public WidgetUtil()
Method Detail

findWindowFor

public static java.awt.Window findWindowFor(java.awt.Component comp)
Finds the parent Window for a given component

Parameters:
comp -
Returns:
parent Window of the component or null if Component its the root