Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

Uses of Class
javax.swing.JTree

Packages that use JTree
javax.microedition.plaf AGUI provides a Pluggable Look and Feel architecture, similar to that which is defined in Java SE (from which AGUI is subset). 
javax.swing.tree Provides classes and interfaces for dealing with javax.swing.JTree
 

Uses of JTree in javax.microedition.plaf
 

Methods in javax.microedition.plaf with parameters of type JTree
 Rectangle TreeUI.getPathBounds(JTree tree, TreePath path)
          Returns the Rectangle enclosing the label portion that the last item in path will be drawn into.
 TreePath TreeUI.getPathForRow(JTree tree, int row)
          Returns the path for passed in row.
 int TreeUI.getRowForPath(JTree tree, TreePath path)
          Returns the row that the last item identified in path is visible at.
 int TreeUI.getRowCount(JTree tree)
          Returns the number of rows that are being displayed.
 TreePath TreeUI.getClosestPathForLocation(JTree tree, int x, int y)
          Returns the path to the node that is closest to x,y.
 boolean TreeUI.isEditing(JTree tree)
          Returns true if the tree is being edited.
 boolean TreeUI.stopEditing(JTree tree)
          Stops the current editing session.
 void TreeUI.cancelEditing(JTree tree)
          Cancels the current editing session.
 void TreeUI.startEditingAtPath(JTree tree, TreePath path)
          Selects the last item in path and tries to edit it.
 TreePath TreeUI.getEditingPath(JTree tree)
          Returns the path to the element that is being edited.
 

Uses of JTree in javax.swing.tree
 

Methods in javax.swing.tree with parameters of type JTree
 java.awt.Component TreeCellRenderer.getTreeCellRendererComponent(JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
          Sets the value of the current tree cell to value.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.