Interface Component
- All Superinterfaces:
AuditingContext,LoggingContext,PerspectiveElement,PropertyTreeOwner
- All Known Implementing Classes:
ComponentModel,DesignerComponentModel
Interface for component instances.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfindChildByName(Iterator<String> pathIterator) findExtensionFunction(String name) voidFire an event on component.getChild(int index) Index path of the component, like "0:5"default PagegetPage()getPropertyConfig(PropertyKey property) default SessiongetType()The type ID of this component, like "ia.display.label"getView()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, getQualifiedPath, isRunningMethods inherited from interface com.inductiveautomation.perspective.gateway.api.PropertyTreeOwner
getPropertyTreeOf
-
Field Details
-
MDC_COMPONENT
- See Also:
-
-
Method Details
-
getParent
- Returns:
- parent component, or null if this a root container.
-
getChild
-
getChildren
Collection<Component> getChildren() -
findChildByName
-
findExtensionFunction
-
getPropertyConfig
-
getView
- Specified by:
getViewin interfacePerspectiveElement- Returns:
- The view within which this element exists, or null if this is a Page or Session
-
getPage
- Specified by:
getPagein interfacePerspectiveElement- Returns:
- The Page that this element is part of. Will return null if this is the Session
-
getSession
- Specified by:
getSessionin interfacePerspectiveElement- Returns:
- The session that this element is a part of.
-
fireEvent
Fire an event on component. Can either be a 'component' event or a 'delegate' event. -
getComponentAddressPath
String getComponentAddressPath()Index path of the component, like "0:5" -
getType
String getType()The type ID of this component, like "ia.display.label"
-