Lines Matching defs:filter
62 FilenameFilter filter;
148 this.filter = target.getFilenameFilter();
496 if (filter != null) {
497 if (filter.accept(new File(l[i]),l[i])) fileList.addItem(l[i]);
774 public void setFilenameFilter(FilenameFilter filter) {
775 this.filter = filter;
911 * Motif file dialogs let the user specify a filter that controls the files that
912 * are displayed in the dialog. This filter is generally specified as a regular
917 String filter;
920 filter = f;
933 return matches(fileName, filter);
938 * Tells whether or not the input string matches the given filter
940 private boolean matches(String input, String filter) {
941 String regex = convert(filter);
946 * Converts the filter into the form which is acceptable by Java's regexps
948 private String convert(String filter) {
949 String regex = "^" + filter + "$";