Class DialogOperator.DialogByTitleFinder

    • Constructor Detail

      • DialogByTitleFinder

        public DialogByTitleFinder​(String t,
                                   Operator.StringComparator comparator)
        Constructs DialogByTitleFinder.
        Parameters:
        t - a text pattern
        comparator - specifies string comparision algorithm.
      • DialogByTitleFinder

        public DialogByTitleFinder​(String t)
        Constructs DialogByTitleFinder.
        Parameters:
        t - a text pattern
    • Method Detail

      • checkComponent

        public boolean checkComponent​(Component comp)
        Description copied from interface: ComponentChooser
        Check if the component argument meets the search criteria.
        Specified by:
        checkComponent in interface ComponentChooser
        Parameters:
        comp - Component to check.
        Returns:
        true when the component conforms to the search criteria; false otherwise.