|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mucommander.file.AbstractFile
com.mucommander.file.impl.ProxyFile
com.mucommander.ui.main.tree.CachedDirectory
public class CachedDirectory
A class that holds cached children of a directory.
| Field Summary |
|---|
| Fields inherited from class com.mucommander.file.impl.ProxyFile |
|---|
file |
| Fields inherited from class com.mucommander.file.AbstractFile |
|---|
DEFAULT_SEPARATOR, fileURL, IO_BUFFER_SIZE, MUST_HINT, MUST_NOT_HINT, SHOULD_HINT, SHOULD_NOT_HINT, windowsDriveRootPattern |
| Fields inherited from interface com.mucommander.file.PermissionTypes |
|---|
EXECUTE_PERMISSION, READ_PERMISSION, WRITE_PERMISSION |
| Fields inherited from interface com.mucommander.file.PermissionAccesses |
|---|
GROUP_ACCESS, OTHER_ACCESS, USER_ACCESS |
| Constructor Summary | |
|---|---|
CachedDirectory(AbstractFile directory,
DirectoryCache cache)
Creates a new instance. |
|
| Method Summary | |
|---|---|
AbstractFile[] |
get()
Gets cached children. |
javax.swing.Icon |
getCachedIcon()
Gets a cached icon for this folder. |
boolean |
isCached()
Checks if this directory is already cached. |
boolean |
isReadingChildren()
Returns true if caching thread is running. |
void |
setCachedIcon(javax.swing.Icon cachedIcon)
Sets a cached icon for this folder. |
| Methods inherited from class com.mucommander.file.AbstractFile |
|---|
addTrailingSeparator, calculateChecksum, calculateChecksum, calculateChecksum, changePermissions, checkCopyPrerequisites, copyRecursively, deleteRecursively, getAbsolutePath, getAncestor, getAncestor, getCanonicalPath, getChild, getDirectChild, getExtension, getIcon, getIcon, getNameWithoutExtension, getParentArchive, getParentSilently, getTopAncestor, hasAncestor, hasAncestor, isParentOf, mkdir, mkdirs, mkfile, removeTrailingSeparator |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CachedDirectory(AbstractFile directory,
DirectoryCache cache)
directory - a directory to cache| Method Detail |
|---|
public boolean isCached()
public boolean isReadingChildren()
public AbstractFile[] get()
public javax.swing.Icon getCachedIcon()
public void setCachedIcon(javax.swing.Icon cachedIcon)
cachedIcon - a cached icon
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard