public class PivotUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Component |
findComponentByName(String name,
Container root)
Searches a component by name in a particular component hierarchy.
|
@Nullable public static Component findComponentByName(@Nonnull String name, @Nonnull Container root)
A component must have a value for its name property if it's
to be found with this method.
This method performs a depth-first search.
name
- the value of the component's name propertyroot
- the root of the component hierarchy from where searching
searching should start