Interface Component
- All Superinterfaces:
- AuditingContext,- LoggingContext,- PerspectiveElement,- PropertyTreeOwner
- All Known Implementing Classes:
- ComponentModel,- DesignerComponentModel
Interface for component instances.
- 
Field SummaryFields
- 
Method SummaryModifier 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.AuditingContextaudit, getAuditSnapshotMethods inherited from interface com.inductiveautomation.perspective.gateway.api.LoggingContextgetLogger, getMdcParent, mdc, mdcSetup, mdcSetupTree, mdcTeardown, mdcTeardownTree, mdcWrapMethods inherited from interface com.inductiveautomation.perspective.gateway.api.PerspectiveElementcreatePropertyReference, getAuditProfile, getName, getQualifiedPath, isRunningMethods inherited from interface com.inductiveautomation.perspective.gateway.api.PropertyTreeOwnergetPropertyTreeOf
- 
Field Details- 
MDC_COMPONENT- See Also:
 
 
- 
- 
Method Details- 
getParent- Returns:
- parent component, or null if this a root container.
 
- 
getChild
- 
getChildrenCollection<Component> getChildren()
- 
findChildByName
- 
findExtensionFunction
- 
getPropertyConfig
- 
getView- Specified by:
- getViewin interface- PerspectiveElement
- Returns:
- The view within which this element exists, or null if this is a Page or Session
 
- 
getPage- Specified by:
- getPagein interface- PerspectiveElement
- Returns:
- The Page that this element is part of. Will return null if this is the Session
 
- 
getSession- Specified by:
- getSessionin interface- PerspectiveElement
- Returns:
- The session that this element is a part of.
 
- 
fireEventFire an event on component. Can either be a 'component' event or a 'delegate' event.
- 
getComponentAddressPathString getComponentAddressPath()Index path of the component, like "0:5"
- 
getTypeString getType()The type ID of this component, like "ia.display.label"
 
-