com.jgoodies.jdiskreport.model.statistic
Class AbstractDistribution
java.lang.Object
com.jgoodies.jdiskreport.model.statistic.AbstractDistribution
public abstract class AbstractDistribution
- extends Object
An abstract superclass for the size and modified distributions.
These information are redundant and can be computed
from the domain tree of directories and file infos.
- Version:
- $Revision: 1.10 $
- Author:
- Karsten Lentzsch
Constructor Summary |
protected |
AbstractDistribution()
Constructs an empty distribution with sizes and counts set to 0. |
AbstractDistribution
protected AbstractDistribution()
- Constructs an empty distribution with sizes and counts set to 0.
getTableModel
public final TableModel getTableModel()
- Lazily creates and returns a table model for this size distribution.
- Returns:
- a TableModel that represents this SizeDistribution
getRowCount
protected abstract int getRowCount()
add
protected abstract void add(FileNode fileNode)
add
protected final void add(int rowIndex,
long size,
long count)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.