本文整理了Java中javax.swing.JFileChooser.isFileHidingEnabled()
方法的一些代码示例,展示了JFileChooser.isFileHidingEnabled()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JFileChooser.isFileHidingEnabled()
方法的具体详情如下:
包路径:javax.swing.JFileChooser
类名称:JFileChooser
方法名:isFileHidingEnabled
暂无
代码示例来源:origin: org.gephi/directory-chooser
File[] files = chooser.getFileSystemView().getFiles(directory, chooser.isFileHidingEnabled());
int mode = chooser.getFileSelectionMode();
if (mode == JFileChooser.DIRECTORIES_ONLY) {
代码示例来源:origin: com.l2fprod.common/l2fprod-common-directorychooser
private FileTreeNode[] getChildren() {
File[] files =
chooser.getFileSystemView().getFiles(
getFile(),
chooser.isFileHidingEnabled());
ArrayList nodes = new ArrayList();
// keep only directories, no "file" in the tree.
if (files != null) {
for (int i = 0, c = files.length; i < c; i++) {
if (files[i].isDirectory()) {
nodes.add(new FileTreeNode(files[i]));
}
}
}
// sort directories, FileTreeNode implements Comparable
FileTreeNode[] result = (FileTreeNode[])nodes
.toArray(new FileTreeNode[0]);
Arrays.sort(result);
return result;
}
代码示例来源:origin: net.sf.tinylaf/tinylaf
.isFileHidingEnabled());
内容来源于网络,如有侵权,请联系作者删除!