<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:57:29 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JTree.DynamicUtilTreeNode
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/JTree.DynamicUtilTreeNode.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/JTree.AccessibleJTree.AccessibleJTreeNode.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JTree.EmptySelectionModel.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JTree.DynamicUtilTreeNode.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing</FONT>
<BR>
Class  JTree.DynamicUtilTreeNode</H2>
<PRE>
java.lang.Object
  |
  +--<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">javax.swing.tree.DefaultMutableTreeNode</A>
        |
        +--<B>javax.swing.JTree.DynamicUtilTreeNode</B>
</PRE>
<HR>
<DL>
<DT>public static class <B>JTree.DynamicUtilTreeNode</B><DT>extends <A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A></DL>

<P>
DynamicUtilTreeNode can wrap vectors/hashtables/arrays/strings and
 create the appropriate children tree nodes as necessary. It is
 dynamic in that it'll only create the children as necessary.
 <p>
 <strong>Warning:</strong>
 Serialized objects of this class will not be compatible with
 future Swing releases.  The current serialization support is appropriate
 for short term storage or RMI between applications running the same
 version of Swing.  A future release of Swing will provide support for
 long term persistence.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../serialized-form.html#javax.swing.JTree.DynamicUtilTreeNode">Serialized Form</A></DL>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#childValue">childValue</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Value to create children with.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#hasChildren">hasChildren</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#loadedChildren">loadedChildren</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.swing.tree.DefaultMutableTreeNode"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.tree.<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#allowsChildren">allowsChildren</A>,  
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#children">children</A>,  
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#EMPTY_ENUMERATION">EMPTY_ENUMERATION</A>,  
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#parent">parent</A>,  
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#userObject">userObject</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#JTree.DynamicUtilTreeNode(java.lang.Object, java.lang.Object)">JTree.DynamicUtilTreeNode</A></B>(java.lang.Object&nbsp;value,
                          java.lang.Object&nbsp;children)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a node with the specified object as its value and
 with the specified children.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#children()">children</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclassed to load the children, if necessary.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#createChildren(javax.swing.tree.DefaultMutableTreeNode, java.lang.Object)">createChildren</A></B>(<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A>&nbsp;parent,
               java.lang.Object&nbsp;children)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds to parent all the children in <code>children</code>.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/tree/TreeNode.html">TreeNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#getChildAt(int)">getChildAt</A></B>(int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subclassed to load the children, if necessary.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#getChildCount()">getChildCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of child nodes.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#isLeaf()">isLeaf</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this node allows children.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTree.DynamicUtilTreeNode.html#loadChildren()">loadChildren</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads the children based on childValue.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.tree.DefaultMutableTreeNode"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.tree.<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#add(javax.swing.tree.MutableTreeNode)">add</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#breadthFirstEnumeration()">breadthFirstEnumeration</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#clone()">clone</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#depthFirstEnumeration()">depthFirstEnumeration</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getAllowsChildren()">getAllowsChildren</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getChildAfter(javax.swing.tree.TreeNode)">getChildAfter</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getChildBefore(javax.swing.tree.TreeNode)">getChildBefore</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getDepth()">getDepth</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getFirstChild()">getFirstChild</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getFirstLeaf()">getFirstLeaf</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getIndex(javax.swing.tree.TreeNode)">getIndex</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getLastChild()">getLastChild</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getLastLeaf()">getLastLeaf</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getLeafCount()">getLeafCount</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getLevel()">getLevel</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getNextLeaf()">getNextLeaf</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getNextNode()">getNextNode</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getNextSibling()">getNextSibling</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getParent()">getParent</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getPath()">getPath</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getPathToRoot(javax.swing.tree.TreeNode, int)">getPathToRoot</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getPreviousLeaf()">getPreviousLeaf</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getPreviousNode()">getPreviousNode</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getPreviousSibling()">getPreviousSibling</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getRoot()">getRoot</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getSharedAncestor(javax.swing.tree.DefaultMutableTreeNode)">getSharedAncestor</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getSiblingCount()">getSiblingCount</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getUserObject()">getUserObject</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getUserObjectPath()">getUserObjectPath</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#insert(javax.swing.tree.MutableTreeNode, int)">insert</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#isNodeAncestor(javax.swing.tree.TreeNode)">isNodeAncestor</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#isNodeChild(javax.swing.tree.TreeNode)">isNodeChild</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#isNodeDescendant(javax.swing.tree.DefaultMutableTreeNode)">isNodeDescendant</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#isNodeRelated(javax.swing.tree.DefaultMutableTreeNode)">isNodeRelated</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#isNodeSibling(javax.swing.tree.TreeNode)">isNodeSibling</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#isRoot()">isRoot</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#pathFromAncestorEnumeration(javax.swing.tree.TreeNode)">pathFromAncestorEnumeration</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#postorderEnumeration()">postorderEnumeration</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#preorderEnumeration()">preorderEnumeration</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#remove(int)">remove</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#remove(javax.swing.tree.MutableTreeNode)">remove</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#removeAllChildren()">removeAllChildren</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#removeFromParent()">removeFromParent</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#setAllowsChildren(boolean)">setAllowsChildren</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#setParent(javax.swing.tree.MutableTreeNode)">setParent</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#setUserObject(java.lang.Object)">setUserObject</A>, 
<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="hasChildren"><!-- --></A><H3>
hasChildren</H3>
<PRE>
protected boolean <B>hasChildren</B></PRE>
<DL>
</DL>
<HR>

<A NAME="childValue"><!-- --></A><H3>
childValue</H3>
<PRE>
protected java.lang.Object <B>childValue</B></PRE>
<DL>
<DD>Value to create children with.</DL>
<HR>

<A NAME="loadedChildren"><!-- --></A><H3>
loadedChildren</H3>
<PRE>
protected boolean <B>loadedChildren</B></PRE>
<DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="JTree.DynamicUtilTreeNode(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
JTree.DynamicUtilTreeNode</H3>
<PRE>
public <B>JTree.DynamicUtilTreeNode</B>(java.lang.Object&nbsp;value,
                                 java.lang.Object&nbsp;children)</PRE>
<DL>
<DD>Creates a node with the specified object as its value and
 with the specified children. For the node to allow children,
 the children-object must be an array of objects, a Vector,
 or a Hashtable -- even if empty. Otherwise, the node is not
 allowed to have children.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the Object that is the value for the new node<DD><CODE>children</CODE> - an array of Objects, a Vector, or a Hashtable
                 used to create the child nodes. If any other
                 object is specified, or if the value is null,
                 then the node is not allowed to have children.</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="createChildren(javax.swing.tree.DefaultMutableTreeNode, java.lang.Object)"><!-- --></A><H3>
createChildren</H3>
<PRE>
public static void <B>createChildren</B>(<A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A>&nbsp;parent,
                                  java.lang.Object&nbsp;children)</PRE>
<DL>
<DD>Adds to parent all the children in <code>children</code>.
 If <code>children</code> is an array or Vector all of its
 elements are added is children, otherwise if <code>children</code>
 is a Hashtable all the key/value pairs are added in the order
 Enumeration returns them.</DL>
<HR>

<A NAME="isLeaf()"><!-- --></A><H3>
isLeaf</H3>
<PRE>
public boolean <B>isLeaf</B>()</PRE>
<DL>
<DD>Returns true if this node allows children. Whether the node
 allows children depends on how it was created.<DD><DL>
<DT><B>Returns:</B><DD>true if this node allows children, false otherwise.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#isLeaf()">isLeaf</A> in class <A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A><DT><B>See Also: </B><DD><CODE>JTree.DynamicUtilTreeNode#DynamicUtilTreeNode(Object, Object)</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getChildCount()"><!-- --></A><H3>
getChildCount</H3>
<PRE>
public int <B>getChildCount</B>()</PRE>
<DL>
<DD>Returns the number of child nodes.<DD><DL>
<DT><B>Returns:</B><DD>the number of child nodes<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getChildCount()">getChildCount</A> in class <A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A></DL>
</DD>
</DL>
<HR>

<A NAME="loadChildren()"><!-- --></A><H3>
loadChildren</H3>
<PRE>
protected void <B>loadChildren</B>()</PRE>
<DL>
<DD>Loads the children based on childValue. If childValue is
 a Vector orarray each element  added as a child, if childValue
 is a Hashtable each key/value pair is added in the order that
 Enumeration returns the keys.</DL>
<HR>

<A NAME="getChildAt(int)"><!-- --></A><H3>
getChildAt</H3>
<PRE>
public <A HREF="../../javax/swing/tree/TreeNode.html">TreeNode</A> <B>getChildAt</B>(int&nbsp;index)</PRE>
<DL>
<DD>Subclassed to load the children, if necessary.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#getChildAt(int)">getChildAt</A> in class <A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A></DL>
</DD>
</DL>
<HR>

<A NAME="children()"><!-- --></A><H3>
children</H3>
<PRE>
public java.util.Enumeration <B>children</B>()</PRE>
<DL>
<DD>Subclassed to load the children, if necessary.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html#children()">children</A> in class <A HREF="../../javax/swing/tree/DefaultMutableTreeNode.html">DefaultMutableTreeNode</A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/JTree.DynamicUtilTreeNode.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/JTree.AccessibleJTree.AccessibleJTreeNode.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JTree.EmptySelectionModel.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JTree.DynamicUtilTreeNode.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
