Interface View
- 
- All Superinterfaces:
- AuditingContext,- LoggingContext,- PerspectiveElement,- PropertyTreeOwner
 - All Known Implementing Classes:
- DesignerViewModel,- ViewModel
 
 public interface View extends PerspectiveElement 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringMDC_VIEW
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Optional<PerspectiveElement>findChildByIndexLocation(java.lang.String indexLocation)Tries to look up a component by its index location.java.util.Optional<PerspectiveElement>findChildByPath(java.lang.String path)Tries to look up a component by its name path.ViewInstanceIdgetId()java.util.Optional<PropertyConfig>getPropertyConfig(PropertyKey property)ComponentgetRootContainer()com.google.common.eventbus.EventBusgetViewEventBus()Deprecated.Replaced bygetViewEventManager().EventManagergetViewEventManager()- 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.AuditingContextaudit, getAuditSnapshot
 - 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.LoggingContextgetLogger, getMdcParent, mdc, mdcSetup, mdcSetupTree, mdcTeardown, mdcTeardownTree, mdcWrap
 - 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.PerspectiveElementcreatePropertyReference, getAuditProfile, getName, getPage, getQualifiedPath, getSession, getView, isRunning
 - 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.PropertyTreeOwnergetPropertyTreeOf
 
- 
 
- 
- 
- 
Field Detail- 
MDC_VIEWstatic final java.lang.String MDC_VIEW - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getIdViewInstanceId getId() 
 - 
getRootContainerComponent getRootContainer() 
 - 
getViewEventBus@Deprecated com.google.common.eventbus.EventBus getViewEventBus() Deprecated.Replaced bygetViewEventManager(). Will be removed in 8.2.0
 - 
getViewEventManagerEventManager getViewEventManager() 
 - 
findChildByPathjava.util.Optional<PerspectiveElement> findChildByPath(java.lang.String path) 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"
 - 
findChildByIndexLocationjava.util.Optional<PerspectiveElement> findChildByIndexLocation(java.lang.String indexLocation) 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
 - 
getPropertyConfigjava.util.Optional<PropertyConfig> getPropertyConfig(PropertyKey property) 
 
- 
 
-