1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_17) on Thu Sep 24 15:03:21 BST 2009 -->
<TITLE>
GraphLayoutCache (JGraph v5.12.4.2 API Specification)
</TITLE>
<META NAME="keywords" CONTENT="org.jgraph.graph.GraphLayoutCache class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="GraphLayoutCache (JGraph v5.12.4.2 API Specification)";
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GraphLayoutCache.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<p><b>JGraph</b><br>v5.12.4.2</p></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/jgraph/graph/GraphContext.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>
<A HREF="../../../org/jgraph/graph/GraphLayoutCache.GraphLayoutCacheEdit.html" title="class in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="GraphLayoutCache.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.jgraph.graph</FONT>
<BR>
Class GraphLayoutCache</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.jgraph.graph.GraphLayoutCache</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>GraphLayoutCache</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DL>
<P>
An object that defines the view of a graphmodel. This object maps between
model cells and views and provides a set of methods to change these views.
The view may also contain its own set of attributes and is therefore an
extension of an Observable, which may be observed by the GraphUI. It uses the
model to send its changes to the command history.
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.jgraph.graph.GraphLayoutCache">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.GraphLayoutCacheEdit.html" title="class in org.jgraph.graph">GraphLayoutCache.GraphLayoutCacheEdit</A></B></CODE>
<BR>
An implementation of GraphLayoutCacheChange.</TD>
</TR>
</TABLE>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#allAttributesLocal">allAttributesLocal</A></B></CODE>
<BR>
Controls if all attributes are local.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#autoSizeOnValueChange">autoSizeOnValueChange</A></B></CODE>
<BR>
True if the cells should be auto-sized when their values change.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#collapseXScale">collapseXScale</A></B></CODE>
<BR>
Specified the initial x- and y-scaling factor for initial collapsed group
bounds.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#collapseYScale">collapseYScale</A></B></CODE>
<BR>
Specified the initial x- and y-scaling factor for initial collapsed group
bounds.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#factory">factory</A></B></CODE>
<BR>
Factory to create the views.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#graphModel">graphModel</A></B></CODE>
<BR>
Reference to the graphModel</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#hiddenMapping">hiddenMapping</A></B></CODE>
<BR>
Maps cells to views.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#hidesDanglingConnections">hidesDanglingConnections</A></B></CODE>
<BR>
Boolean indicating whether existing connections should be hidden if their
source or target port is removed from the model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#hidesExistingConnections">hidesExistingConnections</A></B></CODE>
<BR>
Boolean indicating whether existing connections should be hidden if their
source or target and no parent of the ports is visible, either by hiding
the cell or by changing the source or target of the edge to a hidden
cell.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/event/EventListenerList.html" title="class or interface in javax.swing.event">EventListenerList</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#listenerList">listenerList</A></B></CODE>
<BR>
The list of listeners that listen to the GraphLayoutCache.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#localAttributes">localAttributes</A></B></CODE>
<BR>
A set containing all attribute keys that are stored in the cell views, in
other words, the view-local attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#mapping">mapping</A></B></CODE>
<BR>
Maps cells to views.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#movesChildrenOnExpand">movesChildrenOnExpand</A></B></CODE>
<BR>
Boolean indicating whether children should be moved to the parent group's
origin on expand.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#movesParentsOnCollapse">movesParentsOnCollapse</A></B></CODE>
<BR>
Boolean indicating whether parents should be moved to the child area
origin on collapse.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#partial">partial</A></B></CODE>
<BR>
Only portions of the model are visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#ports">ports</A></B></CODE>
<BR>
Cached array of all ports for the view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#reconnectsEdgesToVisibleParent">reconnectsEdgesToVisibleParent</A></B></CODE>
<BR>
<B>Deprecated.</B> <I>edges are moved to parent view and back automatically</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#remembersCellViews">remembersCellViews</A></B></CODE>
<BR>
Boolean indicating whether cellviews should be remembered once visible in
this GraphLayoutCache.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#resizesParentsOnCollapse">resizesParentsOnCollapse</A></B></CODE>
<BR>
Boolean indicating whether parents should always be resized to the child
area on collapse.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#roots">roots</A></B></CODE>
<BR>
Ordered list of roots for the view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#selectsAllInsertedCells">selectsAllInsertedCells</A></B></CODE>
<BR>
Boolean indicating whether inserted cells should automatically be
selected.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#selectsLocalInsertedCells">selectsLocalInsertedCells</A></B></CODE>
<BR>
Boolean indicating whether cells that are inserted using the local insert
method should automatically be selected.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#showsChangedConnections">showsChangedConnections</A></B></CODE>
<BR>
Boolean indicating whether connections should be made visible when
reconnected and their source and target port is visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#showsExistingConnections">showsExistingConnections</A></B></CODE>
<BR>
Boolean indicating whether existing connections should me made visible if
their sources or targets are made visible, given the opposite end of the
edge is already visible or made visible, too.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#showsInsertedCells">showsInsertedCells</A></B></CODE>
<BR>
Boolean indicating whether inserted should be made visible if they are
inserted via
<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insert(java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, javax.swing.undo.UndoableEdit[])"><CODE>insert(Object[], Map, ConnectionSet, ParentMap, UndoableEdit[])</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#showsInsertedConnections">showsInsertedConnections</A></B></CODE>
<BR>
Boolean indicating whether inserted edges should me made visible if their
sources or targets are already visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#showsInvisibleEditedCells">showsInvisibleEditedCells</A></B></CODE>
<BR>
Boolean indicating whether edited cells should be made visible if they
are changed via
<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#edit(java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, javax.swing.undo.UndoableEdit[])"><CODE>edit(Map, ConnectionSet, ParentMap, UndoableEdit[])</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#visibleSet">visibleSet</A></B></CODE>
<BR>
The set of visible cells.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#GraphLayoutCache()">GraphLayoutCache</A></B>()</CODE>
<BR>
Constructs a graph layout cache.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#GraphLayoutCache(org.jgraph.graph.GraphModel, org.jgraph.graph.CellViewFactory)">GraphLayoutCache</A></B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model,
<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> factory)</CODE>
<BR>
Constructs a view for the specified model that uses <code>factory</code>
to create its views.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#GraphLayoutCache(org.jgraph.graph.GraphModel, org.jgraph.graph.CellViewFactory, boolean)">GraphLayoutCache</A></B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model,
<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> factory,
boolean partial)</CODE>
<BR>
Constructs a view for the specified model that uses <code>factory</code>
to create its views.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#GraphLayoutCache(org.jgraph.graph.GraphModel, org.jgraph.graph.CellViewFactory, org.jgraph.graph.CellView[], org.jgraph.graph.CellView[], boolean)">GraphLayoutCache</A></B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model,
<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> factory,
<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] cellViews,
<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] hiddenCellViews,
boolean partial)</CODE>
<BR>
Constructs a view for the specified model that uses <code>factory</code>
to create its views.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#addGraphLayoutCacheListener(org.jgraph.event.GraphLayoutCacheListener)">addGraphLayoutCacheListener</A></B>(<A HREF="../../../org/jgraph/event/GraphLayoutCacheListener.html" title="interface in org.jgraph.event">GraphLayoutCacheListener</A> l)</CODE>
<BR>
Adds a listener for the GraphLayoutCacheEvent posted after the graph
layout cache changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#addVisibleDependencies(java.lang.Object[], boolean)">addVisibleDependencies</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean visible)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#augment(javax.swing.undo.UndoableEdit[], javax.swing.undo.UndoableEdit)">augment</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>[] e,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A> edit)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#augmentNestedMapForValueChange(java.util.Map, java.lang.Object, java.lang.Object)">augmentNestedMapForValueChange</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> nested,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> newValue)</CODE>
<BR>
Hook for subclassers to add more stuff for value changes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#cellExpanded(java.lang.Object)">cellExpanded</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</CODE>
<BR>
Called when a child has been made visible by expanding its parent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#cellViewsChanged(org.jgraph.graph.CellView[])">cellViewsChanged</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] cellViews)</CODE>
<BR>
Invoke this method after you've changed how the cells are to be
represented in the graph.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#cellWillCollapse(java.lang.Object)">cellWillCollapse</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#collapse(java.lang.Object[])">collapse</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] groups)</CODE>
<BR>
Collapses all groups by hiding all their descendants.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../org/jgraph/graph/GraphLayoutCache.GraphLayoutCacheEdit.html" title="class in org.jgraph.graph">GraphLayoutCache.GraphLayoutCacheEdit</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#createLocalEdit(java.lang.Object[], java.util.Map, java.lang.Object[], java.lang.Object[])">createLocalEdit</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] inserted,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> nested,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] visible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] invisible)</CODE>
<BR>
Creates a local edit for the specified change.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#createNestedMap()">createNestedMap</A></B>()</CODE>
<BR>
Returns a nested map of (cell, map) pairs that represent all attributes
of all cell views in this view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#edit(java.util.Map)">edit</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes)</CODE>
<BR>
A shortcut method that takes a nested map and passes it to the edit
method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#edit(java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, javax.swing.undo.UndoableEdit[])">edit</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>[] e)</CODE>
<BR>
Applies the <code>propertyMap</code> and the connection changes to the
model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#edit(java.lang.Object[], java.util.Map)">edit</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes)</CODE>
<BR>
Applies the <code>attributes</code> to all <code>cells</code> by
creating a map that contains the attributes for each cell and passing it
to edit on this layout cache.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#editCell(java.lang.Object, java.util.Map)">editCell</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes)</CODE>
<BR>
Applies the <code>attributes</code> to a single <code>cell</code> by
creating a map that contains the attributes for this cell and passing it
to edit on this layout cache.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#expand(java.lang.Object[])">expand</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Expands all groups by showing all children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#fireGraphLayoutCacheChanged(java.lang.Object, org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange)">fireGraphLayoutCacheChanged</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> source,
<A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html" title="interface in org.jgraph.event">GraphLayoutCacheEvent.GraphLayoutCacheChange</A> edit)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getAllDescendants(org.jgraph.graph.CellView[])">getAllDescendants</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</CODE>
<BR>
Returns all views, including descendants that have a parent in
<code>views</code>, especially the PortViews.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getAllViews()">getAllViews</A></B>()</CODE>
<BR>
Returns all views, shortcut to getAllDescendants(getRoots())</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getBounds(org.jgraph.graph.CellView[])">getBounds</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</CODE>
<BR>
Returns the bounding box for the specified cell views.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getCells(boolean, boolean, boolean, boolean)">getCells</A></B>(boolean groups,
boolean vertices,
boolean ports,
boolean edges)</CODE>
<BR>
A helper method to return various arrays of cells that are visible in
this cache.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getCells(org.jgraph.graph.CellView[])">getCells</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</CODE>
<BR>
Takes an array of views and returns the array of the corresponding cells
by using <code>getCell</code> for each view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getCellViews()">getCellViews</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getChildPort(java.lang.Object, boolean)">getChildPort</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> edge,
boolean source)</CODE>
<BR>
Hook for subclassers to return the port to be used for edges that have
been connected to the group.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getCollapseXScale()">getCollapseXScale</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getCollapseYScale()">getCollapseYScale</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getContext(org.jgraph.event.GraphModelEvent.GraphModelChange)">getContext</A></B>(<A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A> change)</CODE>
<BR>
Hook for subclassers to augment the context for a graphChange.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getEdges(java.lang.Object, java.util.Set, boolean, boolean, boolean)">getEdges</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> exclude,
boolean visibleCells,
boolean selfLoops,
boolean incoming)</CODE>
<BR>
Returns the incoming or outgoing edges for cell.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getFactory()">getFactory</A></B>()</CODE>
<BR>
Returns the factory that was passed to the constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/event/GraphLayoutCacheListener.html" title="interface in org.jgraph.event">GraphLayoutCacheListener</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getGraphLayoutCacheListeners()">getGraphLayoutCacheListeners</A></B>()</CODE>
<BR>
Return an array of all GraphLayoutCacheListener that were added to this
model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getHiddenCellViews()">getHiddenCellViews</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getHiddenMapping()">getHiddenMapping</A></B>()</CODE>
<BR>
Returns the hiddenMapping.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getIncomingEdges(java.lang.Object, java.util.Set, boolean, boolean)">getIncomingEdges</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> exclude,
boolean visibleCells,
boolean selfLoops)</CODE>
<BR>
Returns the incoming edges for cell.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getLocalAttributes()">getLocalAttributes</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getMapping(java.lang.Object[])">getMapping</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Returns the views for the specified array of cells without creating these
views on the fly.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getMapping(java.lang.Object[], boolean)">getMapping</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean create)</CODE>
<BR>
Returns the views for the specified array of cells.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getMapping(java.lang.Object, boolean)">getMapping</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
boolean create)</CODE>
<BR>
Returns the view for the specified cell.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getModel()">getModel</A></B>()</CODE>
<BR>
Returns the current model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getNeighbours(java.lang.Object, java.util.Set, boolean, boolean)">getNeighbours</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> exclude,
boolean directed,
boolean visibleCells)</CODE>
<BR>
Returns a collection of cells that are connected to the specified cell by
edges.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getOutgoingEdges(java.lang.Object, java.util.Set, boolean, boolean)">getOutgoingEdges</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> exclude,
boolean visibleCells,
boolean selfLoops)</CODE>
<BR>
Returns the outgoing edges for cell.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getParentPort(java.lang.Object, boolean)">getParentPort</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> edge,
boolean source)</CODE>
<BR>
Hook for subclassers to return the first or last visible port to replace
the current source or target port of the edge.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getParentPorts(java.lang.Object)">getParentPorts</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getPartial()">getPartial</A></B>()</CODE>
<BR>
Required for XML persistence</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getPorts()">getPorts</A></B>()</CODE>
<BR>
Returns the ports of the view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getPorts(java.lang.Object)">getPorts</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getRoots()">getRoots</A></B>()</CODE>
<BR>
Returns the roots of the view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getRoots(java.awt.geom.Rectangle2D)">getRoots</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> clip)</CODE>
<BR>
Return all root cells that intersect the given rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getVisibleCells(java.lang.Object[])">getVisibleCells</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Returns a an array with the visible cells in <code>cells</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getVisibleSet()">getVisibleSet</A></B>()</CODE>
<BR>
Returns the set of visible sets in this view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#graphChanged(org.jgraph.event.GraphModelEvent.GraphModelChange)">graphChanged</A></B>(<A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A> change)</CODE>
<BR>
Called from BasicGraphUI.ModelHandler to update the view based on the
specified GraphModelEvent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#handleAttributes(java.util.Map)">handleAttributes</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes)</CODE>
<BR>
Attention: Undo will not work for routing-change if ROUTING and POINTS
are stored in different locations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#hasVisibleParent(java.lang.Object, java.util.Set)">hasVisibleParent</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> invisible)</CODE>
<BR>
Checks if the port or one of its parents is visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#hideCells(java.lang.Object[], boolean)">hideCells</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean descandants)</CODE>
<BR>
Hides the specified cells with all children if <code>descandants</code>
is true.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#hideCellsForChange(org.jgraph.event.GraphModelEvent.GraphModelChange)">hideCellsForChange</A></B>(<A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A> change)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insert(java.lang.Object)">insert</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</CODE>
<BR>
Inserts the specified vertex into the graph model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insert(java.lang.Object[])">insert</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Inserts the specified cells into the graph model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insert(java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap)">insert</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> nested,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm)</CODE>
<BR>
Variant of the insert method that allows to pass a default connection set
and parent map and nested map.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insert(java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, javax.swing.undo.UndoableEdit[])">insert</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] roots,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>[] e)</CODE>
<BR>
Inserts the <code>cells</code> and connections into the model, and
absorbs the local attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insertClones(java.lang.Object[], java.util.Map, java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, double, double)">insertClones</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> clones,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> nested,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm,
double dx,
double dy)</CODE>
<BR>
Inserts the cloned cells from the clone map and clones the passed-in
arguments according to the clone map before insertion and returns the
clones in order of the cells.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insertEdge(java.lang.Object, java.lang.Object, java.lang.Object)">insertEdge</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> edge,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> source,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> target)</CODE>
<BR>
Inserts the specified edge into the graph model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insertGroup(java.lang.Object, java.lang.Object[])">insertGroup</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> group,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] children)</CODE>
<BR>
Inserts the specified cell as a parent of children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insertViews(org.jgraph.graph.CellView[])">insertViews</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</CODE>
<BR>
Adds the specified model root cells to the view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isAllAttributesLocal()">isAllAttributesLocal</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isAutoSizeOnValueChange()">isAutoSizeOnValueChange</A></B>()</CODE>
<BR>
Returns true if cells should be auto-sized when their values change</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isControlAttribute(java.lang.Object, java.lang.Object, java.lang.Object)">isControlAttribute</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> key,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</CODE>
<BR>
Returns true if <code>key</code> is a control attribute</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isHidesDanglingConnections()">isHidesDanglingConnections</A></B>()</CODE>
<BR>
Returns the hidesDanglingConnections.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isHidesExistingConnections()">isHidesExistingConnections</A></B>()</CODE>
<BR>
Returns the hidesExistingConnections.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isLocalAttribute(java.lang.Object, java.lang.Object, java.lang.Object)">isLocalAttribute</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> key,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</CODE>
<BR>
Returns true if the set of local attributes contains <code>key</code></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isMovesChildrenOnExpand()">isMovesChildrenOnExpand</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isMovesParentsOnCollapse()">isMovesParentsOnCollapse</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isPartial()">isPartial</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isReconnectsEdgesToVisibleParent()">isReconnectsEdgesToVisibleParent</A></B>()</CODE>
<BR>
<B>Deprecated.</B> <I>edges are moved to parent view and back automatically</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isRemembersCellViews()">isRemembersCellViews</A></B>()</CODE>
<BR>
Returns the remembersCellViews.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isResizesParentsOnCollapse()">isResizesParentsOnCollapse</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isSelectsAllInsertedCells()">isSelectsAllInsertedCells</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isSelectsLocalInsertedCells()">isSelectsLocalInsertedCells</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isShowsChangedConnections()">isShowsChangedConnections</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isShowsExistingConnections()">isShowsExistingConnections</A></B>()</CODE>
<BR>
Returns the showsExistingConnections.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isShowsInsertedConnections()">isShowsInsertedConnections</A></B>()</CODE>
<BR>
Returns the showsInsertedConnections.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isShowsInvisibleEditedCells()">isShowsInvisibleEditedCells</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#isVisible(java.lang.Object)">isVisible</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</CODE>
<BR>
Whether or not the specified cell is visible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#putMapping(java.lang.Object, org.jgraph.graph.CellView)">putMapping</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> view)</CODE>
<BR>
Associates the specified model cell with the specified view.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#refresh(org.jgraph.graph.CellView[], boolean)">refresh</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views,
boolean create)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#refresh(org.jgraph.graph.CellView, boolean)">refresh</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> view,
boolean create)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#reload()">reload</A></B>()</CODE>
<BR>
Remaps all existing views using the CellViewFactory
and replaces the respective root views.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#reloadRoots()">reloadRoots</A></B>()</CODE>
<BR>
Completely reloads all roots from the model in the order returned by
DefaultGraphModel.getAll.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#remove(java.lang.Object[])">remove</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Removes <code>cells</code> from the model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#remove(java.lang.Object[], boolean, boolean)">remove</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean descendants,
boolean edges)</CODE>
<BR>
Removes cells from the model, including all children and connected edges
if <code>children</code> or <code>edges</code> is true, respectively.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#removeCells(java.lang.Object[])">removeCells</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Removes the specified model root cells from the view by removing the
mapping between the cell and its view and makes the cells invisible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#removeGraphLayoutCacheListener(org.jgraph.event.GraphLayoutCacheListener)">removeGraphLayoutCacheListener</A></B>(<A HREF="../../../org/jgraph/event/GraphLayoutCacheListener.html" title="interface in org.jgraph.event">GraphLayoutCacheListener</A> l)</CODE>
<BR>
Removes a listener previously added with <B>addGraphLayoutCacheListener()
</B>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#removeMapping(java.lang.Object)">removeMapping</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</CODE>
<BR>
Removes the association for the specified model cell and returns the view
that was previously associated with the cell.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#removeViewLocalAttribute(java.lang.Object, boolean, boolean)">removeViewLocalAttribute</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> key,
boolean addToModel,
boolean override)</CODE>
<BR>
Handles the removal of view local attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setAllAttributesLocal(boolean)">setAllAttributesLocal</A></B>(boolean allAttributesLocal)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setAutoSizeOnValueChange(boolean)">setAutoSizeOnValueChange</A></B>(boolean flag)</CODE>
<BR>
Determines whether cells should be auto-sized when their values change.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setCollapsedState(java.lang.Object[], java.lang.Object[])">setCollapsedState</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] collapse,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] expand)</CODE>
<BR>
Collapses and/or expands the specified cell(s)
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setCollapseXScale(double)">setCollapseXScale</A></B>(double collapseXScale)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setCollapseYScale(double)">setCollapseYScale</A></B>(double collapseYScale)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setFactory(org.jgraph.graph.CellViewFactory)">setFactory</A></B>(<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> factory)</CODE>
<BR>
Sets the factory that creates the cell views.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setHiddenSet(java.util.Map)">setHiddenSet</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> hiddenSet)</CODE>
<BR>
Sets the hiddenSet.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setHidesDanglingConnections(boolean)">setHidesDanglingConnections</A></B>(boolean hidesDanglingConnections)</CODE>
<BR>
Sets the hidesDanglingConnections</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setHidesExistingConnections(boolean)">setHidesExistingConnections</A></B>(boolean hidesExistingConnections)</CODE>
<BR>
Sets the hidesExistingConnections</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setLocalAttributes(java.util.Set)">setLocalAttributes</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> localAttributes)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setModel(org.jgraph.graph.GraphModel)">setModel</A></B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model)</CODE>
<BR>
Sets the current model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setMovesChildrenOnExpand(boolean)">setMovesChildrenOnExpand</A></B>(boolean moveChildrenOnExpand)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setMovesParentsOnCollapse(boolean)">setMovesParentsOnCollapse</A></B>(boolean movesParentsOnCollapse)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setReconnectsEdgesToVisibleParent(boolean)">setReconnectsEdgesToVisibleParent</A></B>(boolean reconnectsEdgesToVisibleParent)</CODE>
<BR>
<B>Deprecated.</B> <I>edges are moved to parent view and back automatically</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setRemembersCellViews(boolean)">setRemembersCellViews</A></B>(boolean rememberCellViews)</CODE>
<BR>
Sets the rememberCellViews.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setResizesParentsOnCollapse(boolean)">setResizesParentsOnCollapse</A></B>(boolean resizesParentsOnCollapse)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setSelectsAllInsertedCells(boolean)">setSelectsAllInsertedCells</A></B>(boolean selectsAllInsertedCells)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setSelectsLocalInsertedCells(boolean)">setSelectsLocalInsertedCells</A></B>(boolean selectsLocalInsertedCells)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setShowsChangedConnections(boolean)">setShowsChangedConnections</A></B>(boolean showsChangedConnections)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setShowsExistingConnections(boolean)">setShowsExistingConnections</A></B>(boolean showsExistingConnections)</CODE>
<BR>
Sets the showsExistingConnections</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setShowsInsertedConnections(boolean)">setShowsInsertedConnections</A></B>(boolean showsInsertedConnections)</CODE>
<BR>
Sets the showsInsertedConnections</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setShowsInvisibleEditedCells(boolean)">setShowsInvisibleEditedCells</A></B>(boolean showsInvisibleEditedCells)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setVisible(java.lang.Object[], boolean)">setVisible</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean visible)</CODE>
<BR>
Makes the specified cells visible or invisible depending on the flag
passed in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setVisible(java.lang.Object[], java.lang.Object[])">setVisible</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] visible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] invisible)</CODE>
<BR>
Changes the visibility state of the cells passed in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setVisible(java.lang.Object[], java.lang.Object[], org.jgraph.graph.ConnectionSet)">setVisible</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] visible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] invisible,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs)</CODE>
<BR>
Changes the visibility state of the cells passed in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setVisible(java.lang.Object[], java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet)">setVisible</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] visible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] invisible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs)</CODE>
<BR>
Changes the visibility state of the cells passed in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setVisible(java.lang.Object, boolean)">setVisible</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
boolean visible)</CODE>
<BR>
Makes the specified cell visible or invisible depending on the flag
passed in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setVisibleImpl(java.lang.Object[], boolean)">setVisibleImpl</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean visible)</CODE>
<BR>
The actual implementation of changing cells' visibility state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#setVisibleSet(java.util.Set)">setVisibleSet</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> visible)</CODE>
<BR>
Applies the specified set of cells as being those visible</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#showCells(java.lang.Object[], boolean)">showCells</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean descandants)</CODE>
<BR>
Shows the specified cells with all children if <code>descandants</code>
is true.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#showCellsForChange(org.jgraph.event.GraphModelEvent.GraphModelChange)">showCellsForChange</A></B>(<A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A> change)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#toBack(java.lang.Object[])">toBack</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Sends <code>cells</code> to back.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#toFront(java.lang.Object[])">toFront</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Brings <code>cells</code> to front.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#toggleCollapsedState(java.lang.Object[], boolean, boolean)">toggleCollapsedState</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean collapseOnly,
boolean expandOnly)</CODE>
<BR>
Toggles the collapsed state of the specified cells.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#translateViews(org.jgraph.graph.CellView[], double, double)">translateViews</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views,
double dx,
double dy)</CODE>
<BR>
Translates the specified views by the given amount.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#ungroup(java.lang.Object[])">ungroup</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Ungroups all groups in cells and returns the children that are not ports.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#update()">update</A></B>()</CODE>
<BR>
Sets the current model.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#update(org.jgraph.graph.CellView)">update</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> view)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#update(org.jgraph.graph.CellView[])">update</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#updatePorts()">updatePorts</A></B>()</CODE>
<BR>
Updates the cached array of ports.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#valueForCellChanged(java.lang.Object, java.lang.Object)">valueForCellChanged</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> newValue)</CODE>
<BR>
Messaged when the user has altered the value for the item identified by
cell to newValue.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="autoSizeOnValueChange"><!-- --></A><H3>
autoSizeOnValueChange</H3>
<PRE>
protected boolean <B>autoSizeOnValueChange</B></PRE>
<DL>
<DD>True if the cells should be auto-sized when their values change. Default
is false.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="showsExistingConnections"><!-- --></A><H3>
showsExistingConnections</H3>
<PRE>
protected boolean <B>showsExistingConnections</B></PRE>
<DL>
<DD>Boolean indicating whether existing connections should me made visible if
their sources or targets are made visible, given the opposite end of the
edge is already visible or made visible, too. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="showsChangedConnections"><!-- --></A><H3>
showsChangedConnections</H3>
<PRE>
protected boolean <B>showsChangedConnections</B></PRE>
<DL>
<DD>Boolean indicating whether connections should be made visible when
reconnected and their source and target port is visible. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="showsInvisibleEditedCells"><!-- --></A><H3>
showsInvisibleEditedCells</H3>
<PRE>
protected boolean <B>showsInvisibleEditedCells</B></PRE>
<DL>
<DD>Boolean indicating whether edited cells should be made visible if they
are changed via
<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#edit(java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, javax.swing.undo.UndoableEdit[])"><CODE>edit(Map, ConnectionSet, ParentMap, UndoableEdit[])</CODE></A>. Default is
false.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="showsInsertedCells"><!-- --></A><H3>
showsInsertedCells</H3>
<PRE>
protected boolean <B>showsInsertedCells</B></PRE>
<DL>
<DD>Boolean indicating whether inserted should be made visible if they are
inserted via
<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#insert(java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, javax.swing.undo.UndoableEdit[])"><CODE>insert(Object[], Map, ConnectionSet, ParentMap, UndoableEdit[])</CODE></A>.
Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="showsInsertedConnections"><!-- --></A><H3>
showsInsertedConnections</H3>
<PRE>
protected boolean <B>showsInsertedConnections</B></PRE>
<DL>
<DD>Boolean indicating whether inserted edges should me made visible if their
sources or targets are already visible. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="hidesExistingConnections"><!-- --></A><H3>
hidesExistingConnections</H3>
<PRE>
protected boolean <B>hidesExistingConnections</B></PRE>
<DL>
<DD>Boolean indicating whether existing connections should be hidden if their
source or target and no parent of the ports is visible, either by hiding
the cell or by changing the source or target of the edge to a hidden
cell. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="hidesDanglingConnections"><!-- --></A><H3>
hidesDanglingConnections</H3>
<PRE>
protected boolean <B>hidesDanglingConnections</B></PRE>
<DL>
<DD>Boolean indicating whether existing connections should be hidden if their
source or target port is removed from the model. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="remembersCellViews"><!-- --></A><H3>
remembersCellViews</H3>
<PRE>
protected boolean <B>remembersCellViews</B></PRE>
<DL>
<DD>Boolean indicating whether cellviews should be remembered once visible in
this GraphLayoutCache. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="selectsAllInsertedCells"><!-- --></A><H3>
selectsAllInsertedCells</H3>
<PRE>
protected boolean <B>selectsAllInsertedCells</B></PRE>
<DL>
<DD>Boolean indicating whether inserted cells should automatically be
selected. Default is true. This is ignored if the cache is partial. Note:
Despite the name of this field the implementation is located in the
BasicGraphUI.GraphModelHandler.graphChanged method.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="selectsLocalInsertedCells"><!-- --></A><H3>
selectsLocalInsertedCells</H3>
<PRE>
protected boolean <B>selectsLocalInsertedCells</B></PRE>
<DL>
<DD>Boolean indicating whether cells that are inserted using the local insert
method should automatically be selected. Default is true. This is ignored
if the cache is not partial and selectsAllInsertedCells is true, in which
case the cells will be selected through another mechanism. Note: Despite
the name of this field the implementation is located in the
BasicGraphUI.GraphLayoutCacheObserver.changed method.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="movesChildrenOnExpand"><!-- --></A><H3>
movesChildrenOnExpand</H3>
<PRE>
protected boolean <B>movesChildrenOnExpand</B></PRE>
<DL>
<DD>Boolean indicating whether children should be moved to the parent group's
origin on expand. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="movesParentsOnCollapse"><!-- --></A><H3>
movesParentsOnCollapse</H3>
<PRE>
protected boolean <B>movesParentsOnCollapse</B></PRE>
<DL>
<DD>Boolean indicating whether parents should be moved to the child area
origin on collapse. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="resizesParentsOnCollapse"><!-- --></A><H3>
resizesParentsOnCollapse</H3>
<PRE>
protected boolean <B>resizesParentsOnCollapse</B></PRE>
<DL>
<DD>Boolean indicating whether parents should always be resized to the child
area on collapse. If false the size is only initially updated if it has
not yet been assigned. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="collapseXScale"><!-- --></A><H3>
collapseXScale</H3>
<PRE>
protected double <B>collapseXScale</B></PRE>
<DL>
<DD>Specified the initial x- and y-scaling factor for initial collapsed group
bounds. Default is 1.0, ie. no scaling.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="collapseYScale"><!-- --></A><H3>
collapseYScale</H3>
<PRE>
protected double <B>collapseYScale</B></PRE>
<DL>
<DD>Specified the initial x- and y-scaling factor for initial collapsed group
bounds. Default is 1.0, ie. no scaling.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="reconnectsEdgesToVisibleParent"><!-- --></A><H3>
reconnectsEdgesToVisibleParent</H3>
<PRE>
protected boolean <B>reconnectsEdgesToVisibleParent</B></PRE>
<DL>
<DD><B>Deprecated.</B> <I>edges are moved to parent view and back automatically</I>
<P>
<DD>Boolean indicating whether edges should be reconneted to visible parents
on collapse/expand. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="listenerList"><!-- --></A><H3>
listenerList</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/event/EventListenerList.html" title="class or interface in javax.swing.event">EventListenerList</A> <B>listenerList</B></PRE>
<DL>
<DD>The list of listeners that listen to the GraphLayoutCache.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="graphModel"><!-- --></A><H3>
graphModel</H3>
<PRE>
protected <A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> <B>graphModel</B></PRE>
<DL>
<DD>Reference to the graphModel
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="mapping"><!-- --></A><H3>
mapping</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>mapping</B></PRE>
<DL>
<DD>Maps cells to views.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="hiddenMapping"><!-- --></A><H3>
hiddenMapping</H3>
<PRE>
protected transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>hiddenMapping</B></PRE>
<DL>
<DD>Maps cells to views. The hidden mapping is used to remembed cell views
that are hidden, based on the remembersCellViews setting. hiddenMapping
must use weak keys for the cells since when cells are removed
hiddenMapping is not updated.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="factory"><!-- --></A><H3>
factory</H3>
<PRE>
protected <A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> <B>factory</B></PRE>
<DL>
<DD>Factory to create the views.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="visibleSet"><!-- --></A><H3>
visibleSet</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>visibleSet</B></PRE>
<DL>
<DD>The set of visible cells.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="roots"><!-- --></A><H3>
roots</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>roots</B></PRE>
<DL>
<DD>Ordered list of roots for the view.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="ports"><!-- --></A><H3>
ports</H3>
<PRE>
protected <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A>[] <B>ports</B></PRE>
<DL>
<DD>Cached array of all ports for the view.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="partial"><!-- --></A><H3>
partial</H3>
<PRE>
protected boolean <B>partial</B></PRE>
<DL>
<DD>Only portions of the model are visible.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="allAttributesLocal"><!-- --></A><H3>
allAttributesLocal</H3>
<PRE>
protected boolean <B>allAttributesLocal</B></PRE>
<DL>
<DD>Controls if all attributes are local. If this is false then the
createLocalEdit will check the localAttributes set to see if a specific
attribute is local, otherwise it will assume that all attributes are
local. This allows to make all attributes local without actually knowing
them. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="localAttributes"><!-- --></A><H3>
localAttributes</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>localAttributes</B></PRE>
<DL>
<DD>A set containing all attribute keys that are stored in the cell views, in
other words, the view-local attributes.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="GraphLayoutCache()"><!-- --></A><H3>
GraphLayoutCache</H3>
<PRE>
public <B>GraphLayoutCache</B>()</PRE>
<DL>
<DD>Constructs a graph layout cache.
<P>
</DL>
<HR>
<A NAME="GraphLayoutCache(org.jgraph.graph.GraphModel, org.jgraph.graph.CellViewFactory)"><!-- --></A><H3>
GraphLayoutCache</H3>
<PRE>
public <B>GraphLayoutCache</B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model,
<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> factory)</PRE>
<DL>
<DD>Constructs a view for the specified model that uses <code>factory</code>
to create its views.
<P>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - the model that constitues the data source</DL>
<HR>
<A NAME="GraphLayoutCache(org.jgraph.graph.GraphModel, org.jgraph.graph.CellViewFactory, boolean)"><!-- --></A><H3>
GraphLayoutCache</H3>
<PRE>
public <B>GraphLayoutCache</B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model,
<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> factory,
boolean partial)</PRE>
<DL>
<DD>Constructs a view for the specified model that uses <code>factory</code>
to create its views.
<P>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - the model that constitues the data source</DL>
<HR>
<A NAME="GraphLayoutCache(org.jgraph.graph.GraphModel, org.jgraph.graph.CellViewFactory, org.jgraph.graph.CellView[], org.jgraph.graph.CellView[], boolean)"><!-- --></A><H3>
GraphLayoutCache</H3>
<PRE>
public <B>GraphLayoutCache</B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model,
<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> factory,
<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] cellViews,
<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] hiddenCellViews,
boolean partial)</PRE>
<DL>
<DD>Constructs a view for the specified model that uses <code>factory</code>
to create its views.
<P>
<DT><B>Parameters:</B><DD><CODE>model</CODE> - the model that constitues the data source</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="addGraphLayoutCacheListener(org.jgraph.event.GraphLayoutCacheListener)"><!-- --></A><H3>
addGraphLayoutCacheListener</H3>
<PRE>
public void <B>addGraphLayoutCacheListener</B>(<A HREF="../../../org/jgraph/event/GraphLayoutCacheListener.html" title="interface in org.jgraph.event">GraphLayoutCacheListener</A> l)</PRE>
<DL>
<DD>Adds a listener for the GraphLayoutCacheEvent posted after the graph
layout cache changes.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the listener to add<DT><B>See Also:</B><DD><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#removeGraphLayoutCacheListener(org.jgraph.event.GraphLayoutCacheListener)"><CODE>removeGraphLayoutCacheListener(org.jgraph.event.GraphLayoutCacheListener)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="removeGraphLayoutCacheListener(org.jgraph.event.GraphLayoutCacheListener)"><!-- --></A><H3>
removeGraphLayoutCacheListener</H3>
<PRE>
public void <B>removeGraphLayoutCacheListener</B>(<A HREF="../../../org/jgraph/event/GraphLayoutCacheListener.html" title="interface in org.jgraph.event">GraphLayoutCacheListener</A> l)</PRE>
<DL>
<DD>Removes a listener previously added with <B>addGraphLayoutCacheListener()
</B>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the listener to remove<DT><B>See Also:</B><DD><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#addGraphLayoutCacheListener(org.jgraph.event.GraphLayoutCacheListener)"><CODE>addGraphLayoutCacheListener(org.jgraph.event.GraphLayoutCacheListener)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="cellViewsChanged(org.jgraph.graph.CellView[])"><!-- --></A><H3>
cellViewsChanged</H3>
<PRE>
public void <B>cellViewsChanged</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] cellViews)</PRE>
<DL>
<DD>Invoke this method after you've changed how the cells are to be
represented in the graph.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="fireGraphLayoutCacheChanged(java.lang.Object, org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange)"><!-- --></A><H3>
fireGraphLayoutCacheChanged</H3>
<PRE>
protected void <B>fireGraphLayoutCacheChanged</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> source,
<A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html" title="interface in org.jgraph.event">GraphLayoutCacheEvent.GraphLayoutCacheChange</A> edit)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getGraphLayoutCacheListeners()"><!-- --></A><H3>
getGraphLayoutCacheListeners</H3>
<PRE>
public <A HREF="../../../org/jgraph/event/GraphLayoutCacheListener.html" title="interface in org.jgraph.event">GraphLayoutCacheListener</A>[] <B>getGraphLayoutCacheListeners</B>()</PRE>
<DL>
<DD>Return an array of all GraphLayoutCacheListener that were added to this
model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setFactory(org.jgraph.graph.CellViewFactory)"><!-- --></A><H3>
setFactory</H3>
<PRE>
public void <B>setFactory</B>(<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> factory)</PRE>
<DL>
<DD>Sets the factory that creates the cell views.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getFactory()"><!-- --></A><H3>
getFactory</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A> <B>getFactory</B>()</PRE>
<DL>
<DD>Returns the factory that was passed to the constructor.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setModel(org.jgraph.graph.GraphModel)"><!-- --></A><H3>
setModel</H3>
<PRE>
public void <B>setModel</B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model)</PRE>
<DL>
<DD>Sets the current model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="update()"><!-- --></A><H3>
update</H3>
<PRE>
public void <B>update</B>()</PRE>
<DL>
<DD>Sets the current model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getCellViews()"><!-- --></A><H3>
getCellViews</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getCellViews</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns an unordered array of all visible cellviews.</DL>
</DD>
</DL>
<HR>
<A NAME="getBounds(org.jgraph.graph.CellView[])"><!-- --></A><H3>
getBounds</H3>
<PRE>
public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> <B>getBounds</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</PRE>
<DL>
<DD>Returns the bounding box for the specified cell views.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getCells(boolean, boolean, boolean, boolean)"><!-- --></A><H3>
getCells</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>getCells</B>(boolean groups,
boolean vertices,
boolean ports,
boolean edges)</PRE>
<DL>
<DD>A helper method to return various arrays of cells that are visible in
this cache. For example, to get all selected vertices in a graph, do
<code>graph.getSelectionCells(graph.getGraphLayoutCache().getCells(false, true,
false, false));</code>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="createNestedMap()"><!-- --></A><H3>
createNestedMap</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>createNestedMap</B>()</PRE>
<DL>
<DD>Returns a nested map of (cell, map) pairs that represent all attributes
of all cell views in this view.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#getCellViews()"><CODE>getCellViews()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getHiddenCellViews()"><!-- --></A><H3>
getHiddenCellViews</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getHiddenCellViews</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns an unordered array of all hidden cellviews.</DL>
</DD>
</DL>
<HR>
<A NAME="reload()"><!-- --></A><H3>
reload</H3>
<PRE>
public void <B>reload</B>()</PRE>
<DL>
<DD>Remaps all existing views using the CellViewFactory
and replaces the respective root views.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getModel()"><!-- --></A><H3>
getModel</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> <B>getModel</B>()</PRE>
<DL>
<DD>Returns the current model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getRoots()"><!-- --></A><H3>
getRoots</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getRoots</B>()</PRE>
<DL>
<DD>Returns the roots of the view.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getRoots(java.awt.geom.Rectangle2D)"><!-- --></A><H3>
getRoots</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getRoots</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> clip)</PRE>
<DL>
<DD>Return all root cells that intersect the given rectangle.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getVisibleCells(java.lang.Object[])"><!-- --></A><H3>
getVisibleCells</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>getVisibleCells</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Returns a an array with the visible cells in <code>cells</code>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPorts()"><!-- --></A><H3>
getPorts</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A>[] <B>getPorts</B>()</PRE>
<DL>
<DD>Returns the ports of the view.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="updatePorts()"><!-- --></A><H3>
updatePorts</H3>
<PRE>
protected void <B>updatePorts</B>()</PRE>
<DL>
<DD>Updates the cached array of ports.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="refresh(org.jgraph.graph.CellView[], boolean)"><!-- --></A><H3>
refresh</H3>
<PRE>
public void <B>refresh</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views,
boolean create)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="refresh(org.jgraph.graph.CellView, boolean)"><!-- --></A><H3>
refresh</H3>
<PRE>
public void <B>refresh</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> view,
boolean create)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="update(org.jgraph.graph.CellView[])"><!-- --></A><H3>
update</H3>
<PRE>
public void <B>update</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="update(org.jgraph.graph.CellView)"><!-- --></A><H3>
update</H3>
<PRE>
public void <B>update</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> view)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="graphChanged(org.jgraph.event.GraphModelEvent.GraphModelChange)"><!-- --></A><H3>
graphChanged</H3>
<PRE>
public void <B>graphChanged</B>(<A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A> change)</PRE>
<DL>
<DD>Called from BasicGraphUI.ModelHandler to update the view based on the
specified GraphModelEvent.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="reloadRoots()"><!-- --></A><H3>
reloadRoots</H3>
<PRE>
protected void <B>reloadRoots</B>()</PRE>
<DL>
<DD>Completely reloads all roots from the model in the order returned by
DefaultGraphModel.getAll. This uses the current visibleSet and mapping to
fetch the cell views for the cells.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getContext(org.jgraph.event.GraphModelEvent.GraphModelChange)"><!-- --></A><H3>
getContext</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>getContext</B>(<A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A> change)</PRE>
<DL>
<DD>Hook for subclassers to augment the context for a graphChange. This means
you can add additional cells that should be refreshed on a special change
event. eg. parallel edges when one is removed or added.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="hideCellsForChange(org.jgraph.event.GraphModelEvent.GraphModelChange)"><!-- --></A><H3>
hideCellsForChange</H3>
<PRE>
protected void <B>hideCellsForChange</B>(<A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A> change)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="hasVisibleParent(java.lang.Object, java.util.Set)"><!-- --></A><H3>
hasVisibleParent</H3>
<PRE>
protected boolean <B>hasVisibleParent</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> invisible)</PRE>
<DL>
<DD>Checks if the port or one of its parents is visible.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="showCellsForChange(org.jgraph.event.GraphModelEvent.GraphModelChange)"><!-- --></A><H3>
showCellsForChange</H3>
<PRE>
protected void <B>showCellsForChange</B>(<A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A> change)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="insertViews(org.jgraph.graph.CellView[])"><!-- --></A><H3>
insertViews</H3>
<PRE>
public void <B>insertViews</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</PRE>
<DL>
<DD>Adds the specified model root cells to the view. Do not add a view that
is already in roots.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="removeCells(java.lang.Object[])"><!-- --></A><H3>
removeCells</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>removeCells</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Removes the specified model root cells from the view by removing the
mapping between the cell and its view and makes the cells invisible.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getCells(org.jgraph.graph.CellView[])"><!-- --></A><H3>
getCells</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>getCells</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</PRE>
<DL>
<DD>Takes an array of views and returns the array of the corresponding cells
by using <code>getCell</code> for each view.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMapping(java.lang.Object, boolean)"><!-- --></A><H3>
getMapping</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getMapping</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
boolean create)</PRE>
<DL>
<DD>Returns the view for the specified cell. If create is true and no view is
found then a view is created using createView(Object).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellMapper.html#getMapping(java.lang.Object, boolean)">getMapping</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>create</CODE> - whether a new view should created if a view does not already
exist</DL>
</DD>
</DL>
<HR>
<A NAME="getMapping(java.lang.Object[])"><!-- --></A><H3>
getMapping</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getMapping</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Returns the views for the specified array of cells without creating these
views on the fly.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMapping(java.lang.Object[], boolean)"><!-- --></A><H3>
getMapping</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getMapping</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean create)</PRE>
<DL>
<DD>Returns the views for the specified array of cells. Returned array may
contain null pointers if the respective cell is not mapped in this view
and <code>create</code> is <code>false</code>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="putMapping(java.lang.Object, org.jgraph.graph.CellView)"><!-- --></A><H3>
putMapping</H3>
<PRE>
public void <B>putMapping</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> view)</PRE>
<DL>
<DD>Associates the specified model cell with the specified view.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellMapper.html#putMapping(java.lang.Object, org.jgraph.graph.CellView)">putMapping</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - the cell that constitutes the model element<DD><CODE>view</CODE> - the view that constitutes the view element</DL>
</DD>
</DL>
<HR>
<A NAME="removeMapping(java.lang.Object)"><!-- --></A><H3>
removeMapping</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>removeMapping</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD>Removes the association for the specified model cell and returns the view
that was previously associated with the cell. Updates the portlist if
necessary.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isVisible(java.lang.Object)"><!-- --></A><H3>
isVisible</H3>
<PRE>
public boolean <B>isVisible</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD>Whether or not the specified cell is visible.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
null is always visible
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - the whose visibility to determine
<DT><B>Returns:</B><DD>whether or not the cell is visible</DL>
</DD>
</DL>
<HR>
<A NAME="getVisibleSet()"><!-- --></A><H3>
getVisibleSet</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getVisibleSet</B>()</PRE>
<DL>
<DD>Returns the set of visible sets in this view.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the set of visible sets in this view.</DL>
</DD>
</DL>
<HR>
<A NAME="setVisibleSet(java.util.Set)"><!-- --></A><H3>
setVisibleSet</H3>
<PRE>
public void <B>setVisibleSet</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> visible)</PRE>
<DL>
<DD>Applies the specified set of cells as being those visible
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visible</CODE> - the set of visible cells</DL>
</DD>
</DL>
<HR>
<A NAME="setVisible(java.lang.Object, boolean)"><!-- --></A><H3>
setVisible</H3>
<PRE>
public void <B>setVisible</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
boolean visible)</PRE>
<DL>
<DD>Makes the specified cell visible or invisible depending on the flag
passed in. Note the cell really is a cell, not a cell view.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - the cell whose visibility is to be changed<DD><CODE>visible</CODE> - <code>true</code> if cell is to be made visible</DL>
</DD>
</DL>
<HR>
<A NAME="setVisible(java.lang.Object[], boolean)"><!-- --></A><H3>
setVisible</H3>
<PRE>
public void <B>setVisible</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean visible)</PRE>
<DL>
<DD>Makes the specified cells visible or invisible depending on the flag
passed in. Note the cells really are cells, not cell views.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - the cells whose visibility is to be changed<DD><CODE>visible</CODE> - <code>true</code> if the cells are to be made visible</DL>
</DD>
</DL>
<HR>
<A NAME="setVisible(java.lang.Object[], java.lang.Object[])"><!-- --></A><H3>
setVisible</H3>
<PRE>
public void <B>setVisible</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] visible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] invisible)</PRE>
<DL>
<DD>Changes the visibility state of the cells passed in. Note that the arrays
must contain cells, not cell views.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visible</CODE> - cells to be made visible<DD><CODE>invisible</CODE> - cells to be made invisible</DL>
</DD>
</DL>
<HR>
<A NAME="setVisible(java.lang.Object[], java.lang.Object[], org.jgraph.graph.ConnectionSet)"><!-- --></A><H3>
setVisible</H3>
<PRE>
public void <B>setVisible</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] visible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] invisible,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs)</PRE>
<DL>
<DD>Changes the visibility state of the cells passed in. Note that the arrays
must contain cells, not cell views.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visible</CODE> - cells to be made visible<DD><CODE>invisible</CODE> - cells to be made invisible<DD><CODE>cs</CODE> - a <code>ConnectionSet</code> describing the new state of
edge connections in the graph</DL>
</DD>
</DL>
<HR>
<A NAME="setVisible(java.lang.Object[], java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet)"><!-- --></A><H3>
setVisible</H3>
<PRE>
public void <B>setVisible</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] visible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] invisible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs)</PRE>
<DL>
<DD>Changes the visibility state of the cells passed in. Note that the arrays
must contain cells, not cell views.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visible</CODE> - cells to be made visible<DD><CODE>invisible</CODE> - cells to be made invisible<DD><CODE>attributes</CODE> - a nested attribute map of cells/attribute maps<DD><CODE>cs</CODE> - a <code>ConnectionSet</code> describing the new state of
edge connections in the graph</DL>
</DD>
</DL>
<HR>
<A NAME="addVisibleDependencies(java.lang.Object[], boolean)"><!-- --></A><H3>
addVisibleDependencies</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>addVisibleDependencies</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean visible)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setVisibleImpl(java.lang.Object[], boolean)"><!-- --></A><H3>
setVisibleImpl</H3>
<PRE>
public boolean <B>setVisibleImpl</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean visible)</PRE>
<DL>
<DD>The actual implementation of changing cells' visibility state. This
method does not deal with creating the undo or updating the
GraphLayoutCache correctly. The <code>setVisible</code> methods in this
class are intended to be the main public way to change visiblilty.
However, if you do not require the undo to be formed, this method is much
quicker, just note that you must call <code>updatePorts</code> if this
method returns true.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - <DD><CODE>visible</CODE> -
<DT><B>Returns:</B><DD>whether or not the ports needed updating in the calling method</DL>
</DD>
</DL>
<HR>
<A NAME="getParentPorts(java.lang.Object)"><!-- --></A><H3>
getParentPorts</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> <B>getParentPorts</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPorts(java.lang.Object)"><!-- --></A><H3>
getPorts</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> <B>getPorts</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isPartial()"><!-- --></A><H3>
isPartial</H3>
<PRE>
public boolean <B>isPartial</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPartial()"><!-- --></A><H3>
getPartial</H3>
<PRE>
public boolean <B>getPartial</B>()</PRE>
<DL>
<DD>Required for XML persistence
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>whether or not the cache is partial</DL>
</DD>
</DL>
<HR>
<A NAME="valueForCellChanged(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
valueForCellChanged</H3>
<PRE>
public void <B>valueForCellChanged</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> newValue)</PRE>
<DL>
<DD>Messaged when the user has altered the value for the item identified by
cell to newValue. If newValue signifies a truly new value the model
should post a graphCellsChanged event. This calls
augmentNestedMapForValueChange.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="augmentNestedMapForValueChange(java.util.Map, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
augmentNestedMapForValueChange</H3>
<PRE>
protected void <B>augmentNestedMapForValueChange</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> nested,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> newValue)</PRE>
<DL>
<DD>Hook for subclassers to add more stuff for value changes. Currently this
adds the new value to the change.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="insert(java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, javax.swing.undo.UndoableEdit[])"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] roots,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>[] e)</PRE>
<DL>
<DD>Inserts the <code>cells</code> and connections into the model, and
absorbs the local attributes. This implementation sets the inserted cells
visible and selects the new roots depending on graph.selectNewCells.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="insertClones(java.lang.Object[], java.util.Map, java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, double, double)"><!-- --></A><H3>
insertClones</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>insertClones</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> clones,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> nested,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm,
double dx,
double dy)</PRE>
<DL>
<DD>Inserts the cloned cells from the clone map and clones the passed-in
arguments according to the clone map before insertion and returns the
clones in order of the cells. This example shows how to clone the current
selection and get a reference to the clones:
<pre>
Object[] cells = graph.getDescendants(graph.order(graph.getSelectionCells()));
ConnectionSet cs = ConnectionSet.create(graphModel, cells, false);
ParentMap pm = ParentMap.create(graphModel, cells, false, true);
cells = graphLayoutCache.insertClones(cells, graph.cloneCells(cells),
attributes, cs, pm, 0, 0);
</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="insert(java.lang.Object)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD>Inserts the specified vertex into the graph model. This method does in
fact nothing, it calls insert edge with the vertex and the source and
target port set to null. This example shows how to add a vertex with a
port and a black border:
<pre>
DefaultGraphCell vertex = new DefaultGraphCell("Hello, world!");
Map attrs = vertex.getAttributes();
GraphConstants.setOpaque(attrs, false);
GraphConstants.setBorderColor(attrs, Color.black);
DefaultPort port = new DefaultPort();
vertex.add(port);
port.setParent(vertex);
graph.getGraphLayoutCache().insert(vertex);
</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - inserts the specified cell in the cache</DL>
</DD>
</DL>
<HR>
<A NAME="insertEdge(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
insertEdge</H3>
<PRE>
public void <B>insertEdge</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> edge,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> source,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> target)</PRE>
<DL>
<DD>Inserts the specified edge into the graph model. This method does in fact
nothing, it calls insert with a default connection set.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>edge</CODE> - the edge to be inserted<DD><CODE>source</CODE> - the source port this edge is connected to<DD><CODE>target</CODE> - the target port this edge is connected to</DL>
</DD>
</DL>
<HR>
<A NAME="insert(java.lang.Object[])"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Inserts the specified cells into the graph model. This method is a
general implementation of cell insertion. If the source and target port
are null, then no connection set is created. The method uses the
attributes from the specified edge and the egdge's children to construct
the insert call. This example shows how to insert an edge with a special
arrow between two known vertices:
<pre>
Object source = graph.getDefaultPortForCell(sourceVertex).getCell();
Object target = graph.getDefaultPortForCell(targetVertex).getCell();
DefaultEdge edge = new DefaultEdge("Hello, world!");
edge.setSource(source);
edge.setTarget(target);
Map attrs = edge.getAttributes();
GraphConstants.setLineEnd(attrs, GraphConstants.ARROW_TECHNICAL);
graph.getGraphLayoutCache().insert(edge);
</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="insert(java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> nested,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm)</PRE>
<DL>
<DD>Variant of the insert method that allows to pass a default connection set
and parent map and nested map.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="insertGroup(java.lang.Object, java.lang.Object[])"><!-- --></A><H3>
insertGroup</H3>
<PRE>
public void <B>insertGroup</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> group,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] children)</PRE>
<DL>
<DD>Inserts the specified cell as a parent of children. Note: All cells that
are not yet in the model will be inserted. This example shows how to
group the current selection and pass the group default bounds in case it
is later collapsed:
<pre>
DefaultGraphCell group = new DefaultGraphCell("Hello, world!");
Object[] cells = DefaultGraphModel.order(graph.getModel(), graph
.getSelectionCells());
Rectangle2D bounds = graph.getCellBounds(cells);
if (bounds != null) {
bounds = new Rectangle2D.Double(bounds.getX() + bounds.getWidth() / 4,
bounds.getY() + bounds.getHeight() / 4, bounds.getWidth() / 2,
bounds.getHeight() / 2);
GraphConstants.setBounds(group.getAttributes(), bounds);
}
graph.getGraphLayoutCache().insertGroup(group, cells);
</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="remove(java.lang.Object[])"><!-- --></A><H3>
remove</H3>
<PRE>
public void <B>remove</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Removes <code>cells</code> from the model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="remove(java.lang.Object[], boolean, boolean)"><!-- --></A><H3>
remove</H3>
<PRE>
public void <B>remove</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean descendants,
boolean edges)</PRE>
<DL>
<DD>Removes cells from the model, including all children and connected edges
if <code>children</code> or <code>edges</code> is true, respectively.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - The cells to remove.<DD><CODE>descendants</CODE> - Whether to remove all descendants as well.<DD><CODE>edges</CODE> - Whether to remove all connected edges as well.</DL>
</DD>
</DL>
<HR>
<A NAME="hideCells(java.lang.Object[], boolean)"><!-- --></A><H3>
hideCells</H3>
<PRE>
public void <B>hideCells</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean descandants)</PRE>
<DL>
<DD>Hides the specified cells with all children if <code>descandants</code>
is true.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="showCells(java.lang.Object[], boolean)"><!-- --></A><H3>
showCells</H3>
<PRE>
public void <B>showCells</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean descandants)</PRE>
<DL>
<DD>Shows the specified cells with all children if <code>descandants</code>
is true.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="ungroup(java.lang.Object[])"><!-- --></A><H3>
ungroup</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>ungroup</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Ungroups all groups in cells and returns the children that are not ports.
Note: This replaces the parents with their group cells in the group
structure.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toggleCollapsedState(java.lang.Object[], boolean, boolean)"><!-- --></A><H3>
toggleCollapsedState</H3>
<PRE>
public void <B>toggleCollapsedState</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
boolean collapseOnly,
boolean expandOnly)</PRE>
<DL>
<DD>Toggles the collapsed state of the specified cells.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cells</CODE> - The cells to toggle the collapsed state for.<DD><CODE>collapseOnly</CODE> - Whether cells should only be collapsed.<DD><CODE>expandOnly</CODE> - Whether cells should only be expanded.</DL>
</DD>
</DL>
<HR>
<A NAME="collapse(java.lang.Object[])"><!-- --></A><H3>
collapse</H3>
<PRE>
public void <B>collapse</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] groups)</PRE>
<DL>
<DD>Collapses all groups by hiding all their descendants.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>groups</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="expand(java.lang.Object[])"><!-- --></A><H3>
expand</H3>
<PRE>
public void <B>expand</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Expands all groups by showing all children. (Note: This does not show all
descandants, but only the first generation of children.)
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setCollapsedState(java.lang.Object[], java.lang.Object[])"><!-- --></A><H3>
setCollapsedState</H3>
<PRE>
public void <B>setCollapsedState</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] collapse,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] expand)</PRE>
<DL>
<DD>Collapses and/or expands the specified cell(s)
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>collapse</CODE> - the cells to be collapsed<DD><CODE>expand</CODE> - the cells to be expanded</DL>
</DD>
</DL>
<HR>
<A NAME="getParentPort(java.lang.Object, boolean)"><!-- --></A><H3>
getParentPort</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getParentPort</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> edge,
boolean source)</PRE>
<DL>
<DD>Hook for subclassers to return the first or last visible port to replace
the current source or target port of the edge. This is called when groups
are collapsed for the edges that cross the group, ie. go from a child
cell to a cell which is outside the group. This implementation returns
the first port of the parent group if source is true, otherwise it
returns the last port of the parent group.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getChildPort(java.lang.Object, boolean)"><!-- --></A><H3>
getChildPort</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getChildPort</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> edge,
boolean source)</PRE>
<DL>
<DD>Hook for subclassers to return the port to be used for edges that have
been connected to the group. This is called from expand. This returns the
first port of the first or last vertex depending on <code>source</code>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="edit(java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap, javax.swing.undo.UndoableEdit[])"><!-- --></A><H3>
edit</H3>
<PRE>
public void <B>edit</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes,
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>[] e)</PRE>
<DL>
<DD>Applies the <code>propertyMap</code> and the connection changes to the
model. The initial <code>edits</code> that triggered the call are
considered to be part of this transaction. Notifies the model- and undo
listeners of the change. Note: The passed in attributes may contain
PortViews.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="edit(java.util.Map)"><!-- --></A><H3>
edit</H3>
<PRE>
public void <B>edit</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes)</PRE>
<DL>
<DD>A shortcut method that takes a nested map and passes it to the edit
method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="edit(java.lang.Object[], java.util.Map)"><!-- --></A><H3>
edit</H3>
<PRE>
public void <B>edit</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes)</PRE>
<DL>
<DD>Applies the <code>attributes</code> to all <code>cells</code> by
creating a map that contains the attributes for each cell and passing it
to edit on this layout cache. Example:
<pre>
Map attrs = new java.util.Hashtable();
GraphConstants.setBackground(attrs, Color.RED);
graph.getGraphLayoutCache().edit(graph.getSelectionCells(), attrs);
</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="editCell(java.lang.Object, java.util.Map)"><!-- --></A><H3>
editCell</H3>
<PRE>
public void <B>editCell</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes)</PRE>
<DL>
<DD>Applies the <code>attributes</code> to a single <code>cell</code> by
creating a map that contains the attributes for this cell and passing it
to edit on this layout cache. Example:
<pre>
Map attrs = new java.util.Hashtable();
GraphConstants.setBackground(attrs, Color.RED);
graph.getGraphLayoutCache().editCell(graph.getSelectionCell(), attrs);
</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="augment(javax.swing.undo.UndoableEdit[], javax.swing.undo.UndoableEdit)"><!-- --></A><H3>
augment</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>[] <B>augment</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>[] e,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A> edit)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toBack(java.lang.Object[])"><!-- --></A><H3>
toBack</H3>
<PRE>
public void <B>toBack</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Sends <code>cells</code> to back. Note: This expects an array of cells!
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toFront(java.lang.Object[])"><!-- --></A><H3>
toFront</H3>
<PRE>
public void <B>toFront</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Brings <code>cells</code> to front. Note: This expects an array of
cells!
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="createLocalEdit(java.lang.Object[], java.util.Map, java.lang.Object[], java.lang.Object[])"><!-- --></A><H3>
createLocalEdit</H3>
<PRE>
protected <A HREF="../../../org/jgraph/graph/GraphLayoutCache.GraphLayoutCacheEdit.html" title="class in org.jgraph.graph">GraphLayoutCache.GraphLayoutCacheEdit</A> <B>createLocalEdit</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] inserted,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> nested,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] visible,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] invisible)</PRE>
<DL>
<DD>Creates a local edit for the specified change. A local operation contains
all visibility changes, as well as all changes to attributes that are
local, and all control attributes. <br>
Note: You must use cells as keys for the nested map, not cell views.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isLocalAttribute(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
isLocalAttribute</H3>
<PRE>
protected boolean <B>isLocalAttribute</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> key,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</PRE>
<DL>
<DD>Returns true if the set of local attributes contains <code>key</code>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isControlAttribute(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
isControlAttribute</H3>
<PRE>
protected boolean <B>isControlAttribute</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> key,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</PRE>
<DL>
<DD>Returns true if <code>key</code> is a control attribute
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="removeViewLocalAttribute(java.lang.Object, boolean, boolean)"><!-- --></A><H3>
removeViewLocalAttribute</H3>
<PRE>
public boolean <B>removeViewLocalAttribute</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> key,
boolean addToModel,
boolean override)</PRE>
<DL>
<DD>Handles the removal of view local attributes. Since these attributes are
only being stored in the view, the option is provided to copy the values
for that key into the model. Without this, those values are lost.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the key of the view local attribute<DD><CODE>addToModel</CODE> - whether or not to move the attribute values to the graph model<DD><CODE>override</CODE> - whether or not to override the key's value in the model cell's
attribute map if it exists
<DT><B>Returns:</B><DD>whether or not the operation completed sucessfully</DL>
</DD>
</DL>
<HR>
<A NAME="cellExpanded(java.lang.Object)"><!-- --></A><H3>
cellExpanded</H3>
<PRE>
protected void <B>cellExpanded</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD>Called when a child has been made visible by expanding its parent. This
implementation translates the child so that it reflects the offset of the
parent group since the child was last visible (see
<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html#movesChildrenOnExpand"><CODE>movesChildrenOnExpand</CODE></A>).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="cellWillCollapse(java.lang.Object)"><!-- --></A><H3>
cellWillCollapse</H3>
<PRE>
protected void <B>cellWillCollapse</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleAttributes(java.util.Map)"><!-- --></A><H3>
handleAttributes</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>handleAttributes</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes)</PRE>
<DL>
<DD>Attention: Undo will not work for routing-change if ROUTING and POINTS
are stored in different locations. This happens if the model holds the
routing attribute and the routing changes from unrouted to routed. In
this case the points in the view are already routed according to the new
scheme when written to the command history (-> no undo).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="translateViews(org.jgraph.graph.CellView[], double, double)"><!-- --></A><H3>
translateViews</H3>
<PRE>
public static void <B>translateViews</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views,
double dx,
double dy)</PRE>
<DL>
<DD>Translates the specified views by the given amount.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>views</CODE> - an array of cell view to each be translated<DD><CODE>dx</CODE> - the amount to translate the views in the x-axis<DD><CODE>dy</CODE> - the amount to translate the views in the x-axis</DL>
</DD>
</DL>
<HR>
<A NAME="getNeighbours(java.lang.Object, java.util.Set, boolean, boolean)"><!-- --></A><H3>
getNeighbours</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getNeighbours</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> exclude,
boolean directed,
boolean visibleCells)</PRE>
<DL>
<DD>Returns a collection of cells that are connected to the specified cell by
edges. Any cells specified in the exclude set will be ignored.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - The cell from which the neighbours will be determined<DD><CODE>exclude</CODE> - The set of cells to ignore when searching<DD><CODE>directed</CODE> - whether or not direction of edges should be taken into account<DD><CODE>visibleCells</CODE> - whether or not to only consider visible cells
<DT><B>Returns:</B><DD>Returns the list of neighbours for <code>cell</code></DL>
</DD>
</DL>
<HR>
<A NAME="getOutgoingEdges(java.lang.Object, java.util.Set, boolean, boolean)"><!-- --></A><H3>
getOutgoingEdges</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getOutgoingEdges</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> exclude,
boolean visibleCells,
boolean selfLoops)</PRE>
<DL>
<DD>Returns the outgoing edges for cell. Cell should be a port or a vertex.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - The cell from which the outgoing edges will be determined<DD><CODE>exclude</CODE> - The set of edges to ignore when searching<DD><CODE>visibleCells</CODE> - whether or not only visible cells should be processed<DD><CODE>selfLoops</CODE> - whether or not to include self loops in the returned list
<DT><B>Returns:</B><DD>Returns the list of outgoing edges for <code>cell</code></DL>
</DD>
</DL>
<HR>
<A NAME="getIncomingEdges(java.lang.Object, java.util.Set, boolean, boolean)"><!-- --></A><H3>
getIncomingEdges</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getIncomingEdges</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> exclude,
boolean visibleCells,
boolean selfLoops)</PRE>
<DL>
<DD>Returns the incoming edges for cell. Cell should be a port or a vertex.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - The cell from which the incoming edges will be determined<DD><CODE>exclude</CODE> - The set of edges to ignore when searching<DD><CODE>visibleCells</CODE> - whether or not only visible cells should be processed<DD><CODE>selfLoops</CODE> - whether or not to include self loops in the returned list
<DT><B>Returns:</B><DD>Returns the list of incoming edges for <code>cell</code></DL>
</DD>
</DL>
<HR>
<A NAME="getEdges(java.lang.Object, java.util.Set, boolean, boolean, boolean)"><!-- --></A><H3>
getEdges</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getEdges</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell,
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> exclude,
boolean visibleCells,
boolean selfLoops,
boolean incoming)</PRE>
<DL>
<DD>Returns the incoming or outgoing edges for cell. Cell should be a port or
a vertex.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - The cell from which the edges will be determined<DD><CODE>exclude</CODE> - The set of edges to ignore when searching<DD><CODE>visibleCells</CODE> - whether or not only visible cells should be processed<DD><CODE>selfLoops</CODE> - whether or not to include self loops in the returned list<DD><CODE>incoming</CODE> - <code>true</code> if incoming edges are to be obtained,
<code>false</code> if outgoing edges are to be obtained
<DT><B>Returns:</B><DD>Returns the list of incoming or outgoing edges for
<code>cell</code></DL>
</DD>
</DL>
<HR>
<A NAME="getAllViews()"><!-- --></A><H3>
getAllViews</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getAllViews</B>()</PRE>
<DL>
<DD>Returns all views, shortcut to getAllDescendants(getRoots())
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAllDescendants(org.jgraph.graph.CellView[])"><!-- --></A><H3>
getAllDescendants</H3>
<PRE>
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getAllDescendants</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] views)</PRE>
<DL>
<DD>Returns all views, including descendants that have a parent in
<code>views</code>, especially the PortViews. Note: Iterative
Implementation using model.getChild and getMapping on this cell mapper.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getHiddenMapping()"><!-- --></A><H3>
getHiddenMapping</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getHiddenMapping</B>()</PRE>
<DL>
<DD>Returns the hiddenMapping.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Map</DL>
</DD>
</DL>
<HR>
<A NAME="setShowsExistingConnections(boolean)"><!-- --></A><H3>
setShowsExistingConnections</H3>
<PRE>
public void <B>setShowsExistingConnections</B>(boolean showsExistingConnections)</PRE>
<DL>
<DD>Sets the showsExistingConnections
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>showsExistingConnections</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="isShowsExistingConnections()"><!-- --></A><H3>
isShowsExistingConnections</H3>
<PRE>
public boolean <B>isShowsExistingConnections</B>()</PRE>
<DL>
<DD>Returns the showsExistingConnections.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>boolean</DL>
</DD>
</DL>
<HR>
<A NAME="setShowsInsertedConnections(boolean)"><!-- --></A><H3>
setShowsInsertedConnections</H3>
<PRE>
public void <B>setShowsInsertedConnections</B>(boolean showsInsertedConnections)</PRE>
<DL>
<DD>Sets the showsInsertedConnections
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>showsInsertedConnections</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="isShowsInsertedConnections()"><!-- --></A><H3>
isShowsInsertedConnections</H3>
<PRE>
public boolean <B>isShowsInsertedConnections</B>()</PRE>
<DL>
<DD>Returns the showsInsertedConnections.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>boolean</DL>
</DD>
</DL>
<HR>
<A NAME="setHidesExistingConnections(boolean)"><!-- --></A><H3>
setHidesExistingConnections</H3>
<PRE>
public void <B>setHidesExistingConnections</B>(boolean hidesExistingConnections)</PRE>
<DL>
<DD>Sets the hidesExistingConnections
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>hidesExistingConnections</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="isHidesExistingConnections()"><!-- --></A><H3>
isHidesExistingConnections</H3>
<PRE>
public boolean <B>isHidesExistingConnections</B>()</PRE>
<DL>
<DD>Returns the hidesExistingConnections.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>boolean</DL>
</DD>
</DL>
<HR>
<A NAME="setHidesDanglingConnections(boolean)"><!-- --></A><H3>
setHidesDanglingConnections</H3>
<PRE>
public void <B>setHidesDanglingConnections</B>(boolean hidesDanglingConnections)</PRE>
<DL>
<DD>Sets the hidesDanglingConnections
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>hidesDanglingConnections</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="isHidesDanglingConnections()"><!-- --></A><H3>
isHidesDanglingConnections</H3>
<PRE>
public boolean <B>isHidesDanglingConnections</B>()</PRE>
<DL>
<DD>Returns the hidesDanglingConnections.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>boolean</DL>
</DD>
</DL>
<HR>
<A NAME="setRemembersCellViews(boolean)"><!-- --></A><H3>
setRemembersCellViews</H3>
<PRE>
public void <B>setRemembersCellViews</B>(boolean rememberCellViews)</PRE>
<DL>
<DD>Sets the rememberCellViews.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rememberCellViews</CODE> - The rememberCellViews to set</DL>
</DD>
</DL>
<HR>
<A NAME="isRemembersCellViews()"><!-- --></A><H3>
isRemembersCellViews</H3>
<PRE>
public boolean <B>isRemembersCellViews</B>()</PRE>
<DL>
<DD>Returns the remembersCellViews.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>boolean</DL>
</DD>
</DL>
<HR>
<A NAME="setHiddenSet(java.util.Map)"><!-- --></A><H3>
setHiddenSet</H3>
<PRE>
public void <B>setHiddenSet</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> hiddenSet)</PRE>
<DL>
<DD>Sets the hiddenSet.
NOTE: Your GraphLayoutCache must be <code>partial</code> (set
<code>partial</code> to <code>true</code> in the constructor)
in order to use the visibility functionality of expand/collapse,
setVisible, etc.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>hiddenSet</CODE> - The hiddenSet to set</DL>
</DD>
</DL>
<HR>
<A NAME="getLocalAttributes()"><!-- --></A><H3>
getLocalAttributes</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>getLocalAttributes</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the localAttributes.</DL>
</DD>
</DL>
<HR>
<A NAME="setLocalAttributes(java.util.Set)"><!-- --></A><H3>
setLocalAttributes</H3>
<PRE>
public void <B>setLocalAttributes</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> localAttributes)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>localAttributes</CODE> - The localAttributes to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isAllAttributesLocal()"><!-- --></A><H3>
isAllAttributesLocal</H3>
<PRE>
public boolean <B>isAllAttributesLocal</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the askLocalAttribute.</DL>
</DD>
</DL>
<HR>
<A NAME="setAllAttributesLocal(boolean)"><!-- --></A><H3>
setAllAttributesLocal</H3>
<PRE>
public void <B>setAllAttributesLocal</B>(boolean allAttributesLocal)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>allAttributesLocal</CODE> - The allAttributesLocal to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isAutoSizeOnValueChange()"><!-- --></A><H3>
isAutoSizeOnValueChange</H3>
<PRE>
public boolean <B>isAutoSizeOnValueChange</B>()</PRE>
<DL>
<DD>Returns true if cells should be auto-sized when their values change
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if cells should be auto-sized when their values change</DL>
</DD>
</DL>
<HR>
<A NAME="setAutoSizeOnValueChange(boolean)"><!-- --></A><H3>
setAutoSizeOnValueChange</H3>
<PRE>
public void <B>setAutoSizeOnValueChange</B>(boolean flag)</PRE>
<DL>
<DD>Determines whether cells should be auto-sized when their values change.
Fires a property change event if the new setting is different from the
existing setting.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>flag</CODE> - a boolean value, true if cells should be auto-sized when their
values change</DL>
</DD>
</DL>
<HR>
<A NAME="isSelectsAllInsertedCells()"><!-- --></A><H3>
isSelectsAllInsertedCells</H3>
<PRE>
public boolean <B>isSelectsAllInsertedCells</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the selectsAllInsertedCells.</DL>
</DD>
</DL>
<HR>
<A NAME="setSelectsAllInsertedCells(boolean)"><!-- --></A><H3>
setSelectsAllInsertedCells</H3>
<PRE>
public void <B>setSelectsAllInsertedCells</B>(boolean selectsAllInsertedCells)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>selectsAllInsertedCells</CODE> - The selectsAllInsertedCells to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isSelectsLocalInsertedCells()"><!-- --></A><H3>
isSelectsLocalInsertedCells</H3>
<PRE>
public boolean <B>isSelectsLocalInsertedCells</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the selectsLocalInsertedCells.</DL>
</DD>
</DL>
<HR>
<A NAME="setSelectsLocalInsertedCells(boolean)"><!-- --></A><H3>
setSelectsLocalInsertedCells</H3>
<PRE>
public void <B>setSelectsLocalInsertedCells</B>(boolean selectsLocalInsertedCells)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>selectsLocalInsertedCells</CODE> - The selectsLocalInsertedCells to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isReconnectsEdgesToVisibleParent()"><!-- --></A><H3>
isReconnectsEdgesToVisibleParent</H3>
<PRE>
public boolean <B>isReconnectsEdgesToVisibleParent</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> <I>edges are moved to parent view and back automatically</I>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the reconnectsEdgesToVisibleParent.</DL>
</DD>
</DL>
<HR>
<A NAME="setReconnectsEdgesToVisibleParent(boolean)"><!-- --></A><H3>
setReconnectsEdgesToVisibleParent</H3>
<PRE>
public void <B>setReconnectsEdgesToVisibleParent</B>(boolean reconnectsEdgesToVisibleParent)</PRE>
<DL>
<DD><B>Deprecated.</B> <I>edges are moved to parent view and back automatically</I>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reconnectsEdgesToVisibleParent</CODE> - The reconnectsEdgesToVisibleParent to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isShowsChangedConnections()"><!-- --></A><H3>
isShowsChangedConnections</H3>
<PRE>
public boolean <B>isShowsChangedConnections</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the showsChangedConnections.</DL>
</DD>
</DL>
<HR>
<A NAME="setShowsChangedConnections(boolean)"><!-- --></A><H3>
setShowsChangedConnections</H3>
<PRE>
public void <B>setShowsChangedConnections</B>(boolean showsChangedConnections)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>showsChangedConnections</CODE> - The showsChangedConnections to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isMovesChildrenOnExpand()"><!-- --></A><H3>
isMovesChildrenOnExpand</H3>
<PRE>
public boolean <B>isMovesChildrenOnExpand</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the moveChildrenOnExpand.</DL>
</DD>
</DL>
<HR>
<A NAME="setMovesChildrenOnExpand(boolean)"><!-- --></A><H3>
setMovesChildrenOnExpand</H3>
<PRE>
public void <B>setMovesChildrenOnExpand</B>(boolean moveChildrenOnExpand)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>moveChildrenOnExpand</CODE> - The moveChildrenOnExpand to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isShowsInvisibleEditedCells()"><!-- --></A><H3>
isShowsInvisibleEditedCells</H3>
<PRE>
public boolean <B>isShowsInvisibleEditedCells</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setShowsInvisibleEditedCells(boolean)"><!-- --></A><H3>
setShowsInvisibleEditedCells</H3>
<PRE>
public void <B>setShowsInvisibleEditedCells</B>(boolean showsInvisibleEditedCells)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getCollapseXScale()"><!-- --></A><H3>
getCollapseXScale</H3>
<PRE>
public double <B>getCollapseXScale</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the collapseXScale.</DL>
</DD>
</DL>
<HR>
<A NAME="setCollapseXScale(double)"><!-- --></A><H3>
setCollapseXScale</H3>
<PRE>
public void <B>setCollapseXScale</B>(double collapseXScale)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>collapseXScale</CODE> - The collapseXScale to set.</DL>
</DD>
</DL>
<HR>
<A NAME="getCollapseYScale()"><!-- --></A><H3>
getCollapseYScale</H3>
<PRE>
public double <B>getCollapseYScale</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the collapseYScale.</DL>
</DD>
</DL>
<HR>
<A NAME="setCollapseYScale(double)"><!-- --></A><H3>
setCollapseYScale</H3>
<PRE>
public void <B>setCollapseYScale</B>(double collapseYScale)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>collapseYScale</CODE> - The collapseYScale to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isMovesParentsOnCollapse()"><!-- --></A><H3>
isMovesParentsOnCollapse</H3>
<PRE>
public boolean <B>isMovesParentsOnCollapse</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the movesParentsOnCollapse.</DL>
</DD>
</DL>
<HR>
<A NAME="setMovesParentsOnCollapse(boolean)"><!-- --></A><H3>
setMovesParentsOnCollapse</H3>
<PRE>
public void <B>setMovesParentsOnCollapse</B>(boolean movesParentsOnCollapse)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>movesParentsOnCollapse</CODE> - The movesParentsOnCollapse to set.</DL>
</DD>
</DL>
<HR>
<A NAME="isResizesParentsOnCollapse()"><!-- --></A><H3>
isResizesParentsOnCollapse</H3>
<PRE>
public boolean <B>isResizesParentsOnCollapse</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the resizesParentsOnCollapse.</DL>
</DD>
</DL>
<HR>
<A NAME="setResizesParentsOnCollapse(boolean)"><!-- --></A><H3>
setResizesParentsOnCollapse</H3>
<PRE>
public void <B>setResizesParentsOnCollapse</B>(boolean resizesParentsOnCollapse)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resizesParentsOnCollapse</CODE> - The resizesParentsOnCollapse to set.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GraphLayoutCache.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<p><b>JGraph</b><br>v5.12.4.2</p></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/jgraph/graph/GraphContext.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>
<A HREF="../../../org/jgraph/graph/GraphLayoutCache.GraphLayoutCacheEdit.html" title="class in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="GraphLayoutCache.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<font size=1>Copyright (C) 2001-2008 <a href="http://www.jgraph.com/"
target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
</BODY>
</HTML>
|