Package org.fest.swing.hierarchy
Class JMenuChildrenFinder
java.lang.Object
org.fest.swing.hierarchy.JMenuChildrenFinder
- All Implemented Interfaces:
ChildrenFinderStrategy
Understands how to find children components in a
JMenu
.
Note: Methods in this class are not executed in the event dispatch thread (EDT.) Clients are responsible for invoking them in the EDT.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the non-explicit children of a container.
-
Constructor Details
-
JMenuChildrenFinder
JMenuChildrenFinder()
-
-
Method Details
-
nonExplicitChildrenOf
Description copied from interface:ChildrenFinderStrategy
Returns the non-explicit children of a container. Non-explicit children are components considered to be children of the given container but cannot be obtained by calling
.Container.getComponents()
Note: Implementations of this method should not use the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.
- Specified by:
nonExplicitChildrenOf
in interfaceChildrenFinderStrategy
- Parameters:
c
- the container whose children we are looking for.- Returns:
- a collection containing the non-explicit children found.
-