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) void
Fire an event on component.getChild
(int index) Index path of the component, like "0:5"default Page
getPage()
getPropertyConfig
(PropertyKey property) default Session
getType()
The type ID of this component, like "ia.display.label"getView()
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.AuditingContext
audit, getAuditSnapshot
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.LoggingContext
getLogger, getMdcParent, mdc, mdcSetup, mdcSetupTree, mdcTeardown, mdcTeardownTree, mdcWrap
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.PerspectiveElement
createPropertyReference, getAuditProfile, getName, getQualifiedPath, isRunning
Methods 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:
getView
in interfacePerspectiveElement
- Returns:
- The view within which this element exists, or null if this is a Page or Session
-
getPage
- Specified by:
getPage
in interfacePerspectiveElement
- Returns:
- The Page that this element is part of. Will return null if this is the Session
-
getSession
- Specified by:
getSession
in 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"
-