-
-
Method Summary
Tries to look up a component by its index location.
Tries to look up a component by its name path.
com.google.common.eventbus.EventBus
-
-
Method Details
-
-
getPage
- Specified by:
getPage in interface PerspectiveElement
- Returns:
- The Page that this element is part of. Will return null if this is the Session
-
getView
- Specified by:
getView in interface PerspectiveElement
- Returns:
- The view within which this element exists, or null if this is a Page or Session
-
-
getViewEventBus
@Deprecated
com.google.common.eventbus.EventBus getViewEventBus()
Deprecated.
-
-
findChildByPath
Tries to look up a component by its name path. Some examples:
- "/": returns the view
- "/root": returns the root container if the root container's name is "root"
- "/root/foo": returns a component called "foo" contained with in the root container called "root"
-
findChildByIndexLocation
Tries to look up a component by its index location. Some examples:
- "": returns the view
- "0": returns the root container
- "0:4" returns a child of the root container at index 4
-
getViewEventManager().