GNU Classpath (0.20) | |
Frames | No Frames |
1: /* VariableHeightLayoutCache.java -- 2: Copyright (C) 2002, 2004 Free Software Foundation, Inc. 3: 4: This file is part of GNU Classpath. 5: 6: GNU Classpath is free software; you can redistribute it and/or modify 7: it under the terms of the GNU General Public License as published by 8: the Free Software Foundation; either version 2, or (at your option) 9: any later version. 10: 11: GNU Classpath is distributed in the hope that it will be useful, but 12: WITHOUT ANY WARRANTY; without even the implied warranty of 13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14: General Public License for more details. 15: 16: You should have received a copy of the GNU General Public License 17: along with GNU Classpath; see the file COPYING. If not, write to the 18: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 19: 02110-1301 USA. 20: 21: Linking this library statically or dynamically with other modules is 22: making a combined work based on this library. Thus, the terms and 23: conditions of the GNU General Public License cover the whole 24: combination. 25: 26: As a special exception, the copyright holders of this library give you 27: permission to link this library with independent modules to produce an 28: executable, regardless of the license terms of these independent 29: modules, and to copy and distribute the resulting executable under 30: terms of your choice, provided that you also meet, for each linked 31: independent module, the terms and conditions of the license of that 32: module. An independent module is a module which is not derived from 33: or based on this library. If you modify this library, you may extend 34: this exception to your version of the library, but you are not 35: obligated to do so. If you do not wish to do so, delete this 36: exception statement from your version. */ 37: 38: 39: package javax.swing.tree; 40: 41: import java.awt.Rectangle; 42: import java.util.Enumeration; 43: 44: import javax.swing.event.TreeModelEvent; 45: 46: /** 47: * VariableHeightLayoutCache 48: * @author Andrew Selkirk 49: */ 50: public class VariableHeightLayoutCache extends AbstractLayoutCache { 51: 52: //------------------------------------------------------------- 53: // Variables -------------------------------------------------- 54: //------------------------------------------------------------- 55: 56: 57: //------------------------------------------------------------- 58: // Initialization --------------------------------------------- 59: //------------------------------------------------------------- 60: 61: /** 62: * Constructor VariableHeightLayoutCache 63: */ 64: public VariableHeightLayoutCache() { 65: // TODO 66: } // VariableHeightLayoutCache() 67: 68: 69: //------------------------------------------------------------- 70: // Methods ---------------------------------------------------- 71: //------------------------------------------------------------- 72: 73: /** 74: * setModel 75: * @param value0 TODO 76: */ 77: public void setModel(TreeModel value0) { 78: // TODO 79: } // setModel() 80: 81: /** 82: * setRootVisible 83: * @param value0 TODO 84: */ 85: public void setRootVisible(boolean value0) { 86: // TODO 87: } // setRootVisible() 88: 89: /** 90: * setNodeDimensions 91: * @param value0 TODO 92: */ 93: public void setNodeDimensions(NodeDimensions value0) { 94: // TODO 95: } // setNodeDimensions() 96: 97: /** 98: * setExpandedState 99: * @param value0 TODO 100: * @param value1 TODO 101: */ 102: public void setExpandedState(TreePath value0, boolean value1) { 103: // TODO 104: } // setExpandedState() 105: 106: /** 107: * getExpandedState 108: * @param value0 TODO 109: * @returns boolean 110: */ 111: public boolean getExpandedState(TreePath value0) { 112: return false; // TODO 113: } // getExpandedState() 114: 115: /** 116: * getBounds 117: * @param value0 TODO 118: * @param value1 TODO 119: * @returns Rectangle 120: */ 121: public Rectangle getBounds(TreePath value0, Rectangle value1) { 122: return null; // TODO 123: } // getBounds() 124: 125: /** 126: * getPathForRow 127: * @param value0 TODO 128: * @returns TreePath 129: */ 130: public TreePath getPathForRow(int value0) { 131: return null; // TODO 132: } // getPathForRow() 133: 134: /** 135: * getRowForPath 136: * @param value0 TODO 137: * @returns int 138: */ 139: public int getRowForPath(TreePath value0) { 140: return 0; // TODO 141: } // getRowForPath() 142: 143: /** 144: * getRowCount 145: * @returns int 146: */ 147: public int getRowCount() { 148: return 0; // TODO 149: } // getRowCount() 150: 151: /** 152: * invalidatePathBounds 153: * @param value0 TODO 154: */ 155: public void invalidatePathBounds(TreePath value0) { 156: // TODO 157: } // invalidatePathBounds() 158: 159: /** 160: * getPreferredHeight 161: * @returns int 162: */ 163: public int getPreferredHeight() { 164: return 0; // TODO 165: } // getPreferredHeight() 166: 167: /** 168: * getPreferredWidth 169: * @param value0 TODO 170: * @returns int 171: */ 172: public int getPreferredWidth(Rectangle value0) { 173: return 0; // TODO 174: } // getPreferredWidth() 175: 176: /** 177: * getPathClosestTo 178: * @param value0 TODO 179: * @param value1 TODO 180: * @returns TreePath 181: */ 182: public TreePath getPathClosestTo(int value0, int value1) { 183: return null; // TODO 184: } // getPathClosestTo() 185: 186: /** 187: * getVisiblePathsFrom 188: * @param value0 TODO 189: * @returns Enumeration 190: */ 191: public Enumeration getVisiblePathsFrom(TreePath value0) { 192: return null; // TODO 193: } // getVisiblePathsFrom() 194: 195: /** 196: * getVisibleChildCount 197: * @param value0 TODO 198: * @returns int 199: */ 200: public int getVisibleChildCount(TreePath value0) { 201: return 0; // TODO 202: } // getVisibleChildCount() 203: 204: /** 205: * invalidateSizes 206: */ 207: public void invalidateSizes() { 208: // TODO 209: } // invalidateSizes() 210: 211: /** 212: * isExpanded 213: * @param value0 TODO 214: * @returns boolean 215: */ 216: public boolean isExpanded(TreePath value0) { 217: return false; // TODO 218: } // isExpanded() 219: 220: /** 221: * treeNodesChanged 222: * @param value0 TODO 223: */ 224: public void treeNodesChanged(TreeModelEvent value0) { 225: // TODO 226: } // treeNodesChanged() 227: 228: /** 229: * treeNodesInserted 230: * @param value0 TODO 231: */ 232: public void treeNodesInserted(TreeModelEvent value0) { 233: // TODO 234: } // treeNodesInserted() 235: 236: /** 237: * treeNodesRemoved 238: * @param value0 TODO 239: */ 240: public void treeNodesRemoved(TreeModelEvent value0) { 241: // TODO 242: } // treeNodesRemoved() 243: 244: /** 245: * treeStructureChanged 246: * @param value0 TODO 247: */ 248: public void treeStructureChanged(TreeModelEvent value0) { 249: // TODO 250: } // treeStructureChanged() 251: 252: 253: } // VariableHeightLayoutCache
GNU Classpath (0.20) |