Lines Matching defs:dir
555 * @param dir the current directory to point to
558 public void setCurrentDirectory(File dir) {
561 if (dir != null && !dir.exists()) {
562 dir = currentDirectory;
564 if (dir == null) {
565 dir = getFileSystemView().getDefaultDirectory();
569 if (this.currentDirectory.equals(dir)) {
575 while (!isTraversable(dir) && prev != dir) {
576 prev = dir;
577 dir = getFileSystemView().getParentDirectory(dir);
579 currentDirectory = dir;