Lines Matching refs:leaves
21 Vector leaves=new Vector(10,10);
26 leaves.addElement(new TreeNode(n,p,num));
38 Enumeration e1=leaves.elements();
49 leaves.addElement(nd);
73 for (int i=0;i<leaves.size();i++)
75 TreeNode t=((TreeNode)leaves.elementAt(i)).lookup(y);
83 if (!leaves.isEmpty()) {
95 for(int i=0;i<leaves.size();i++)
96 ((Tree)leaves.elementAt(i)).collapse();
102 Enumeration e1=leaves.elements();
113 Enumeration e1=leaves.elements();
116 if (!tn.leaves.isEmpty())
142 for(int i=0;i<leaves.size();i++)
144 Dimension d=((TreeNode)leaves.elementAt(i)).draw(g,x+h+4,y,t);
151 g.setColor(leaves.isEmpty() ? Color.blue : Color.red);
153 if (this==t && leaves.isEmpty())