Class DefaultControlSelectionFilter

    • Method Detail

      • apply

        @NonNull
        public org.apache.commons.lang3.tuple.Pair<Boolean,​Booleanapply​(IControl control)
        Description copied from interface: IControlSelectionFilter
        Determines if the control is matched by this filter. This method returns a Pair where the first member of the pair indicates if the control matches, and the second indicates if the match applies to child controls as well.
        Specified by:
        apply in interface Function<IControl,​org.apache.commons.lang3.tuple.Pair<Boolean,​Boolean>>
        Specified by:
        apply in interface IControlSelectionFilter
        Parameters:
        control - the control to check for a match
        Returns:
        a pair indicating the status of the match (true for a match or false otherwise), and if a match applies to child controls
      • match

        @NonNull
        protected org.apache.commons.lang3.tuple.Pair<Boolean,​Booleanmatch​(String id)
        Checks if the provided control identifier matches the criteria defined by this object.
        Parameters:
        id - the control identifier to match
        Returns:
        a Pair whose first member is true for a match or false otherwise, and whose second member is true if the match applies to any child controls or false otherwise