2362N/A * Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Pluggable look and feel interface for JTree. 0N/A * @author Scott Violet 0N/A * Returns the Rectangle enclosing the label portion that the 0N/A * last item in path will be drawn into. Will return null if 0N/A * any component in path is currently valid. 0N/A * Returns the path for passed in row. If row is not visible 0N/A * Returns the row that the last item identified in path is visible 0N/A * at. Will return -1 if any of the elements in path are not 0N/A * currently visible. 0N/A * Returns the number of rows that are being displayed. 0N/A * Returns the path to the node that is closest to x,y. If 0N/A * there is nothing currently visible this will return null, otherwise 0N/A * it'll always return a valid path. If you need to test if the 0N/A * returned object is exactly at x, y you should get the bounds for 0N/A * the returned path and test x, y against that. 0N/A * Returns true if the tree is being edited. The item that is being 0N/A * edited can be returned by getEditingPath(). 0N/A * Stops the current editing session. This has no effect if the 0N/A * tree isn't being edited. Returns true if the editor allows the 0N/A * editing session to stop. 0N/A * Cancels the current editing session. This has no effect if the 0N/A * tree isn't being edited. Returns true if the editor allows the 0N/A * editing session to stop. 0N/A * Selects the last item in path and tries to edit it. Editing will 0N/A * fail if the CellEditor won't allow it for the selected item. 0N/A * Returns the path to the element that is being edited.