Class ComponentVisitor
java.lang.Object
com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor
- Direct Known Subclasses:
- ComponentTranslationPanel.TermFindingComponentVisitor,- ComponentVisitor.BindingInitVisitor,- ComponentVisitor.ComponentSecurityVisitor,- ComponentVisitor.LocaleChangedVisitor,- ComponentVisitor.ShutdownVisitor,- ComponentVisitor.StartupVisitor,- ComponentVisitor.TemplateHolderVisitor,- ComponentVisitor.TemplatePreDeserializeVisitor,- ComponentVisitor.UDTInitVisitor
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classVisits BindingRoots, initializing them.static classstatic classstatic classVisits ComponentLifecycles, shutting them down.static classVisits ComponentLifecycles, starting them up.static classVisits TemplateHolders, calling initTemplate() on themstatic classCounts up the number of each template that will be needed on initialize, and then can pre-load instances for templates that will be needed more than once.static classVisits DynamicPropertyProviders, initializing their UDTProperties.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidpop(JComponent container) Called after a container's children have been visitedvoidpush(JComponent container) Called before a container's children are visited.abstract booleanvisit(JComponent component) Visit the component.static voidwalk(VisionContainer container, ComponentVisitor visitor) Walks the provided visitor down component hierarchy starting with the given container.static voidwalk(VisionContainer container, ComponentVisitor visitor, boolean skipVisitRoot) Walks the provided visitor down component hierarchy, optionally starting with the given container.
- 
Field Details- 
LOG
 
- 
- 
Constructor Details- 
ComponentVisitorpublic ComponentVisitor()
 
- 
- 
Method Details- 
visitVisit the component. Return false to not visit beneath this component.
- 
pushCalled before a container's children are visited.
- 
popCalled after a container's children have been visited
- 
walkWalks the provided visitor down component hierarchy starting with the given container.
- 
walkWalks the provided visitor down component hierarchy, optionally starting with the given container.
 
-