public interface AncestorContext
Modifier and Type | Method and Description |
---|---|
default <T> java.util.Optional<T> |
findAncestorOfType(java.lang.Class<T> type)
Find a component of a certain type in the hierarchy.
|
AncestorContext |
getParent()
Get the parent context of this context.
|
java.lang.Object |
getThisComponent()
Get the component this is the context for.
|
java.lang.Object getThisComponent()
AncestorContext getParent()
default <T> java.util.Optional<T> findAncestorOfType(java.lang.Class<T> type)
T
- type
-