Uses of Class
ca.corbett.extras.dirtree.DirTree
Packages that use DirTree
Package
Description
Contains the DirTree component, which is handy for showing a view
onto a file system.
-
Uses of DirTree in ca.corbett.extras.dirtree
Methods in ca.corbett.extras.dirtree that return DirTreeModifier and TypeMethodDescriptionDirTree.addDirTreeListener(DirTreeListener listener) Registers a DirTreeListener with this DirTree.static DirTreeDirTree.createDirTree()Deprecated, for removal: This API element is subject to removal in a future version.Use the constructor instead.static DirTreeDirTree.createDirTree(File dir) Deprecated, for removal: This API element is subject to removal in a future version.Use the constructor instead.DirTree.removeDirTreeListener(DirTreeListener listener) Unregisters a DirTreeListener from this instance.DirTree.setAllowLock(boolean allow) Enables or disables locking within this DirTree (chrooting).DirTree.setAllowUnlock(boolean allow) Enables or disables unlocking within this DirTree (chrooting).DirTree.setFileFilter(FileFilter fileFilter) Sets an optional FileFilter to restrict which files are shown in the tree.DirTree.setShowFiles(boolean showFiles) Controls whether files are shown in this DirTree.DirTree.setShowHidden(boolean showHidden) Controls whether hidden items (directories and files) are shown in this DirTree.DirTree.setShowHiddenDirs(boolean showHiddenDirs) Deprecated.UsesetShowHidden(boolean)instead.DirTree.setTreeCellRenderer(TreeCellRenderer renderer) Allow setting a customTreeCellRendereron the underlyingJTree.Methods in ca.corbett.extras.dirtree with parameters of type DirTreeModifier and TypeMethodDescriptionstatic DirTreePopupMenuDirTreePopupMenu.createPopup(DirTree dirTree) Creates an empty popup menu and associates it with the given DirTree.voidDirTreeAdapter.fileDoubleClicked(DirTree source, File file) voidDirTreeListener.fileDoubleClicked(DirTree source, File file) Fired when a file node is double-clicked within the DirTree.voidDirTreeAdapter.selectionChanged(DirTree source, File selectedDir) voidDirTreeListener.selectionChanged(DirTree source, File selectedDir) Fired when a directory is selected within the DirTree.booleanDirTreeAdapter.selectionWillChange(DirTree source, File newSelectedDir) booleanDirTreeListener.selectionWillChange(DirTree source, File newSelectedDir) Invoked before a selection change occurs within the DirTree.voidDirTreeAdapter.showHiddenFilesChanged(DirTree source, boolean showHiddenFiles) voidDirTreeListener.showHiddenFilesChanged(DirTree source, boolean showHiddenFiles) Fired when the "show hidden files" setting is changed.voidDirTreeAdapter.treeLocked(DirTree source, File lockDir) voidDirTreeListener.treeLocked(DirTree source, File lockDir) Fired when a DirTree instance is locked to a specific subdirectory (like chroot).voidDirTreeAdapter.treeUnlocked(DirTree source) voidDirTreeListener.treeUnlocked(DirTree source) Fired when a DirTree instance is unlocked, and will now show all directories.