Interface View
- All Superinterfaces:
AuditingContext,LoggingContext,PerspectiveElement,PropertyTreeOwner
- All Known Implementing Classes:
DesignerViewModel,ViewModel
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfindChildByIndexLocation(String indexLocation) Tries to look up a component by its index location.findChildByPath(String path) Tries to look up a component by its name path.getId()getPropertyConfig(PropertyKey property) com.google.common.eventbus.EventBusDeprecated.Methods inherited from interface com.inductiveautomation.perspective.gateway.api.AuditingContext
audit, getAuditSnapshotMethods inherited from interface com.inductiveautomation.perspective.gateway.api.LoggingContext
getLogger, getMdcParent, mdc, mdcSetup, mdcSetupTree, mdcTeardown, mdcTeardownTree, mdcWrapMethods inherited from interface com.inductiveautomation.perspective.gateway.api.PerspectiveElement
createPropertyReference, getAuditProfile, getName, getPage, getQualifiedPath, getSession, getView, isRunningMethods inherited from interface com.inductiveautomation.perspective.gateway.api.PropertyTreeOwner
getPropertyTreeOf
-
Field Details
-
MDC_VIEW
- See Also:
-
-
Method Details
-
getId
ViewInstanceId getId() -
getRootContainer
Component getRootContainer() -
getViewEventBus
Deprecated.Replaced bygetViewEventManager(). Will be removed in 8.2.0 -
getViewEventManager
EventManager getViewEventManager() -
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
-
getPropertyConfig
-
getViewEventManager().