Searched defs:directory (Results 26 - 37 of 37) sorted by relevance

12

/openjdk7/jdk/test/javax/swing/JFileChooser/6698013/
H A Dbug6698013.java95 * A Virtual File. Contains a path and a directory flag that
105 private boolean directory; field in class:VirtualFile
107 public VirtualFile(String path, boolean directory) { argument
110 this.directory = directory;
168 return directory;
/openjdk7/jdk/src/share/classes/java/io/
H A DFile.java41 * An abstract representation of file and directory pathnames.
51 * directory, or <code>"\\\\"</code>&nbsp;for a Microsoft Windows UNC pathname, and
55 * The first name in an abstract pathname may be a directory name or, in the
57 * in an abstract pathname denotes a directory; the last name may denote
58 * either a directory or a file. The <em>empty</em> abstract pathname has no
78 * current user directory. This directory is named by the system property
79 * <code>user.dir</code>, and is typically the directory in which the Java
85 * Each directory's absolute pathname is an ancestor of any <tt>File</tt>
86 * object with an absolute abstract pathname which begins with the directory'
1965 createTempFile(String prefix, String suffix, File directory) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DJavacFileManager.java100 /** The standard output directory, primarily used for classes.
102 * If classOutDir = null, files are written into same directory as the sources
107 /** The output directory, used when generating sources while processing annotations.
274 * Insert all files in subdirectory subdirectory of directory directory
277 private void listDirectory(File directory, argument
282 File d = subdirectory.getFile(directory);
297 listDirectory(directory,
345 * container is a directory, a zip file, or a non-existant path.
366 // Not a directory; eithe
[all...]
H A DZipFileIndex.java63 * provided using "-XDcachezipindexdir=<directory>". If this flag is not
191 ZipDirectory directory = new ZipDirectory(zipRandomFile, 0L, totalLength, this);
192 directory.buildIndex();
247 * Returns a javac List of filenames within a directory in the ZipFileIndex.
316 // The top level in a zip file is always a directory.
523 * Reads zip file central directory.
626 RelativeDirectory directory = null;
628 directory = getRelativeDirectory("");
633 directory = lastDir;
641 if (directory
1084 Entry(RelativeDirectory directory, String name) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCFileDialog.java70 String directory = null;
82 directory = files[0].getParent();
83 // make sure directory always ends in '/'
84 if (!directory.endsWith(File.separator)) {
85 directory = directory + File.separator;
93 accessor.setDirectory(target, directory);
152 String directory, String file);
149 nativeRunFileDialog(String title, int mode, boolean multipleMode, boolean shouldNavigateApps, boolean canChooseDirectories, boolean hasFilenameFilter, String directory, String file) argument
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DSynthFileChooserUIImpl.java335 // ******* Add the directory pane ******* //
692 File directory = (File) value;
693 label.setText(getFileChooser().getName(directory));
694 Icon icon = getFileChooser().getIcon(directory);
747 // Add the current directory to the model, and make it the
756 * Adds the directory to the model and sets it to be selected,
757 * additionally clears out the previous selected directory and
760 public void addItem(File directory) { argument
762 if (directory == null) {
791 canonical = ShellFolder.getNormalizedFile(directory);
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicFileChooserUI.java73 * The mnemonic keycode used for the approve button when a directory
87 * The label text displayed on the approve button when a directory
104 * The tooltip text displayed on the approve button when a directory
129 private File directory = null; field in class:BasicFileChooserUI
604 * Property to remember whether a directory is currently selected in the UI.
606 * @return <code>true</code> iff a directory is currently selected.
614 * Property to remember whether a directory is currently selected in the UI.
617 * @param b iff a directory is currently selected.
625 * Property to remember the directory that is currently selected in the UI.
627 * @return the value of the <code>directory</cod
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalFileChooserUI.java356 // ******* Add the directory pane ******* //
818 * Property to remember whether a directory is currently selected in the UI.
821 * @param directorySelected if a directory is currently selected.
841 // PENDING(jeff) - get the name from the directory combobox
846 // PENDING(jeff) - set the name in the directory combobox
868 File directory = (File)value;
869 setText(getFileChooser().getName(directory));
870 Icon icon = getFileChooser().getIcon(directory);
921 // Add the current directory to the model, and make it the
930 * Adds the directory t
934 addItem(File directory) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsFileChooserUI.java375 // ******* Add the directory pane ******* //
887 * Property to remember whether a directory is currently selected in the UI.
890 * @param directorySelected if a directory is currently selected.
908 // PENDING(jeff) - get the name from the directory combobox
913 // PENDING(jeff) - set the name in the directory combobox
994 File directory = (File)value;
995 setText(getFileChooser().getName(directory));
996 Icon icon = getFileChooser().getIcon(directory);
1047 // Add the current directory to the model, and make it the
1056 * Adds the directory t
1060 addItem(File directory) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKFileChooserUI.java1094 // Add the current directory to the model, and make it the
1103 * Adds the directory to the model and sets it to be selected,
1104 * additionally clears out the previous selected directory and
1107 private void addItem(File directory) { argument
1109 if (directory == null) {
1124 canonical = fsv.createFileObject(ShellFolder.getNormalizedFile(directory).getPath());
1127 canonical = directory;
1130 // create File instances of each directory leading up to the top
/openjdk7/jdk/src/share/classes/sun/awt/
H A DAWTAccessor.java514 * Sets the directory the user selects
516 void setDirectory(FileDialog fileDialog, String directory); argument
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaFileChooserUI.java387 // Enable the newFolder action if the current directory
468 // PENDING(jeff) - get the name from the directory combobox
479 // PENDING(jeff) - set the name in the directory combobox
635 // Opens the File object if it's a traversable directory
674 // listens for drag events onto the JFileChooser and sets the selected file or directory
967 * Rescans the files in the current directory
1128 final File directory = (File)value;
1129 if (directory == null) {
1135 setText(chooser.getName(directory));
1136 setIcon(chooser.getIcon(directory));
1182 addItem(final File directory) argument
[all...]

Completed in 102 milliseconds

12