org.enhydra.barracuda.testbed.workbench.util.gui
Class Containers

java.lang.Object
  extended byorg.enhydra.barracuda.testbed.workbench.util.gui.Containers

public class Containers
extends Object

Container utilities


Constructor Summary
Containers()
           
 
Method Summary
static Container getRootContainer(Component comp)
          This method finds the root container given a starting component
static Container getRootContainer(Container cont)
          This method finds the root container given a starting container
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Containers

public Containers()
Method Detail

getRootContainer

public static Container getRootContainer(Component comp)
This method finds the root container given a starting component

Parameters:
comp -
Returns:
the root Container or null if the Component argument is null

getRootContainer

public static Container getRootContainer(Container cont)
This method finds the root container given a starting container

Parameters:
cont - The container in question
Returns:
the root Container or null if the Container argument is null


Copyright © 2003 BarracudaMVC.org All Rights Reserved.