public class FileTreeIcon
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static int |
getFileType(java.lang.String fileName)
Gets file type according to file name.
|
static javax.swing.Icon |
getFolderHalfImageIcon() |
static javax.swing.Icon |
getIcon(java.io.File file) |
static javax.swing.Icon |
getIcon(java.io.File file,
boolean isLocked) |
static javax.swing.Icon |
getIcon(FileNode node)
获取文件节点对应的图标
|
static javax.swing.Icon |
getIcon(FileNode node,
boolean isShowLock) |
public static final javax.swing.Icon BLANK_IMAGE_ICON
public static final javax.swing.Icon FOLDER_IMAGE_ICON
public static final javax.swing.Icon FOLDER_HALF_IMAGE_ICON
public static final javax.swing.Icon FILE_IMAGE_ICON
public static final javax.swing.Icon JAVA_FILE_IMAGE_ICON
public static final javax.swing.Icon CLASS_FILE_IMAGE_ICON
public static final javax.swing.Icon JSP_FILE_IMAGE_ICON
public static final javax.swing.Icon JS_FILE_IMAGE_ICON
public static final javax.swing.Icon XML_FILE_IMAGE_ICON
public static final javax.swing.Icon HTML_FILE_IMAGE_ICON
public static final javax.swing.Icon JAR_FILE_IMAGE_ICON
public static final javax.swing.Icon GIF_FILE_IMAGE_ICON
public static final javax.swing.Icon JPG_FILE_IMAGE_ICON
public static final javax.swing.Icon BMP_FILE_IMAGE_ICON
public static final javax.swing.Icon CPT_FILE_IMAGE_ICON
public static final javax.swing.Icon FRM_FILE_IMAGE_ICON
public static final javax.swing.Icon CHT_FILE_IMAGE_ICON
public static final javax.swing.Icon MODERN_CPT_FILE_IMAGE_ICON
public static final javax.swing.Icon MODERN_FRM_FILE_IMAGE_ICON
public static final javax.swing.Icon MODERN_CHT_FILE_IMAGE_ICON
public static final LockIcon FOLDER_LOCK_ICON
public static final LockIcon FILE_LOCK_ICON
public static final LockIcon JAVA_FILE_LOCK_ICON
public static final LockIcon CLASS_FILE_LOCK_ICON
public static final LockIcon JSP_FILE_LOCK_ICON
public static final LockIcon ANT_FILE_LOCK_ICON
public static final LockIcon JS_FILE_LOCK_ICON
public static final LockIcon XML_FILE_LOCK_ICON
public static final LockIcon HTML_FILE_LOCK_ICON
public static final LockIcon JAR_FILE_LOCK_ICON
public static final LockIcon GIF_FILE_LOCK_ICON
public static final LockIcon JPG_FILE_LOCK_ICON
public static final LockIcon BMP_FILE_LOCK_ICON
public static final LockIcon CPT_FILE_LOCK_ICON
public static final LockIcon FRM_FILE_LOCK_ICON
public static final LockIcon CHT_FILE_LOCK_ICON
public static final java.lang.String[] DEFAULT_ANT_FILE_TYPES
public static final java.lang.String[] DEFAULT_JAVA_FILE_TYPES
public static final java.lang.String[] DEFAULT_CLASS_FILE_TYPES
public static final java.lang.String[] DEFAULT_JSP_FILE_TYPES
public static final java.lang.String[] DEFAULT_HTML_FILE_TYPES
public static final java.lang.String[] DEFAULT_JS_FILE_TYPES
public static final java.lang.String[] DEFAULT_XML_FILE_TYPES
public static final java.lang.String[] DEFAULT_TEXT_FILE_TYPES
public static final int JAVA_FILE
public static final int JSP_FILE
public static final int HTML_FILE
public static final int JS_FILE
public static final int XML_FILE
public static final int TEXT_FILE
public static final int CLASS_FILE
public static final int ZIP_FILE
public static final int GIF_FILE
public static final int JPG_FILE
public static final int BMP_FILE
public static final int CPT_FILE
public static final int FRM_FILE
public static final int CHT_FILE
public static javax.swing.Icon getIcon(java.io.File file)
public static javax.swing.Icon getIcon(java.io.File file, boolean isLocked)
public static javax.swing.Icon getFolderHalfImageIcon()
public static javax.swing.Icon getIcon(FileNode node)
node
- 文件节点public static javax.swing.Icon getIcon(FileNode node, boolean isShowLock)
public static int getFileType(java.lang.String fileName)