com.jgoodies.jdiskreport.model.node
Class FileNode

java.lang.Object
  extended by com.jgoodies.jdiskreport.model.node.AbstractNode
      extended by com.jgoodies.jdiskreport.model.node.FileNode

public final class FileNode
extends AbstractNode

A node for files, not directories.

Version:
$Revision: 1.10 $
Author:
Karsten Lentzsch

Constructor Summary
FileNode(FileInfo fileInfo)
          Constructs a FileNode for its associated FileInfo.
 
Method Summary
 long getFileCount()
           
 Icon getIcon(boolean selected)
           
 long getLastModified()
           
 String getName()
           
 long getSize()
           
 String getSuffix()
           
 boolean isFileLeaf()
           
 
Methods inherited from class com.jgoodies.jdiskreport.model.node.AbstractNode
clearCachedFiles, getAbsoluteSize, getFile, getParent, getRelativeSize, getRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileNode

public FileNode(FileInfo fileInfo)
Constructs a FileNode for its associated FileInfo.

Method Detail

getName

public String getName()
Specified by:
getName in class AbstractNode

isFileLeaf

public boolean isFileLeaf()
Specified by:
isFileLeaf in class AbstractNode

getSize

public long getSize()
Specified by:
getSize in class AbstractNode

getFileCount

public long getFileCount()
Specified by:
getFileCount in class AbstractNode

getLastModified

public long getLastModified()

getIcon

public Icon getIcon(boolean selected)
Overrides:
getIcon in class AbstractNode

getSuffix

public String getSuffix()


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.