| sun.awt.shell.Win32ShellFolderManager2
Win32ShellFolderManager2 | public class Win32ShellFolderManager2 extends ShellFolderManager (Code) | | author: Michael Martak author: Leif Samuelsson author: Kenneth Russell since: 1.4 |
get | public Object get(String key)(Code) | | Parameters: key - a String "fileChooserDefaultFolder":Returns a File - the default shellfolder for a new filechooser"roots":Returns a File[] - containing the root(s) of the displayable hierarchy"fileChooserComboBoxFolders":Returns a File[] - an array of shellfolders representing the list toshow by default in the file chooser's combobox"fileChooserShortcutPanelFolders":Returns a File[] - an array of shellfolders representing well-knownfolders, such as Desktop, Documents, History, Network, Home, etc.This is used in the shortcut panel of the filechooser on Windows 2000and Windows Me."fileChooserIcon nn":Returns an Image - icon nn from resource 216 in shell32.dll,or if not found there from resource 124 in comctl32.dll (Windows only)."optionPaneIcon iconName":Returns an Image - icon from the system icon list An Object matching the key string. |
isComputerNode | public boolean isComputerNode(File dir)(Code) | | Does dir represent a "computer" such as a node on the network, or
"My Computer" on the desktop.
|
isFileSystemRoot | public boolean isFileSystemRoot(File dir)(Code) | | |
|
|