|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.util.HierarchyUtilities
public class HierarchyUtilities
Utilities for finding CommandContainer bindings.
| Method Summary | |
|---|---|
static java.util.List<CommandContainer> |
findAllContainersInHeirarchy(java.awt.Component c)
Finds all the CommandContainers bound to the specified components swing
heirarchy. |
static CommandContainer |
findFirstContainerInHeirarchy(java.awt.Component c)
Finds the first CommandContainer bound to the specified components swing heirarchy. |
static java.awt.Window |
getWindowParent(java.awt.Component component)
Gets the window parent of the specified component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CommandContainer findFirstContainerInHeirarchy(java.awt.Component c)
CommandContainer bound to the specified components swing heirarchy.
c - the component of interest.
null if none
were found.public static java.util.List<CommandContainer> findAllContainersInHeirarchy(java.awt.Component c)
CommandContainers bound to the specified components swing
heirarchy.
c - the component of interest.
public static java.awt.Window getWindowParent(java.awt.Component component)
DefaultWindowSearchStrategy.
component - the component of interest.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||