00001 /* 00002 * %W% %E% 00003 * 00004 * Copyright 1997, 1998 Sun Microsystems, Inc. All Rights Reserved. 00005 * 00006 * Redistribution and use in source and binary forms, with or 00007 * without modification, are permitted provided that the following 00008 * conditions are met: 00009 * 00010 * - Redistributions of source code must retain the above copyright 00011 * notice, this list of conditions and the following disclaimer. 00012 * 00013 * - Redistribution in binary form must reproduce the above 00014 * copyright notice, this list of conditions and the following 00015 * disclaimer in the documentation and/or other materials 00016 * provided with the distribution. 00017 * 00018 * Neither the name of Sun Microsystems, Inc. or the names of 00019 * contributors may be used to endorse or promote products derived 00020 * from this software without specific prior written permission. 00021 * 00022 * This software is provided "AS IS," without a warranty of any 00023 * kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND 00024 * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, 00025 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY 00026 * EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY 00027 * DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR 00028 * RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR 00029 * ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE 00030 * FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, 00031 * SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER 00032 * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF 00033 * THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS 00034 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 00035 * 00036 * You acknowledge that this software is not designed, licensed or 00037 * intended for use in the design, construction, operation or 00038 * maintenance of any nuclear facility. 00039 */ 00040 00041 package GuiComponents.Inspector.TreeTable; 00042 00043 import javax.swing.tree.TreeModel; 00044 00058 public interface TreeTableModel extends TreeModel 00059 { 00063 public int getColumnCount(); 00064 00068 public String getColumnName(int column); 00069 00073 public Class getColumnClass(int column); 00074 00079 public Object getValueAt(Object node, int column); 00080 00085 public boolean isCellEditable(Object node, int column); 00086 00091 public void setValueAt(Object aValue, Object node, int column); 00092 } 00093