<h2>org.das2.qds.util.ValuesTreeModel</h2><p>provides a TreeModel representation of the dataset's properties.</p> <h2>ValuesTreeModel( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds )</h2> <p></p> <h2>ValuesTreeModel( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> prefix, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds )</h2> <p></p> <hr> <a name="valuesTreeNode"></a> <h2>valuesTreeNode</h2> valuesTreeNode( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> prefix, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/tree/MutableTreeNode.html'>javax.swing.tree.MutableTreeNode</a> aroot, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds, int sizeLimit ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/tree/MutableTreeNode.html'>javax.swing.tree.MutableTreeNode</a> <p>return a tree node for the values of a dataset.</p> <h3>Parameters</h3> prefix - prefix added to the each node, e.g. "value(" <br> aroot - the parent to which the nodes are added. <br> ds - the dataset to represent. <br> sizeLimit - the number of nodes to represent, e.g. 20, and ellipses (...) will represent the values not shown. <h3>Returns:</h3> the node (aroot) is returned. <br><br> <a href="https://github.com/autoplot/dev/search?q=valuesTreeNode&unscoped_q=valuesTreeNode">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/ValuesTreeModel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/ValuesTreeModel.html#valuesTreeNode">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/ValuesTreeModel.java#l232">[view source]</a> <br> <br> <hr> <a name="valuesTreeNode2"></a> <h2>valuesTreeNode2</h2> valuesTreeNode2( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> prefix, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/tree/TreeNode.html'>javax.swing.tree.TreeNode</a> parent, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/qds/QDataSet.html'>QDataSet</a> ds ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/tree/TreeNode.html'>javax.swing.tree.TreeNode</a> <p>The valuesTreeNode implementation that uses MutableTreeNodes cannot scale to very large datasets, since all nodes are created immediately. This implementation only queries the dataset as children are opened, and should eventually allow for exploration of any dataset. This is not used right now in the metadata tab of Autoplot because the root node of the tree is a MutableTreeNode and all children must therefore be MutableTreeNodes.</p> <h3>Parameters</h3> prefix - string prefix, a number of spaces to indent <br> parent - the parent node <br> ds - the dataset source of the values. <h3>Returns:</h3> the tree node <br><br> <a href="https://github.com/autoplot/dev/search?q=valuesTreeNode2&unscoped_q=valuesTreeNode2">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/qds/util/ValuesTreeModel.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/qds/util/ValuesTreeModel.html#valuesTreeNode2">[view on old javadoc]</a> <a href="https://sourceforge.net/p/autoplot/code/HEAD/tree/autoplot/trunk/QDataSet/src/org/das2/qds/util/ValuesTreeModel.java#l64">[view source]</a> <br> <br>