|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.chart.AbstractTreeChartModel<AbstractNode>
com.jgoodies.jdiskreport.model.node.FileTreeChartModel
public final class FileTreeChartModel
A TreeChartModel build from nodes of a file tree.
Constructor Summary | |
---|---|
FileTreeChartModel(DirectoryNode root,
GUISettings.SortMode sortMode,
GUISettings.SizeMode sizeMode,
boolean showFiles)
|
Method Summary | |
---|---|
AbstractNode |
getChild(AbstractNode node,
int index)
|
int |
getChildCount(AbstractNode node)
Returns the number of children of the given node. |
DirectoryNode |
getRoot()
Returns this tree's root node. |
long |
getSize(AbstractNode node)
Returns the mandatory size of the given node. |
boolean |
isLeaf(AbstractNode node)
Used to determine how to color the node in a tree map. |
Methods inherited from class com.jgoodies.chart.AbstractTreeChartModel |
---|
addChangeListener, fireStateChanged, removeChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileTreeChartModel(DirectoryNode root, GUISettings.SortMode sortMode, GUISettings.SizeMode sizeMode, boolean showFiles)
Method Detail |
---|
public DirectoryNode getRoot()
TreeChartModel
public int getChildCount(AbstractNode node)
public AbstractNode getChild(AbstractNode node, int index)
public long getSize(AbstractNode node)
public boolean isLeaf(AbstractNode node)
TreeChartModel
node
- the node to be checked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |