Searched refs:paths (Results 1 - 25 of 37) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DTreeSelectionEvent.java33 * selection. The change is based on any number of paths.
55 protected TreePath[] paths; field in class:TreeSelectionEvent
58 /** leadSelectionPath before the paths changed, may be null. */
60 /** leadSelectionPath after the paths changed, may be null. */
65 * paths identifies the paths that have been either added or
69 * @param paths the paths that have changed in the selection
71 public TreeSelectionEvent(Object source, TreePath[] paths, argument
76 this.paths
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSingleLeafTreeSelectionModel.java56 public void setSelectionPaths(TreePath[] paths) { argument
59 if(((TreeNode)(paths[0].getLastPathComponent())).isLeaf()) {
60 super.setSelectionPaths(paths);
72 public void addSelectionPaths(TreePath[] paths) { argument
75 if(((TreeNode)(paths[0].getLastPathComponent())).isLeaf()) {
76 super.addSelectionPaths(paths);
/openjdk7/jdk/test/sun/rmi/rmic/classpath/
H A DRMICClassPathTest.java49 String[] paths = cpStr.split(File.pathSeparator);
51 if (paths.length != 4) {
52 throw new Exception("ClassPath length is not correct: the expected length is 4 and the actual length is " + paths.length);
/openjdk7/jdk/test/sun/security/krb5/
H A DParseCAPaths.java74 static void check(String from, String to, String... paths) { argument
76 check2(from, to, paths);
82 static void check2(String from, String to, String... paths) argument
85 System.out.println(" expected: " + Arrays.toString(paths));
89 if (paths.length == 0) {
94 } else if(result.length != paths.length) {
98 if (!result[i].equals(paths[i])) {
/openjdk7/hotspot/src/os/windows/vm/
H A Ddecoder_windows.cpp74 // set pdb search paths
80 char paths[MAX_PATH]; local
81 int len = sizeof(paths);
82 if (!_pfn_SymGetSearchPath(hProcess, paths, len)) {
83 paths[0] = '\0';
86 len -= (int)strlen(paths);
102 strncat(paths, os::path_separator(), 1);
103 strncat(paths, tmp_path, dwSize);
114 strncat(paths, os::path_separator(), 1);
115 strncat(paths,
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreeSelectionModel.java50 * continguous paths (<code>CONTIGUOUS_TREE_SELECTION</code>) or a number of
51 * discontiguous paths (<code>DISCONTIGUOUS_TREE_SELECTION</code>).
56 * allow any number of paths to be contained in the TreeSelectionModel.
61 * time the paths are changed (<code>setSelectionPath</code>,
73 * TreePath[] paths = new TreePath[] { treePath, treePath };
74 * treeSelectionModel.setSelectionPaths(paths);
134 * the TreeSelectionListeners are notified. If <code>paths</code> is
137 * @param paths new selection
139 void setSelectionPaths(TreePath[] paths); argument
151 * Adds paths t
158 addSelectionPaths(TreePath[] paths) argument
177 removeSelectionPaths(TreePath[] paths) argument
[all...]
H A DAbstractLayoutCache.java229 Enumeration paths = getVisiblePathsFrom(firstPath);
231 if(paths != null && paths.hasMoreElements()) {
232 Rectangle pBounds = getBounds((TreePath)paths.nextElement(),
244 while (pBounds != null && paths.hasMoreElements()) {
245 pBounds = getBounds((TreePath)paths.nextElement(),
315 * paths starting at the passed in location. The ordering of the
316 * enumeration is based on how the paths are displayed.
446 * @param paths the array of <code>TreePath</code>s being queried
449 * <code>TreePath</code> is displayed; if <code>paths</cod
452 getRowsForPaths(TreePath[] paths) argument
[all...]
H A DDefaultTreeSelectionModel.java43 * the paths in the selection change, not the rows. In order
47 * the selected paths. If you subclass any of these methods to
98 /** Used to make sure the paths are unique, will contain all the paths
192 * Sets the selection. Whether the supplied paths are taken as the
197 * mode is {@code CONTIGUOUS_TREE_SELECTION} and the supplied paths
200 * {@code DISCONTIGUOUS_TREE_SELECTION}, then all paths are used.
202 * All {@code null} paths in {@code pPaths} are ignored.
209 * The paths returned from {@code getSelectionPaths} are in the same
216 TreePath[] paths
328 addSelectionPaths(TreePath[] paths) argument
443 removeSelectionPaths(TreePath[] paths) argument
923 arePathsContiguous(TreePath[] paths) argument
971 canPathsBeAdded(TreePath[] paths) argument
1022 canPathsBeRemoved(TreePath[] paths) argument
[all...]
H A DFixedHeightLayoutCache.java269 * Returns an Enumerator that increments over the visible paths
271 * is based on how the paths are displayed.
697 // Check all the parent paths, until a match is found.
698 Stack<TreePath> paths;
701 paths = new Stack<TreePath>();
704 paths = tempStacks.pop();
708 paths.push(path);
714 // Found a match, create entries for all paths in
715 // paths.
716 while(node != null && paths
[all...]
H A DVariableHeightLayoutCache.java336 * Returns an <code>Enumerator</code> that increments over the visible paths
338 * is based on how the paths are displayed.
342 * paths
826 // Check all the parent paths, until a match is found.
827 Stack<TreePath> paths;
830 paths = new Stack<TreePath>();
833 paths = tempStacks.pop();
837 paths.push(path);
843 // Found a match, create entries for all paths in
844 // paths
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DArguments.java232 String paths = props.getProperty ("includes");
233 if (paths != null)
236 int end = -separator.length (); // so the first pass paths == original paths
239 paths = paths.substring (end + separator.length ());
240 end = paths.indexOf (separator);
242 end = paths.length ();
243 includePaths.addElement (paths.substring (0, end));
245 while (end != paths
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/nio/
H A DPathFileManager.java51 * Get the default file system used to create paths. If no value has been
57 * Set the default file system used to create paths.
58 * @param fs the default file system used to create any new paths.
65 * @param paths a list of paths
67 * @throws IllegalArgumentException if the list of paths includes
71 Iterable<? extends Path> paths);
74 * Get file objects representing the given paths.
78 * getJavaFileObjectsFromPaths({@linkplain java.util.Arrays#asList Arrays.asList}(paths))
81 * @param paths a
70 getJavaFileObjectsFromPaths( Iterable<? extends Path> paths) argument
88 getJavaFileObjects(Path... paths) argument
[all...]
H A DPathFileObject.java76 String inferBinaryName(Iterable<? extends Path> paths) {
90 String inferBinaryName(Iterable<? extends Path> paths) {
104 String inferBinaryName(Iterable<? extends Path> paths) {
118 String inferBinaryName(Iterable<? extends Path> paths) {
120 for (Path p: paths) {
144 abstract String inferBinaryName(Iterable<? extends Path> paths); argument
H A DJavacPathFileManager.java101 * "source path", etc, are generically referred to here as "search paths".
197 Iterable<? extends Path> paths = getLocation(location);
198 return (paths == null ? null : paths.iterator().next());
312 Iterable<? extends Path> paths = getLocation(location);
313 if (paths == null)
317 for (Path path : paths)
398 Iterable<? extends Path> paths) {
400 if (paths instanceof Collection<?>)
401 result = new ArrayList<PathFileObject>(((Collection<?>)paths)
397 getJavaFileObjectsFromPaths( Iterable<? extends Path> paths) argument
410 getJavaFileObjects(Path... paths) argument
[all...]
/openjdk7/langtools/test/tools/javac/api/
H A DT6838467.java68 String[] paths = { "p/A.java", "p/B.java", "p/C.java" }; field in class:T6838467
82 createTestDir(new File("dir"), paths);
83 createTestDir(new File("not_dir"), paths);
84 createTestZip(new File("zip"), paths);
85 createTestZip(new File("not_zip"), paths);
87 createTestDir(new File("DIR"), paths);
88 createTestZip(new File("ZIP"), paths);
126 int expect = (f1.getAbsoluteFile().equals(f2.getAbsoluteFile()) ? paths.length : 0);
188 // create a directory containing a given set of paths
189 void createTestDir(File dir, String[] paths) throw argument
203 createTestZip(File zip, String[] paths) argument
[all...]
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleTree.java461 // of the paths that are going to be removed. They will
464 // 4 - continue until selected contains only null paths.
473 * located in <code>paths</code>.
475 private void removeSiblings(TreePath path, TreePath[] paths) { argument
479 for (int counter = paths.length - 1; counter >= 0; counter--) {
480 paths[counter] = null;
490 // First pass, find paths with a parent TreePath of parent
491 for (int counter = paths.length - 1; counter >= 0; counter--) {
492 if (paths[counter] != null && paths[counte
538 findShallowestPath(TreePath[] paths) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DSALauncherLoader.java40 * class loader loads classes paths specified paths using the System property
136 File[] paths = new File[tmp.length];
137 for (int i = 0; i < paths.length; i++) {
138 paths[i] = new File(tmp[i].equals("")? "." : tmp[i]);
140 return paths;
/openjdk7/langtools/test/tools/javac/6917288/
H A DGraphicalInstallerTest.java82 void check(File dir, String... paths) { argument
84 Set<String> expect = new TreeSet<String>(Arrays.asList(paths));
H A DT6917288.java96 void check(File dir, String... paths) { argument
98 Set<String> expect = new TreeSet<String>(Arrays.asList(paths));
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DClassPath.java75 private PathEntry[] paths; field in class:ClassPath
108 paths = new PathEntry[vec.size()];
109 vec.toArray(paths);
240 for(int i=0; i < paths.length; i++) {
243 if((cf = paths[i].getClassFile(name, suffix)) != null)
/openjdk7/hotspot/agent/make/
H A DClosureFinder.java69 List paths = new ArrayList();
72 paths.add(st.nextToken());
74 Object[] arr = paths.toArray();
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTree.java188 * paths and seeing if they are visible.
297 * True if paths in the selection should be expanded.
490 /** Bound property name for expands selected paths property
1148 * This is useful if you wish to have your selection model maintain paths
1436 TreePath[] paths = getSelectionPaths();
1437 if (paths == null) {
1438 paths = new TreePath[0];
1441 retVal = new TreePath[][] {paths,
1635 * Selects the nodes identified by the specified array of paths.
1636 * If any component in any of the paths i
1643 setSelectionPaths(TreePath[] paths) argument
1754 addSelectionPaths(TreePath[] paths) argument
2619 removeSelectionPaths(TreePath[] paths) argument
3267 setSelectionPaths(TreePath[] paths) argument
3275 addSelectionPaths(TreePath[] paths) argument
3283 removeSelectionPaths(TreePath[] paths) argument
[all...]
/openjdk7/make/scripts/
H A Dhgforest.sh45 pull_default=`hg paths default`
47 echo "ERROR: Need initial clone with 'hg paths default' defined"
/openjdk7/jdk/src/share/instrument/
H A DInvocationAdapter.c519 splitPathList(const char* str, int* pathCount, char*** paths) { argument
543 *paths = segments;
701 char **paths; local
709 splitPathList(pathList, &count, &paths);
722 path = strdup(paths[i]);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DJavacFileManager.java86 /** Encapsulates knowledge of paths
88 private Paths paths; field in class:JavacFileManager
157 if (paths == null) {
158 paths = Paths.instance(context);
162 paths.setContext(context);
182 return paths.isDefaultBootClassPath();
496 if (!ignoreSymbolFile && paths.isDefaultBootClassPathRtJar(zipFileName)) {
783 Iterable<? extends File> path = paths.getPathForLocation(location);
818 paths.lazy();
827 paths
[all...]

Completed in 493 milliseconds

12