Class ComponentVisitor

    • Field Detail

      • LOG

        protected static final LoggerEx LOG
    • Constructor Detail

      • ComponentVisitor

        public ComponentVisitor()
    • Method Detail

      • visit

        public abstract boolean visit​(javax.swing.JComponent component)
        Visit the component. Return false to not visit beneath this component.
      • push

        public void push​(javax.swing.JComponent container)
        Called before a container's children are visited.
      • pop

        public void pop​(javax.swing.JComponent container)
        Called after a container's children have been visited
      • walk

        public static void walk​(VisionContainer container,
                                ComponentVisitor visitor)
        Walks the provided visitor down component hierarchy starting with the given container.
      • walk

        public static void walk​(VisionContainer container,
                                ComponentVisitor visitor,
                                boolean skipVisitRoot)
        Walks the provided visitor down component hierarchy, optionally starting with the given container.