Java Platform 1.2
Beta 4

Uses of Class
com.sun.java.swing.JTree

Packages that use JTree
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.  
com.sun.java.swing.tree Provides classes and interfaces for dealing with java.awt.swing. 
 

Uses of JTree in com.sun.java.swing
 

Methods in com.sun.java.swing with parameters of type JTree
 Component DefaultCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
           
 

Constructors in com.sun.java.swing with parameters of type JTree
JTree.AccessibleJTree.JTree.AccessibleJTree()
           
JTree.AccessibleJTree.AccessibleJTreeNode.JTree.AccessibleJTree.AccessibleJTreeNode(JTree t, TreePath p, Accessible ap)
          Constructs an AccessibleJTreeNode
 

Uses of JTree in com.sun.java.swing.plaf
 

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

Uses of JTree in com.sun.java.swing.tree
 

Fields in com.sun.java.swing.tree declared as JTree
protected  JTree DefaultTreeCellEditor.tree
          JTree instance listening too.
 

Methods in com.sun.java.swing.tree with parameters of type JTree
 Component TreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          Sets an initial value for the editor.
 Component TreeCellRenderer.getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
          Sets the value of the current tree cell to value.
 Component DefaultTreeCellEditor.getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
          Configures the editor.
protected  void DefaultTreeCellEditor.setTree(JTree newTree)
          Sets the tree currently editing for.
protected  void DefaultTreeCellEditor.determineOffset(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
           
 Component DefaultTreeCellRenderer.getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
          Configures the renderer based on the passed in components.
 

Constructors in com.sun.java.swing.tree with parameters of type JTree
DefaultTreeCellEditor.DefaultTreeCellEditor(JTree tree, DefaultTreeCellRenderer renderer)
           
DefaultTreeCellEditor.DefaultTreeCellEditor(JTree tree, DefaultTreeCellRenderer renderer, TreeCellEditor editor)
           
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.