bibliothek.gui.dock.util
Class DockSwingUtilities
java.lang.Object
bibliothek.gui.dock.util.DockSwingUtilities
public final class DockSwingUtilities
- extends Object
A set of methods useful for working with Swing.
- Author:
- Benjamin Sigg
Method Summary |
static boolean |
containsAWTComponents(Component component)
Checks whether the tree of components, starting with component ,
contains elements that are not from Swing but from AWT. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
containsAWTComponents
public static boolean containsAWTComponents(Component component)
- Checks whether the tree of components, starting with
component
,
contains elements that are not from Swing but from AWT.
- Parameters:
component
- the top of the tree
- Returns:
true
if at least one AWT component was found