public class TreeTextFile extends Tree implements TreeProvider
Constructor and Description |
---|
TreeTextFile(java.lang.String name) |
TreeTextFile(java.lang.String name,
int type) |
TreeTextFile(java.lang.String name,
java.lang.String filename,
int columns) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DataVector> |
actionTreeNode(javax.swing.tree.TreePath[] path,
int limit) |
int |
getEntries() |
double[] |
getRow() |
javax.swing.tree.TreeModel |
getTreeModel() |
void |
initBranches(java.lang.String[] names) |
static void |
main(java.lang.String[] args) |
void |
openFile() |
int |
readEntry(int entry) |
void |
readFile(java.lang.String filename) |
void |
readFile(java.lang.String filename,
java.lang.String separator) |
boolean |
readNext() |
void |
reset() |
void |
setSource(java.lang.String filename) |
Tree |
tree() |
javax.swing.JDialog |
treeConfigure() |
addBranch, addBranch, configure, getBranch, getBranchData, getBranches, getDataVector, getDataVector, getDynamicTree, getListOfBranches, getName, getRootNode, getScanResults, getSelector, getTreeIcons, hasBranch, initTreeIcons, print, resetBranches, scanTree, setBranchData, show, toString
public TreeTextFile(java.lang.String name)
public TreeTextFile(java.lang.String name, int type)
public TreeTextFile(java.lang.String name, java.lang.String filename, int columns)
public void readFile(java.lang.String filename)
public void readFile(java.lang.String filename, java.lang.String separator)
public void initBranches(java.lang.String[] names)
public double[] getRow()
public boolean readNext()
public void openFile()
public int getEntries()
getEntries
in interface ITree
getEntries
in class Tree
public int readEntry(int entry)
public javax.swing.tree.TreeModel getTreeModel()
getTreeModel
in interface TreeProvider
public java.util.List<DataVector> actionTreeNode(javax.swing.tree.TreePath[] path, int limit)
actionTreeNode
in interface TreeProvider
public void setSource(java.lang.String filename)
setSource
in interface TreeProvider
public javax.swing.JDialog treeConfigure()
treeConfigure
in interface TreeProvider
public Tree tree()
tree
in interface TreeProvider
public static void main(java.lang.String[] args)
JHepSim. A part of HSTOOLS. version-1.2