/usr/share/doc/libjuce/apiref/classComponent.html is in libjuce-doc 4.3.0~repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: Component Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">JUCE
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="classComponent-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Component Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The base class for all JUCE user-interface objects.
<a href="classComponent.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Component:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center">
<img src="classComponent.png" usemap="#Component_map" alt=""/>
<map id="Component_map" name="Component_map">
<area href="classMouseListener.html" title="A MouseListener can be registered with a component to receive callbacks about mouse events that happe..." alt="MouseListener" shape="rect" coords="0,0,241,24"/>
<area href="classActiveXControlComponent.html" title="A Windows-specific class that can create and embed an ActiveX control inside itself. " alt="ActiveXControlComponent" shape="rect" coords="251,112,492,136"/>
<area href="classAnimatedAppComponent.html" title="A base class for writing simple one-page graphical apps. " alt="AnimatedAppComponent" shape="rect" coords="251,168,492,192"/>
<area href="classAudioAppComponent.html" title="A base class for writing audio apps that stream from the audio i/o devices. " alt="AudioAppComponent" shape="rect" coords="251,224,492,248"/>
<area href="classAudioDeviceSelectorComponent.html" title="A component containing controls to let the user change the audio settings of an AudioDeviceManager ob..." alt="AudioDeviceSelectorComponent" shape="rect" coords="251,280,492,304"/>
<area href="classAudioProcessorEditor.html" title="Base class for the component that acts as the GUI for an AudioProcessor. " alt="AudioProcessorEditor" shape="rect" coords="251,336,492,360"/>
<area href="classAudioVisualiserComponent.html" title="A simple component that can be used to show a scrolling waveform of audio data. " alt="AudioVisualiserComponent" shape="rect" coords="251,392,492,416"/>
<area href="classBubbleComponent.html" title="A component for showing a message or other graphics inside a speech-bubble-shaped outline..." alt="BubbleComponent" shape="rect" coords="251,448,492,472"/>
<area href="classButton.html" title="A base class for buttons. " alt="Button" shape="rect" coords="251,504,492,528"/>
<area href="classCallOutBox.html" title="A box with a small arrow that can be used as a temporary pop-up window to show extra controls when a ..." alt="CallOutBox" shape="rect" coords="251,560,492,584"/>
<area href="classCaretComponent.html" alt="CaretComponent" shape="rect" coords="251,616,492,640"/>
<area href="classCodeEditorComponent.html" title="A text editor component designed specifically for source code. " alt="CodeEditorComponent" shape="rect" coords="251,672,492,696"/>
<area href="classColourSelector.html" title="A component that lets the user choose a colour. " alt="ColourSelector" shape="rect" coords="251,728,492,752"/>
<area href="classComboBox.html" title="A component that lets the user choose from a drop-down list of choices. " alt="ComboBox" shape="rect" coords="251,784,492,808"/>
<area href="classConcertinaPanel.html" title="A panel which holds a vertical stack of components which can be expanded and contracted. " alt="ConcertinaPanel" shape="rect" coords="251,840,492,864"/>
<area href="classDirectShowComponent.html" title="A window that can play back a DirectShow video. " alt="DirectShowComponent" shape="rect" coords="251,896,492,920"/>
<area href="classDrawable.html" title="The base class for objects which can draw themselves, e.g. " alt="Drawable" shape="rect" coords="251,952,492,976"/>
<area href="classFileBrowserComponent.html" title="A component for browsing and selecting a file or directory to open or save. " alt="FileBrowserComponent" shape="rect" coords="251,1008,492,1032"/>
<area href="classFilenameComponent.html" title="Shows a filename as an editable text box, with a 'browse' button and a drop-down list for recently se..." alt="FilenameComponent" shape="rect" coords="251,1064,492,1088"/>
<area href="classFilePreviewComponent.html" title="Base class for components that live inside a file chooser dialog box and show previews of the files t..." alt="FilePreviewComponent" shape="rect" coords="251,1120,492,1144"/>
<area href="classFileSearchPathListComponent.html" title="Shows a set of file paths in a list, allowing them to be added, removed or re-ordered. " alt="FileSearchPathListComponent" shape="rect" coords="251,1176,492,1200"/>
<area href="classGroupComponent.html" title="A component that draws an outline around itself and has an optional title at the top, for drawing an outline around a group of controls. " alt="GroupComponent" shape="rect" coords="251,1232,492,1256"/>
<area href="classImageComponent.html" title="A component that simply displays an image. " alt="ImageComponent" shape="rect" coords="251,1288,492,1312"/>
<area href="classKeyMappingEditorComponent.html" title="A component to allow editing of the keymaps stored by a KeyPressMappingSet object. " alt="KeyMappingEditorComponent" shape="rect" coords="251,1344,492,1368"/>
<area href="classLabel.html" title="A component that displays a text string, and can optionally become a text editor when clicked..." alt="Label" shape="rect" coords="251,1400,492,1424"/>
<area href="classLassoComponent.html" title="A component that acts as a rectangular selection region, which you drag with the mouse to select grou..." alt="LassoComponent< SelectableItemType >" shape="rect" coords="251,1456,492,1480"/>
<area href="classListBox.html" title="A list of items that can be scrolled vertically. " alt="ListBox" shape="rect" coords="251,1512,492,1536"/>
<area href="classMenuBarComponent.html" title="A menu bar component. " alt="MenuBarComponent" shape="rect" coords="251,1568,492,1592"/>
<area href="classMidiKeyboardComponent.html" title="A component that displays a piano keyboard, whose notes can be clicked on. " alt="MidiKeyboardComponent" shape="rect" coords="251,1624,492,1648"/>
<area href="classMultiDocumentPanel.html" title="A component that contains a set of other components either in floating windows or tabs..." alt="MultiDocumentPanel" shape="rect" coords="251,1680,492,1704"/>
<area href="classNSViewComponent.html" title="A Mac-specific class that can create and embed an NSView inside itself. " alt="NSViewComponent" shape="rect" coords="251,1736,492,1760"/>
<area href="classOnlineUnlockForm.html" title="Acts as a GUI which asks the user for their details, and calls the approriate methods on your OnlineU..." alt="OnlineUnlockForm" shape="rect" coords="251,1792,492,1816"/>
<area href="classOpenGLAppComponent.html" title="A base class for writing simple one-page graphical apps. " alt="OpenGLAppComponent" shape="rect" coords="251,1848,492,1872"/>
<area href="classPluginListComponent.html" title="A component displaying a list of plugins, with options to scan for them, add, remove and sort them..." alt="PluginListComponent" shape="rect" coords="251,1904,492,1928"/>
<area href="classPopupMenu_1_1CustomComponent.html" title="A user-defined component that can be used as an item in a popup menu. " alt="PopupMenu::CustomComponent" shape="rect" coords="251,1960,492,1984"/>
<area href="classPreferencesPanel.html" title="A component with a set of buttons at the top for changing between pages of preferences. " alt="PreferencesPanel" shape="rect" coords="251,2016,492,2040"/>
<area href="classProgressBar.html" title="A progress bar component. " alt="ProgressBar" shape="rect" coords="251,2072,492,2096"/>
<area href="classPropertyComponent.html" title="A base class for a component that goes in a PropertyPanel and displays one of an item's properties..." alt="PropertyComponent" shape="rect" coords="251,2128,492,2152"/>
<area href="classPropertyPanel.html" title="A panel that holds a list of PropertyComponent objects. " alt="PropertyPanel" shape="rect" coords="251,2184,492,2208"/>
<area href="classResizableBorderComponent.html" title="A component that resizes its parent component when dragged. " alt="ResizableBorderComponent" shape="rect" coords="251,2240,492,2264"/>
<area href="classResizableCornerComponent.html" title="A component that resizes a parent component when dragged. " alt="ResizableCornerComponent" shape="rect" coords="251,2296,492,2320"/>
<area href="classResizableEdgeComponent.html" title="A component that resizes its parent component when dragged. " alt="ResizableEdgeComponent" shape="rect" coords="251,2352,492,2376"/>
<area href="classScrollBar.html" title="A scrollbar component. " alt="ScrollBar" shape="rect" coords="251,2408,492,2432"/>
<area href="classSlider.html" title="A slider control for changing a value. " alt="Slider" shape="rect" coords="251,2464,492,2488"/>
<area href="classSplashScreen.html" title="A component for showing a splash screen while your app starts up. " alt="SplashScreen" shape="rect" coords="251,2520,492,2544"/>
<area href="classStretchableLayoutResizerBar.html" title="A component that acts as one of the vertical or horizontal bars you see being used to resize panels i..." alt="StretchableLayoutResizerBar" shape="rect" coords="251,2576,492,2600"/>
<area href="classSystemTrayIconComponent.html" title="This component sits in the taskbar tray as a small icon. " alt="SystemTrayIconComponent" shape="rect" coords="251,2632,492,2656"/>
<area href="classTabbedButtonBar.html" title="A vertical or horizontal bar containing tabs that you can select. " alt="TabbedButtonBar" shape="rect" coords="251,2688,492,2712"/>
<area href="classTabbedComponent.html" title="A component with a TabbedButtonBar along one of its sides. " alt="TabbedComponent" shape="rect" coords="251,2744,492,2768"/>
<area href="classTableHeaderComponent.html" title="A component that displays a strip of column headings for a table, and allows these to be resized..." alt="TableHeaderComponent" shape="rect" coords="251,2800,492,2824"/>
<area href="classTextEditor.html" title="An editable text box. " alt="TextEditor" shape="rect" coords="251,2856,492,2880"/>
<area href="classToolbar.html" title="A toolbar component. " alt="Toolbar" shape="rect" coords="251,2912,492,2936"/>
<area href="classToolbarItemPalette.html" title="A component containing a list of toolbar items, which the user can drag onto a toolbar to add them..." alt="ToolbarItemPalette" shape="rect" coords="251,2968,492,2992"/>
<area href="classTooltipWindow.html" title="A window that displays a pop-up tooltip when the mouse hovers over another component. " alt="TooltipWindow" shape="rect" coords="251,3024,492,3048"/>
<area href="classTopLevelWindow.html" title="A base class for top-level windows. " alt="TopLevelWindow" shape="rect" coords="251,3080,492,3104"/>
<area href="classTreeView.html" title="A tree-view component. " alt="TreeView" shape="rect" coords="251,3136,492,3160"/>
<area href="classUIViewComponent.html" title="An iOS-specific class that can create and embed an UIView inside itself. " alt="UIViewComponent" shape="rect" coords="251,3192,492,3216"/>
<area href="classViewport.html" title="A Viewport is used to contain a larger child component, and allows the child to be automatically scro..." alt="Viewport" shape="rect" coords="251,3248,492,3272"/>
<area href="classWebBrowserComponent.html" title="A component that displays an embedded web browser. " alt="WebBrowserComponent" shape="rect" coords="251,3304,492,3328"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent_1_1BailOutChecker.html">BailOutChecker</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A class to keep an eye on a component and check for it being deleted. <a href="classComponent_1_1BailOutChecker.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent_1_1Positioner.html">Positioner</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Base class for objects that can be used to automatically position a component according to some kind of algorithm. <a href="classComponent_1_1Positioner.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent_1_1SafePointer.html">SafePointer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Holds a pointer to some type of <a class="el" href="classComponent.html" title="The base class for all JUCE user-interface objects. ">Component</a>, which automatically becomes null if the component is deleted. <a href="classComponent_1_1SafePointer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a7fd775ea6b1190d5d694fdffa539dfac"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">FocusChangeType</a> { <a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfaca350527c976c183a1543958e0698572df">focusChangedByMouseClick</a>,
<a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfaca1a14be78d7c4bdf7cdd9a08100bb6a43">focusChangedByTabKey</a>,
<a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfacad71927268411a4afe7f75bf6034add04">focusChangedDirectly</a>
}<tr class="memdesc:a7fd775ea6b1190d5d694fdffa539dfac"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration used by the focusChanged() and <a class="el" href="classComponent.html#a36456ea9d5a14172d6e96527ec1f59c8" title="Called to indicate that this component has just lost the keyboard focus. ">focusLost()</a> methods. <a href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a7fd775ea6b1190d5d694fdffa539dfac"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5ee1827aaa22388d22da5200b70eeeee"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a5ee1827aaa22388d22da5200b70eeeee">Component</a> () noexcept</td></tr>
<tr class="memdesc:a5ee1827aaa22388d22da5200b70eeeee"><td class="mdescLeft"> </td><td class="mdescRight">Creates a component. <a href="#a5ee1827aaa22388d22da5200b70eeeee">More...</a><br /></td></tr>
<tr class="separator:a5ee1827aaa22388d22da5200b70eeeee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2e9aa4348314d981f05f67397ad2f872"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2e9aa4348314d981f05f67397ad2f872">~Component</a> ()</td></tr>
<tr class="memdesc:a2e9aa4348314d981f05f67397ad2f872"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a2e9aa4348314d981f05f67397ad2f872">More...</a><br /></td></tr>
<tr class="separator:a2e9aa4348314d981f05f67397ad2f872"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e2e31d288ccd68aae89897d3068f594"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a8e2e31d288ccd68aae89897d3068f594">Component</a> (const <a class="el" href="classString.html">String</a> &componentName) noexcept</td></tr>
<tr class="memdesc:a8e2e31d288ccd68aae89897d3068f594"><td class="mdescLeft"> </td><td class="mdescRight">Creates a component, setting its name at the same time. <a href="#a8e2e31d288ccd68aae89897d3068f594">More...</a><br /></td></tr>
<tr class="separator:a8e2e31d288ccd68aae89897d3068f594"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d410bec5641d596bb8dbcf95d8b46a5"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9d410bec5641d596bb8dbcf95d8b46a5">getName</a> () const noexcept</td></tr>
<tr class="memdesc:a9d410bec5641d596bb8dbcf95d8b46a5"><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of this component. <a href="#a9d410bec5641d596bb8dbcf95d8b46a5">More...</a><br /></td></tr>
<tr class="separator:a9d410bec5641d596bb8dbcf95d8b46a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64d1ad9a0f8f0d1757e62ac738b36b35"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a64d1ad9a0f8f0d1757e62ac738b36b35">setName</a> (const <a class="el" href="classString.html">String</a> &newName)</td></tr>
<tr class="memdesc:a64d1ad9a0f8f0d1757e62ac738b36b35"><td class="mdescLeft"> </td><td class="mdescRight">Sets the name of this component. <a href="#a64d1ad9a0f8f0d1757e62ac738b36b35">More...</a><br /></td></tr>
<tr class="separator:a64d1ad9a0f8f0d1757e62ac738b36b35"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93a0bfdc298b93992166b081b122665b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classString.html">String</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a93a0bfdc298b93992166b081b122665b">getComponentID</a> () const noexcept</td></tr>
<tr class="memdesc:a93a0bfdc298b93992166b081b122665b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the ID string that was set by <a class="el" href="classComponent.html#ac41c215031a087064add6d3a180abd1d" title="Sets the component's ID string. ">setComponentID()</a>. <a href="#a93a0bfdc298b93992166b081b122665b">More...</a><br /></td></tr>
<tr class="separator:a93a0bfdc298b93992166b081b122665b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac41c215031a087064add6d3a180abd1d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ac41c215031a087064add6d3a180abd1d">setComponentID</a> (const <a class="el" href="classString.html">String</a> &newID)</td></tr>
<tr class="memdesc:ac41c215031a087064add6d3a180abd1d"><td class="mdescLeft"> </td><td class="mdescRight">Sets the component's ID string. <a href="#ac41c215031a087064add6d3a180abd1d">More...</a><br /></td></tr>
<tr class="separator:ac41c215031a087064add6d3a180abd1d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8483af6fe4dc3254e7176df0d8e9f7a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ac8483af6fe4dc3254e7176df0d8e9f7a">setVisible</a> (bool shouldBeVisible)</td></tr>
<tr class="memdesc:ac8483af6fe4dc3254e7176df0d8e9f7a"><td class="mdescLeft"> </td><td class="mdescRight">Makes the component visible or invisible. <a href="#ac8483af6fe4dc3254e7176df0d8e9f7a">More...</a><br /></td></tr>
<tr class="separator:ac8483af6fe4dc3254e7176df0d8e9f7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ffb3de137ac4028e430a445c62a2d01"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7ffb3de137ac4028e430a445c62a2d01">isVisible</a> () const noexcept</td></tr>
<tr class="memdesc:a7ffb3de137ac4028e430a445c62a2d01"><td class="mdescLeft"> </td><td class="mdescRight">Tests whether the component is visible or not. <a href="#a7ffb3de137ac4028e430a445c62a2d01">More...</a><br /></td></tr>
<tr class="separator:a7ffb3de137ac4028e430a445c62a2d01"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3859d7aacb18fd51b2fc3e0c51680d1c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a3859d7aacb18fd51b2fc3e0c51680d1c">visibilityChanged</a> ()</td></tr>
<tr class="memdesc:a3859d7aacb18fd51b2fc3e0c51680d1c"><td class="mdescLeft"> </td><td class="mdescRight">Called when this component's visibility changes. <a href="#a3859d7aacb18fd51b2fc3e0c51680d1c">More...</a><br /></td></tr>
<tr class="separator:a3859d7aacb18fd51b2fc3e0c51680d1c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a67928458e13f5391eee62202ed7c344d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a67928458e13f5391eee62202ed7c344d">isShowing</a> () const</td></tr>
<tr class="memdesc:a67928458e13f5391eee62202ed7c344d"><td class="mdescLeft"> </td><td class="mdescRight">Tests whether this component and all its parents are visible. <a href="#a67928458e13f5391eee62202ed7c344d">More...</a><br /></td></tr>
<tr class="separator:a67928458e13f5391eee62202ed7c344d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad717da76012d971197fd8cf943f3e721"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ad717da76012d971197fd8cf943f3e721">addToDesktop</a> (int windowStyleFlags, void *nativeWindowToAttachTo=nullptr)</td></tr>
<tr class="memdesc:ad717da76012d971197fd8cf943f3e721"><td class="mdescLeft"> </td><td class="mdescRight">Makes this component appear as a window on the desktop. <a href="#ad717da76012d971197fd8cf943f3e721">More...</a><br /></td></tr>
<tr class="separator:ad717da76012d971197fd8cf943f3e721"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3eb22f7e39f71fdad3e84a8700807a82"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a3eb22f7e39f71fdad3e84a8700807a82">removeFromDesktop</a> ()</td></tr>
<tr class="memdesc:a3eb22f7e39f71fdad3e84a8700807a82"><td class="mdescLeft"> </td><td class="mdescRight">If the component is currently showing on the desktop, this will hide it. <a href="#a3eb22f7e39f71fdad3e84a8700807a82">More...</a><br /></td></tr>
<tr class="separator:a3eb22f7e39f71fdad3e84a8700807a82"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a854420c3141bb90e440af6c7bc1bd360"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a854420c3141bb90e440af6c7bc1bd360">isOnDesktop</a> () const noexcept</td></tr>
<tr class="memdesc:a854420c3141bb90e440af6c7bc1bd360"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this component is currently showing on the desktop. <a href="#a854420c3141bb90e440af6c7bc1bd360">More...</a><br /></td></tr>
<tr class="separator:a854420c3141bb90e440af6c7bc1bd360"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2a5bad8135717abfe96c632abc09584"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponentPeer.html">ComponentPeer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ad2a5bad8135717abfe96c632abc09584">getPeer</a> () const</td></tr>
<tr class="memdesc:ad2a5bad8135717abfe96c632abc09584"><td class="mdescLeft"> </td><td class="mdescRight">Returns the heavyweight window that contains this component. <a href="#ad2a5bad8135717abfe96c632abc09584">More...</a><br /></td></tr>
<tr class="separator:ad2a5bad8135717abfe96c632abc09584"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a543e70d5a3ff75cc3facb476f4cdb131"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a543e70d5a3ff75cc3facb476f4cdb131">userTriedToCloseWindow</a> ()</td></tr>
<tr class="memdesc:a543e70d5a3ff75cc3facb476f4cdb131"><td class="mdescLeft"> </td><td class="mdescRight">For components on the desktop, this is called if the system wants to close the window. <a href="#a543e70d5a3ff75cc3facb476f4cdb131">More...</a><br /></td></tr>
<tr class="separator:a543e70d5a3ff75cc3facb476f4cdb131"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aafbf3cf52e606a66da16ffc85acdd383"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aafbf3cf52e606a66da16ffc85acdd383">minimisationStateChanged</a> (bool isNowMinimised)</td></tr>
<tr class="memdesc:aafbf3cf52e606a66da16ffc85acdd383"><td class="mdescLeft"> </td><td class="mdescRight">Called for a desktop component which has just been minimised or un-minimised. <a href="#aafbf3cf52e606a66da16ffc85acdd383">More...</a><br /></td></tr>
<tr class="separator:aafbf3cf52e606a66da16ffc85acdd383"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a99337bfd7e510a397c4a179964abf99b"><td class="memItemLeft" align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a99337bfd7e510a397c4a179964abf99b">getDesktopScaleFactor</a> () const</td></tr>
<tr class="memdesc:a99337bfd7e510a397c4a179964abf99b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the default scale factor to use for this component when it is placed on the desktop. <a href="#a99337bfd7e510a397c4a179964abf99b">More...</a><br /></td></tr>
<tr class="separator:a99337bfd7e510a397c4a179964abf99b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ace6d99879585ba31a4212431d01d00f5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ace6d99879585ba31a4212431d01d00f5">toFront</a> (bool shouldAlsoGainFocus)</td></tr>
<tr class="memdesc:ace6d99879585ba31a4212431d01d00f5"><td class="mdescLeft"> </td><td class="mdescRight">Brings the component to the front of its siblings. <a href="#ace6d99879585ba31a4212431d01d00f5">More...</a><br /></td></tr>
<tr class="separator:ace6d99879585ba31a4212431d01d00f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9cd68d901dd4426b27c6c40f4759d4c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ae9cd68d901dd4426b27c6c40f4759d4c">toBack</a> ()</td></tr>
<tr class="memdesc:ae9cd68d901dd4426b27c6c40f4759d4c"><td class="mdescLeft"> </td><td class="mdescRight">Changes this component's z-order to be at the back of all its siblings. <a href="#ae9cd68d901dd4426b27c6c40f4759d4c">More...</a><br /></td></tr>
<tr class="separator:ae9cd68d901dd4426b27c6c40f4759d4c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b0cca8b9a9fea673aefc84a42602bcd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a1b0cca8b9a9fea673aefc84a42602bcd">toBehind</a> (<a class="el" href="classComponent.html">Component</a> *other)</td></tr>
<tr class="memdesc:a1b0cca8b9a9fea673aefc84a42602bcd"><td class="mdescLeft"> </td><td class="mdescRight">Changes this component's z-order so that it's just behind another component. <a href="#a1b0cca8b9a9fea673aefc84a42602bcd">More...</a><br /></td></tr>
<tr class="separator:a1b0cca8b9a9fea673aefc84a42602bcd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ec074c0a1a25014c235a5ebafdbaaf7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9ec074c0a1a25014c235a5ebafdbaaf7">setAlwaysOnTop</a> (bool shouldStayOnTop)</td></tr>
<tr class="memdesc:a9ec074c0a1a25014c235a5ebafdbaaf7"><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the component should always be kept at the front of its siblings. <a href="#a9ec074c0a1a25014c235a5ebafdbaaf7">More...</a><br /></td></tr>
<tr class="separator:a9ec074c0a1a25014c235a5ebafdbaaf7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad3c16a8cd68a73f9765da3e48db86801"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ad3c16a8cd68a73f9765da3e48db86801">isAlwaysOnTop</a> () const noexcept</td></tr>
<tr class="memdesc:ad3c16a8cd68a73f9765da3e48db86801"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this component is set to always stay in front of its siblings. <a href="#ad3c16a8cd68a73f9765da3e48db86801">More...</a><br /></td></tr>
<tr class="separator:ad3c16a8cd68a73f9765da3e48db86801"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a882733448ca364ba8f493c6301800572"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a882733448ca364ba8f493c6301800572">getX</a> () const noexcept</td></tr>
<tr class="memdesc:a882733448ca364ba8f493c6301800572"><td class="mdescLeft"> </td><td class="mdescRight">Returns the x coordinate of the component's left edge. <a href="#a882733448ca364ba8f493c6301800572">More...</a><br /></td></tr>
<tr class="separator:a882733448ca364ba8f493c6301800572"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62b2b824feafc399c8360876a43eb18d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a62b2b824feafc399c8360876a43eb18d">getY</a> () const noexcept</td></tr>
<tr class="memdesc:a62b2b824feafc399c8360876a43eb18d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the y coordinate of the top of this component. <a href="#a62b2b824feafc399c8360876a43eb18d">More...</a><br /></td></tr>
<tr class="separator:a62b2b824feafc399c8360876a43eb18d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a146a947eb5d4b2e08f8e91b2e3f706c1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a146a947eb5d4b2e08f8e91b2e3f706c1">getWidth</a> () const noexcept</td></tr>
<tr class="memdesc:a146a947eb5d4b2e08f8e91b2e3f706c1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component's width in pixels. <a href="#a146a947eb5d4b2e08f8e91b2e3f706c1">More...</a><br /></td></tr>
<tr class="separator:a146a947eb5d4b2e08f8e91b2e3f706c1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a42c61c2d914e55b2395f6a84cf8e8aa2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a42c61c2d914e55b2395f6a84cf8e8aa2">getHeight</a> () const noexcept</td></tr>
<tr class="memdesc:a42c61c2d914e55b2395f6a84cf8e8aa2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component's height in pixels. <a href="#a42c61c2d914e55b2395f6a84cf8e8aa2">More...</a><br /></td></tr>
<tr class="separator:a42c61c2d914e55b2395f6a84cf8e8aa2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f0b1e0ff5dfe85d0c4f611a93f2b78c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9f0b1e0ff5dfe85d0c4f611a93f2b78c">getRight</a> () const noexcept</td></tr>
<tr class="memdesc:a9f0b1e0ff5dfe85d0c4f611a93f2b78c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the x coordinate of the component's right-hand edge. <a href="#a9f0b1e0ff5dfe85d0c4f611a93f2b78c">More...</a><br /></td></tr>
<tr class="separator:a9f0b1e0ff5dfe85d0c4f611a93f2b78c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa55ec8b0cdda88f6273e5949431288b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#afa55ec8b0cdda88f6273e5949431288b">getPosition</a> () const noexcept</td></tr>
<tr class="memdesc:afa55ec8b0cdda88f6273e5949431288b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component's top-left position as a <a class="el" href="classPoint.html" title="A pair of (x, y) coordinates. ">Point</a>. <a href="#afa55ec8b0cdda88f6273e5949431288b">More...</a><br /></td></tr>
<tr class="separator:afa55ec8b0cdda88f6273e5949431288b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af8ace323af75859a134ae82ab589c9d7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af8ace323af75859a134ae82ab589c9d7">getBottom</a> () const noexcept</td></tr>
<tr class="memdesc:af8ace323af75859a134ae82ab589c9d7"><td class="mdescLeft"> </td><td class="mdescRight">Returns the y coordinate of the bottom edge of this component. <a href="#af8ace323af75859a134ae82ab589c9d7">More...</a><br /></td></tr>
<tr class="separator:af8ace323af75859a134ae82ab589c9d7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad01eb84d8a989eb238bbf69aaf09e7ee"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classRectangle.html">Rectangle</a>< int > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ad01eb84d8a989eb238bbf69aaf09e7ee">getBounds</a> () const noexcept</td></tr>
<tr class="memdesc:ad01eb84d8a989eb238bbf69aaf09e7ee"><td class="mdescLeft"> </td><td class="mdescRight">Returns this component's bounding box. <a href="#ad01eb84d8a989eb238bbf69aaf09e7ee">More...</a><br /></td></tr>
<tr class="separator:ad01eb84d8a989eb238bbf69aaf09e7ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aecc40b8a244527fcb142213151b6d00d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRectangle.html">Rectangle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aecc40b8a244527fcb142213151b6d00d">getLocalBounds</a> () const noexcept</td></tr>
<tr class="memdesc:aecc40b8a244527fcb142213151b6d00d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component's bounds, relative to its own origin. <a href="#aecc40b8a244527fcb142213151b6d00d">More...</a><br /></td></tr>
<tr class="separator:aecc40b8a244527fcb142213151b6d00d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7bec78144c5f28eb78ce1550b1c58614"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRectangle.html">Rectangle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7bec78144c5f28eb78ce1550b1c58614">getBoundsInParent</a> () const noexcept</td></tr>
<tr class="memdesc:a7bec78144c5f28eb78ce1550b1c58614"><td class="mdescLeft"> </td><td class="mdescRight">Returns the area of this component's parent which this component covers. <a href="#a7bec78144c5f28eb78ce1550b1c58614">More...</a><br /></td></tr>
<tr class="separator:a7bec78144c5f28eb78ce1550b1c58614"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0b93c9d1569fa2892fdff2d8957936da"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a0b93c9d1569fa2892fdff2d8957936da">getScreenX</a> () const</td></tr>
<tr class="memdesc:a0b93c9d1569fa2892fdff2d8957936da"><td class="mdescLeft"> </td><td class="mdescRight">Returns this component's x coordinate relative the screen's top-left origin. <a href="#a0b93c9d1569fa2892fdff2d8957936da">More...</a><br /></td></tr>
<tr class="separator:a0b93c9d1569fa2892fdff2d8957936da"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a343f666f49fa8a59aeba926f2fc6d629"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a343f666f49fa8a59aeba926f2fc6d629">getScreenY</a> () const</td></tr>
<tr class="memdesc:a343f666f49fa8a59aeba926f2fc6d629"><td class="mdescLeft"> </td><td class="mdescRight">Returns this component's y coordinate relative the screen's top-left origin. <a href="#a343f666f49fa8a59aeba926f2fc6d629">More...</a><br /></td></tr>
<tr class="separator:a343f666f49fa8a59aeba926f2fc6d629"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4b5183a85549af430d7bf29afb65d79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ae4b5183a85549af430d7bf29afb65d79">getScreenPosition</a> () const</td></tr>
<tr class="memdesc:ae4b5183a85549af430d7bf29afb65d79"><td class="mdescLeft"> </td><td class="mdescRight">Returns the position of this component's top-left corner relative to the screen's top-left. <a href="#ae4b5183a85549af430d7bf29afb65d79">More...</a><br /></td></tr>
<tr class="separator:ae4b5183a85549af430d7bf29afb65d79"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a539c92d534e551bc40c721fca4b0cea8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRectangle.html">Rectangle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a539c92d534e551bc40c721fca4b0cea8">getScreenBounds</a> () const</td></tr>
<tr class="memdesc:a539c92d534e551bc40c721fca4b0cea8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the bounds of this component, relative to the screen's top-left. <a href="#a539c92d534e551bc40c721fca4b0cea8">More...</a><br /></td></tr>
<tr class="separator:a539c92d534e551bc40c721fca4b0cea8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9eecd9625db887fd98684bae3543db24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9eecd9625db887fd98684bae3543db24">getLocalPoint</a> (const <a class="el" href="classComponent.html">Component</a> *sourceComponent, <a class="el" href="classPoint.html">Point</a>< int > pointRelativeToSourceComponent) const</td></tr>
<tr class="memdesc:a9eecd9625db887fd98684bae3543db24"><td class="mdescLeft"> </td><td class="mdescRight">Converts a point to be relative to this component's coordinate space. <a href="#a9eecd9625db887fd98684bae3543db24">More...</a><br /></td></tr>
<tr class="separator:a9eecd9625db887fd98684bae3543db24"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b5f61369cd4c1031cf21106262b281e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2b5f61369cd4c1031cf21106262b281e">getLocalPoint</a> (const <a class="el" href="classComponent.html">Component</a> *sourceComponent, <a class="el" href="classPoint.html">Point</a>< float > pointRelativeToSourceComponent) const</td></tr>
<tr class="memdesc:a2b5f61369cd4c1031cf21106262b281e"><td class="mdescLeft"> </td><td class="mdescRight">Converts a point to be relative to this component's coordinate space. <a href="#a2b5f61369cd4c1031cf21106262b281e">More...</a><br /></td></tr>
<tr class="separator:a2b5f61369cd4c1031cf21106262b281e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7af658ae99b351bae690ac0ced09b755"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRectangle.html">Rectangle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7af658ae99b351bae690ac0ced09b755">getLocalArea</a> (const <a class="el" href="classComponent.html">Component</a> *sourceComponent, const <a class="el" href="classRectangle.html">Rectangle</a>< int > &areaRelativeToSourceComponent) const</td></tr>
<tr class="memdesc:a7af658ae99b351bae690ac0ced09b755"><td class="mdescLeft"> </td><td class="mdescRight">Converts a rectangle to be relative to this component's coordinate space. <a href="#a7af658ae99b351bae690ac0ced09b755">More...</a><br /></td></tr>
<tr class="separator:a7af658ae99b351bae690ac0ced09b755"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeae960c6a8784804fff96ab71d38afdc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aeae960c6a8784804fff96ab71d38afdc">localPointToGlobal</a> (<a class="el" href="classPoint.html">Point</a>< int > localPoint) const</td></tr>
<tr class="memdesc:aeae960c6a8784804fff96ab71d38afdc"><td class="mdescLeft"> </td><td class="mdescRight">Converts a point relative to this component's top-left into a screen coordinate. <a href="#aeae960c6a8784804fff96ab71d38afdc">More...</a><br /></td></tr>
<tr class="separator:aeae960c6a8784804fff96ab71d38afdc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8cb6f69a1d420942a9a063238da12170"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a8cb6f69a1d420942a9a063238da12170">localPointToGlobal</a> (<a class="el" href="classPoint.html">Point</a>< float > localPoint) const</td></tr>
<tr class="memdesc:a8cb6f69a1d420942a9a063238da12170"><td class="mdescLeft"> </td><td class="mdescRight">Converts a point relative to this component's top-left into a screen coordinate. <a href="#a8cb6f69a1d420942a9a063238da12170">More...</a><br /></td></tr>
<tr class="separator:a8cb6f69a1d420942a9a063238da12170"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7af80e9ca754d1108bb4eb09c5bc2e7d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRectangle.html">Rectangle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7af80e9ca754d1108bb4eb09c5bc2e7d">localAreaToGlobal</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< int > &localArea) const</td></tr>
<tr class="memdesc:a7af80e9ca754d1108bb4eb09c5bc2e7d"><td class="mdescLeft"> </td><td class="mdescRight">Converts a rectangle from this component's coordinate space to a screen coordinate. <a href="#a7af80e9ca754d1108bb4eb09c5bc2e7d">More...</a><br /></td></tr>
<tr class="separator:a7af80e9ca754d1108bb4eb09c5bc2e7d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a46f3b243e2ff2d000285c8642be7ea0a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a46f3b243e2ff2d000285c8642be7ea0a">setTopLeftPosition</a> (int x, int y)</td></tr>
<tr class="memdesc:a46f3b243e2ff2d000285c8642be7ea0a"><td class="mdescLeft"> </td><td class="mdescRight">Moves the component to a new position. <a href="#a46f3b243e2ff2d000285c8642be7ea0a">More...</a><br /></td></tr>
<tr class="separator:a46f3b243e2ff2d000285c8642be7ea0a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c86db4e969d69acc78ea3ee899cedff"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a5c86db4e969d69acc78ea3ee899cedff">setTopLeftPosition</a> (<a class="el" href="classPoint.html">Point</a>< int > newTopLeftPosition)</td></tr>
<tr class="memdesc:a5c86db4e969d69acc78ea3ee899cedff"><td class="mdescLeft"> </td><td class="mdescRight">Moves the component to a new position. <a href="#a5c86db4e969d69acc78ea3ee899cedff">More...</a><br /></td></tr>
<tr class="separator:a5c86db4e969d69acc78ea3ee899cedff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a28d61a4aea9791ab0b4d3cc4bed17650"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a28d61a4aea9791ab0b4d3cc4bed17650">setTopRightPosition</a> (int x, int y)</td></tr>
<tr class="memdesc:a28d61a4aea9791ab0b4d3cc4bed17650"><td class="mdescLeft"> </td><td class="mdescRight">Moves the component to a new position. <a href="#a28d61a4aea9791ab0b4d3cc4bed17650">More...</a><br /></td></tr>
<tr class="separator:a28d61a4aea9791ab0b4d3cc4bed17650"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af7e0443344448fcbbefc2b3dd985e43f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af7e0443344448fcbbefc2b3dd985e43f">setSize</a> (int newWidth, int newHeight)</td></tr>
<tr class="memdesc:af7e0443344448fcbbefc2b3dd985e43f"><td class="mdescLeft"> </td><td class="mdescRight">Changes the size of the component. <a href="#af7e0443344448fcbbefc2b3dd985e43f">More...</a><br /></td></tr>
<tr class="separator:af7e0443344448fcbbefc2b3dd985e43f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64cbeee83a441e20ed5e7acb600ae107"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107">setBounds</a> (int x, int y, int width, int height)</td></tr>
<tr class="memdesc:a64cbeee83a441e20ed5e7acb600ae107"><td class="mdescLeft"> </td><td class="mdescRight">Changes the component's position and size. <a href="#a64cbeee83a441e20ed5e7acb600ae107">More...</a><br /></td></tr>
<tr class="separator:a64cbeee83a441e20ed5e7acb600ae107"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaddf6f72515109d53cb671d5292bea3f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aaddf6f72515109d53cb671d5292bea3f">setBounds</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< int > &newBounds)</td></tr>
<tr class="memdesc:aaddf6f72515109d53cb671d5292bea3f"><td class="mdescLeft"> </td><td class="mdescRight">Changes the component's position and size. <a href="#aaddf6f72515109d53cb671d5292bea3f">More...</a><br /></td></tr>
<tr class="separator:aaddf6f72515109d53cb671d5292bea3f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afff8d34ac49e7303e60cd6cfcd68e8f6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#afff8d34ac49e7303e60cd6cfcd68e8f6">setBounds</a> (const <a class="el" href="classRelativeRectangle.html">RelativeRectangle</a> &newBounds)</td></tr>
<tr class="memdesc:afff8d34ac49e7303e60cd6cfcd68e8f6"><td class="mdescLeft"> </td><td class="mdescRight">Changes the component's position and size. <a href="#afff8d34ac49e7303e60cd6cfcd68e8f6">More...</a><br /></td></tr>
<tr class="separator:afff8d34ac49e7303e60cd6cfcd68e8f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a821833808f451753df397802d9d6160a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a821833808f451753df397802d9d6160a">setBounds</a> (const <a class="el" href="classString.html">String</a> &newBoundsExpression)</td></tr>
<tr class="memdesc:a821833808f451753df397802d9d6160a"><td class="mdescLeft"> </td><td class="mdescRight">Sets the component's bounds with an expression. <a href="#a821833808f451753df397802d9d6160a">More...</a><br /></td></tr>
<tr class="separator:a821833808f451753df397802d9d6160a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8752a76d1d0b2b27af1da1169ed5c534"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a8752a76d1d0b2b27af1da1169ed5c534">setBoundsRelative</a> (float proportionalX, float proportionalY, float proportionalWidth, float proportionalHeight)</td></tr>
<tr class="memdesc:a8752a76d1d0b2b27af1da1169ed5c534"><td class="mdescLeft"> </td><td class="mdescRight">Changes the component's position and size in terms of fractions of its parent's size. <a href="#a8752a76d1d0b2b27af1da1169ed5c534">More...</a><br /></td></tr>
<tr class="separator:a8752a76d1d0b2b27af1da1169ed5c534"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0bdbe4ff05b03ddde7d87be82d5b0d15"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a0bdbe4ff05b03ddde7d87be82d5b0d15">setBoundsInset</a> (const <a class="el" href="classBorderSize.html">BorderSize</a>< int > &borders)</td></tr>
<tr class="memdesc:a0bdbe4ff05b03ddde7d87be82d5b0d15"><td class="mdescLeft"> </td><td class="mdescRight">Changes the component's position and size based on the amount of space to leave around it. <a href="#a0bdbe4ff05b03ddde7d87be82d5b0d15">More...</a><br /></td></tr>
<tr class="separator:a0bdbe4ff05b03ddde7d87be82d5b0d15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a104daed5d4a04cd0b50ecb8c11b1c856"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a104daed5d4a04cd0b50ecb8c11b1c856">setBoundsToFit</a> (int x, int y, int width, int height, <a class="el" href="classJustification.html">Justification</a> justification, bool onlyReduceInSize)</td></tr>
<tr class="memdesc:a104daed5d4a04cd0b50ecb8c11b1c856"><td class="mdescLeft"> </td><td class="mdescRight">Positions the component within a given rectangle, keeping its proportions unchanged. <a href="#a104daed5d4a04cd0b50ecb8c11b1c856">More...</a><br /></td></tr>
<tr class="separator:a104daed5d4a04cd0b50ecb8c11b1c856"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada48e2fac4a8bd49ee8fe567309e41b0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ada48e2fac4a8bd49ee8fe567309e41b0">setCentrePosition</a> (int x, int y)</td></tr>
<tr class="memdesc:ada48e2fac4a8bd49ee8fe567309e41b0"><td class="mdescLeft"> </td><td class="mdescRight">Changes the position of the component's centre. <a href="#ada48e2fac4a8bd49ee8fe567309e41b0">More...</a><br /></td></tr>
<tr class="separator:ada48e2fac4a8bd49ee8fe567309e41b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2d539dc4d5a43cf828e03ab46f0db58"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ad2d539dc4d5a43cf828e03ab46f0db58">setCentreRelative</a> (float x, float y)</td></tr>
<tr class="memdesc:ad2d539dc4d5a43cf828e03ab46f0db58"><td class="mdescLeft"> </td><td class="mdescRight">Changes the position of the component's centre. <a href="#ad2d539dc4d5a43cf828e03ab46f0db58">More...</a><br /></td></tr>
<tr class="separator:ad2d539dc4d5a43cf828e03ab46f0db58"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb58dc5a1f89822e4a5dcae2a538a8a7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#abb58dc5a1f89822e4a5dcae2a538a8a7">centreWithSize</a> (int width, int height)</td></tr>
<tr class="memdesc:abb58dc5a1f89822e4a5dcae2a538a8a7"><td class="mdescLeft"> </td><td class="mdescRight">Changes the component's size and centres it within its parent. <a href="#abb58dc5a1f89822e4a5dcae2a538a8a7">More...</a><br /></td></tr>
<tr class="separator:abb58dc5a1f89822e4a5dcae2a538a8a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a42d13229962acb1cdf4328c4a490ffef"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef">setTransform</a> (const <a class="el" href="classAffineTransform.html">AffineTransform</a> &transform)</td></tr>
<tr class="memdesc:a42d13229962acb1cdf4328c4a490ffef"><td class="mdescLeft"> </td><td class="mdescRight">Sets a transform matrix to be applied to this component. <a href="#a42d13229962acb1cdf4328c4a490ffef">More...</a><br /></td></tr>
<tr class="separator:a42d13229962acb1cdf4328c4a490ffef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a87829606a709c0f75e9293a0934ab27e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAffineTransform.html">AffineTransform</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a87829606a709c0f75e9293a0934ab27e">getTransform</a> () const</td></tr>
<tr class="memdesc:a87829606a709c0f75e9293a0934ab27e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the transform that is currently being applied to this component. <a href="#a87829606a709c0f75e9293a0934ab27e">More...</a><br /></td></tr>
<tr class="separator:a87829606a709c0f75e9293a0934ab27e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a50a4de1bca6c487a8fa899f1b721e1d5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a50a4de1bca6c487a8fa899f1b721e1d5">isTransformed</a> () const noexcept</td></tr>
<tr class="memdesc:a50a4de1bca6c487a8fa899f1b721e1d5"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a non-identity transform is being applied to this component. <a href="#a50a4de1bca6c487a8fa899f1b721e1d5">More...</a><br /></td></tr>
<tr class="separator:a50a4de1bca6c487a8fa899f1b721e1d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2def9de34b650c5384f6bc040daa6a5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ab2def9de34b650c5384f6bc040daa6a5">proportionOfWidth</a> (float proportion) const noexcept</td></tr>
<tr class="memdesc:ab2def9de34b650c5384f6bc040daa6a5"><td class="mdescLeft"> </td><td class="mdescRight">Returns a proportion of the component's width. <a href="#ab2def9de34b650c5384f6bc040daa6a5">More...</a><br /></td></tr>
<tr class="separator:ab2def9de34b650c5384f6bc040daa6a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d5356b8ad166fa48273dd90980ab3aa"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a5d5356b8ad166fa48273dd90980ab3aa">proportionOfHeight</a> (float proportion) const noexcept</td></tr>
<tr class="memdesc:a5d5356b8ad166fa48273dd90980ab3aa"><td class="mdescLeft"> </td><td class="mdescRight">Returns a proportion of the component's height. <a href="#a5d5356b8ad166fa48273dd90980ab3aa">More...</a><br /></td></tr>
<tr class="separator:a5d5356b8ad166fa48273dd90980ab3aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ac83033387393ae0f8b85d8fc8d6dcb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9ac83033387393ae0f8b85d8fc8d6dcb">getParentWidth</a> () const noexcept</td></tr>
<tr class="memdesc:a9ac83033387393ae0f8b85d8fc8d6dcb"><td class="mdescLeft"> </td><td class="mdescRight">Returns the width of the component's parent. <a href="#a9ac83033387393ae0f8b85d8fc8d6dcb">More...</a><br /></td></tr>
<tr class="separator:a9ac83033387393ae0f8b85d8fc8d6dcb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a39186f5a14d80f75e279d40846221b16"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a39186f5a14d80f75e279d40846221b16">getParentHeight</a> () const noexcept</td></tr>
<tr class="memdesc:a39186f5a14d80f75e279d40846221b16"><td class="mdescLeft"> </td><td class="mdescRight">Returns the height of the component's parent. <a href="#a39186f5a14d80f75e279d40846221b16">More...</a><br /></td></tr>
<tr class="separator:a39186f5a14d80f75e279d40846221b16"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab52cbbf7098141125e9defffbfa136b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRectangle.html">Rectangle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ab52cbbf7098141125e9defffbfa136b6">getParentMonitorArea</a> () const</td></tr>
<tr class="memdesc:ab52cbbf7098141125e9defffbfa136b6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the screen coordinates of the monitor that contains this component. <a href="#ab52cbbf7098141125e9defffbfa136b6">More...</a><br /></td></tr>
<tr class="separator:ab52cbbf7098141125e9defffbfa136b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa33580cab86ac3b80c9c1f9d85ad81d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#afa33580cab86ac3b80c9c1f9d85ad81d">getNumChildComponents</a> () const noexcept</td></tr>
<tr class="memdesc:afa33580cab86ac3b80c9c1f9d85ad81d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of child components that this component contains. <a href="#afa33580cab86ac3b80c9c1f9d85ad81d">More...</a><br /></td></tr>
<tr class="separator:afa33580cab86ac3b80c9c1f9d85ad81d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a86caea9a03be32d7a6b6dfbd09d09f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent.html">Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9a86caea9a03be32d7a6b6dfbd09d09f">getChildComponent</a> (int index) const noexcept</td></tr>
<tr class="memdesc:a9a86caea9a03be32d7a6b6dfbd09d09f"><td class="mdescLeft"> </td><td class="mdescRight">Returns one of this component's child components, by it index. <a href="#a9a86caea9a03be32d7a6b6dfbd09d09f">More...</a><br /></td></tr>
<tr class="separator:a9a86caea9a03be32d7a6b6dfbd09d09f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a00c1dcf8a0a926da17daef178ca63426"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a00c1dcf8a0a926da17daef178ca63426">getIndexOfChildComponent</a> (const <a class="el" href="classComponent.html">Component</a> *child) const noexcept</td></tr>
<tr class="memdesc:a00c1dcf8a0a926da17daef178ca63426"><td class="mdescLeft"> </td><td class="mdescRight">Returns the index of this component in the list of child components. <a href="#a00c1dcf8a0a926da17daef178ca63426">More...</a><br /></td></tr>
<tr class="separator:a00c1dcf8a0a926da17daef178ca63426"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5607d97a62a8c9d8d1d28ce3b31dd764"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent.html">Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a5607d97a62a8c9d8d1d28ce3b31dd764">findChildWithID</a> (<a class="el" href="classStringRef.html">StringRef</a> componentID) const noexcept</td></tr>
<tr class="memdesc:a5607d97a62a8c9d8d1d28ce3b31dd764"><td class="mdescLeft"> </td><td class="mdescRight">Looks for a child component with the specified ID. <a href="#a5607d97a62a8c9d8d1d28ce3b31dd764">More...</a><br /></td></tr>
<tr class="separator:a5607d97a62a8c9d8d1d28ce3b31dd764"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3340a63ebd9f3a9df41bc0e8fbe3bf0c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c">addChildComponent</a> (<a class="el" href="classComponent.html">Component</a> *child, int zOrder=-1)</td></tr>
<tr class="memdesc:a3340a63ebd9f3a9df41bc0e8fbe3bf0c"><td class="mdescLeft"> </td><td class="mdescRight">Adds a child component to this one. <a href="#a3340a63ebd9f3a9df41bc0e8fbe3bf0c">More...</a><br /></td></tr>
<tr class="separator:a3340a63ebd9f3a9df41bc0e8fbe3bf0c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad3cdf7ff7e9c595a25f3a4427e1a222e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ad3cdf7ff7e9c595a25f3a4427e1a222e">addChildComponent</a> (<a class="el" href="classComponent.html">Component</a> &child, int zOrder=-1)</td></tr>
<tr class="memdesc:ad3cdf7ff7e9c595a25f3a4427e1a222e"><td class="mdescLeft"> </td><td class="mdescRight">Adds a child component to this one. <a href="#ad3cdf7ff7e9c595a25f3a4427e1a222e">More...</a><br /></td></tr>
<tr class="separator:ad3cdf7ff7e9c595a25f3a4427e1a222e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a909c90277e8e95db68001a94e06b83bc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a909c90277e8e95db68001a94e06b83bc">addAndMakeVisible</a> (<a class="el" href="classComponent.html">Component</a> *child, int zOrder=-1)</td></tr>
<tr class="memdesc:a909c90277e8e95db68001a94e06b83bc"><td class="mdescLeft"> </td><td class="mdescRight">Adds a child component to this one, and also makes the child visible if it isn't already. <a href="#a909c90277e8e95db68001a94e06b83bc">More...</a><br /></td></tr>
<tr class="separator:a909c90277e8e95db68001a94e06b83bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13417b80dfd035f5da81f1a473ef0f15"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a13417b80dfd035f5da81f1a473ef0f15">addAndMakeVisible</a> (<a class="el" href="classComponent.html">Component</a> &child, int zOrder=-1)</td></tr>
<tr class="memdesc:a13417b80dfd035f5da81f1a473ef0f15"><td class="mdescLeft"> </td><td class="mdescRight">Adds a child component to this one, and also makes the child visible if it isn't already. <a href="#a13417b80dfd035f5da81f1a473ef0f15">More...</a><br /></td></tr>
<tr class="separator:a13417b80dfd035f5da81f1a473ef0f15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29a541ea49fafdb29fb17ebc4cddd584"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a29a541ea49fafdb29fb17ebc4cddd584">addChildAndSetID</a> (<a class="el" href="classComponent.html">Component</a> *child, const <a class="el" href="classString.html">String</a> &componentID)</td></tr>
<tr class="memdesc:a29a541ea49fafdb29fb17ebc4cddd584"><td class="mdescLeft"> </td><td class="mdescRight">Adds a child component to this one, makes it visible, and sets its component ID. <a href="#a29a541ea49fafdb29fb17ebc4cddd584">More...</a><br /></td></tr>
<tr class="separator:a29a541ea49fafdb29fb17ebc4cddd584"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a221324c67c9fb048895b8730dbf1b642"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a221324c67c9fb048895b8730dbf1b642">removeChildComponent</a> (<a class="el" href="classComponent.html">Component</a> *childToRemove)</td></tr>
<tr class="memdesc:a221324c67c9fb048895b8730dbf1b642"><td class="mdescLeft"> </td><td class="mdescRight">Removes one of this component's child-components. <a href="#a221324c67c9fb048895b8730dbf1b642">More...</a><br /></td></tr>
<tr class="separator:a221324c67c9fb048895b8730dbf1b642"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f27c66bb660ca98e1713878db39bdfd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent.html">Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9f27c66bb660ca98e1713878db39bdfd">removeChildComponent</a> (int childIndexToRemove)</td></tr>
<tr class="memdesc:a9f27c66bb660ca98e1713878db39bdfd"><td class="mdescLeft"> </td><td class="mdescRight">Removes one of this component's child-components by index. <a href="#a9f27c66bb660ca98e1713878db39bdfd">More...</a><br /></td></tr>
<tr class="separator:a9f27c66bb660ca98e1713878db39bdfd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72ee4d44ce3b3954e8a00e5225201b6d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a72ee4d44ce3b3954e8a00e5225201b6d">removeAllChildren</a> ()</td></tr>
<tr class="memdesc:a72ee4d44ce3b3954e8a00e5225201b6d"><td class="mdescLeft"> </td><td class="mdescRight">Removes all this component's children. <a href="#a72ee4d44ce3b3954e8a00e5225201b6d">More...</a><br /></td></tr>
<tr class="separator:a72ee4d44ce3b3954e8a00e5225201b6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc8f8338a400c20d5e941ea3a1f67f7b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#abc8f8338a400c20d5e941ea3a1f67f7b">deleteAllChildren</a> ()</td></tr>
<tr class="memdesc:abc8f8338a400c20d5e941ea3a1f67f7b"><td class="mdescLeft"> </td><td class="mdescRight">Removes and deletes all of this component's children. <a href="#abc8f8338a400c20d5e941ea3a1f67f7b">More...</a><br /></td></tr>
<tr class="separator:abc8f8338a400c20d5e941ea3a1f67f7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac4d430194f6637607b1af8631d7166e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent.html">Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ac4d430194f6637607b1af8631d7166e7">getParentComponent</a> () const noexcept</td></tr>
<tr class="memdesc:ac4d430194f6637607b1af8631d7166e7"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component which this component is inside. <a href="#ac4d430194f6637607b1af8631d7166e7">More...</a><br /></td></tr>
<tr class="separator:ac4d430194f6637607b1af8631d7166e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab96fafa69cc190b2ebc3a2daba3dbaeb"><td class="memTemplParams" colspan="2">template<class TargetClass > </td></tr>
<tr class="memitem:ab96fafa69cc190b2ebc3a2daba3dbaeb"><td class="memTemplItemLeft" align="right" valign="top">TargetClass * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classComponent.html#ab96fafa69cc190b2ebc3a2daba3dbaeb">findParentComponentOfClass</a> () const</td></tr>
<tr class="memdesc:ab96fafa69cc190b2ebc3a2daba3dbaeb"><td class="mdescLeft"> </td><td class="mdescRight">Searches the parent components for a component of a specified class. <a href="#ab96fafa69cc190b2ebc3a2daba3dbaeb">More...</a><br /></td></tr>
<tr class="separator:ab96fafa69cc190b2ebc3a2daba3dbaeb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64415a8c5911f94475b5c624598adfa8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent.html">Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a64415a8c5911f94475b5c624598adfa8">getTopLevelComponent</a> () const noexcept</td></tr>
<tr class="memdesc:a64415a8c5911f94475b5c624598adfa8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the highest-level component which contains this one or its parents. <a href="#a64415a8c5911f94475b5c624598adfa8">More...</a><br /></td></tr>
<tr class="separator:a64415a8c5911f94475b5c624598adfa8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2fc08a04c79abc21d65c70855b792ab9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2fc08a04c79abc21d65c70855b792ab9">isParentOf</a> (const <a class="el" href="classComponent.html">Component</a> *possibleChild) const noexcept</td></tr>
<tr class="memdesc:a2fc08a04c79abc21d65c70855b792ab9"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether a component is anywhere inside this component or its children. <a href="#a2fc08a04c79abc21d65c70855b792ab9">More...</a><br /></td></tr>
<tr class="separator:a2fc08a04c79abc21d65c70855b792ab9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83f298a05d7f26a6e50e45dd37eb6313"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a83f298a05d7f26a6e50e45dd37eb6313">parentHierarchyChanged</a> ()</td></tr>
<tr class="memdesc:a83f298a05d7f26a6e50e45dd37eb6313"><td class="mdescLeft"> </td><td class="mdescRight">Called to indicate that the component's parents have changed. <a href="#a83f298a05d7f26a6e50e45dd37eb6313">More...</a><br /></td></tr>
<tr class="separator:a83f298a05d7f26a6e50e45dd37eb6313"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2bbc6da3479a1c3f6e711f4caf9edafb"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2bbc6da3479a1c3f6e711f4caf9edafb">childrenChanged</a> ()</td></tr>
<tr class="memdesc:a2bbc6da3479a1c3f6e711f4caf9edafb"><td class="mdescLeft"> </td><td class="mdescRight">Subclasses can use this callback to be told when children are added or removed, or when their z-order changes. <a href="#a2bbc6da3479a1c3f6e711f4caf9edafb">More...</a><br /></td></tr>
<tr class="separator:a2bbc6da3479a1c3f6e711f4caf9edafb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2da9631236e1cbf1b340454209a6c9e0"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0">hitTest</a> (int x, int y)</td></tr>
<tr class="memdesc:a2da9631236e1cbf1b340454209a6c9e0"><td class="mdescLeft"> </td><td class="mdescRight">Tests whether a given point is inside the component. <a href="#a2da9631236e1cbf1b340454209a6c9e0">More...</a><br /></td></tr>
<tr class="separator:a2da9631236e1cbf1b340454209a6c9e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac9fdcb595c1878201a641de2e1159aec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ac9fdcb595c1878201a641de2e1159aec">setInterceptsMouseClicks</a> (bool allowClicksOnThisComponent, bool allowClicksOnChildComponents) noexcept</td></tr>
<tr class="memdesc:ac9fdcb595c1878201a641de2e1159aec"><td class="mdescLeft"> </td><td class="mdescRight">Changes the default return value for the <a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0" title="Tests whether a given point is inside the component. ">hitTest()</a> method. <a href="#ac9fdcb595c1878201a641de2e1159aec">More...</a><br /></td></tr>
<tr class="separator:ac9fdcb595c1878201a641de2e1159aec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a219f9c96e896dfbbe3fb967a57297f14"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a219f9c96e896dfbbe3fb967a57297f14">getInterceptsMouseClicks</a> (bool &allowsClicksOnThisComponent, bool &allowsClicksOnChildComponents) const noexcept</td></tr>
<tr class="memdesc:a219f9c96e896dfbbe3fb967a57297f14"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the current state of the mouse-click interception flags. <a href="#a219f9c96e896dfbbe3fb967a57297f14">More...</a><br /></td></tr>
<tr class="separator:a219f9c96e896dfbbe3fb967a57297f14"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b697f6caaa753756251b4eb5ece302b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b">contains</a> (<a class="el" href="classPoint.html">Point</a>< int > localPoint)</td></tr>
<tr class="memdesc:a6b697f6caaa753756251b4eb5ece302b"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a given point lies within this component or one of its children. <a href="#a6b697f6caaa753756251b4eb5ece302b">More...</a><br /></td></tr>
<tr class="separator:a6b697f6caaa753756251b4eb5ece302b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa8d8eb035156e46e6264f600097b1cc1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aa8d8eb035156e46e6264f600097b1cc1">reallyContains</a> (<a class="el" href="classPoint.html">Point</a>< int > localPoint, bool returnTrueIfWithinAChild)</td></tr>
<tr class="memdesc:aa8d8eb035156e46e6264f600097b1cc1"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a given point lies in this component, taking any overlapping siblings into account. <a href="#aa8d8eb035156e46e6264f600097b1cc1">More...</a><br /></td></tr>
<tr class="separator:aa8d8eb035156e46e6264f600097b1cc1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29245735a161cee86ee0df0ccde9512a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent.html">Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a29245735a161cee86ee0df0ccde9512a">getComponentAt</a> (int x, int y)</td></tr>
<tr class="memdesc:a29245735a161cee86ee0df0ccde9512a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component at a certain point within this one. <a href="#a29245735a161cee86ee0df0ccde9512a">More...</a><br /></td></tr>
<tr class="separator:a29245735a161cee86ee0df0ccde9512a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54676dadea528187d52fa8c98d08231d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent.html">Component</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a54676dadea528187d52fa8c98d08231d">getComponentAt</a> (<a class="el" href="classPoint.html">Point</a>< int > position)</td></tr>
<tr class="memdesc:a54676dadea528187d52fa8c98d08231d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component at a certain point within this one. <a href="#a54676dadea528187d52fa8c98d08231d">More...</a><br /></td></tr>
<tr class="separator:a54676dadea528187d52fa8c98d08231d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af3ab3eabec93dd60faf983370f3a1206"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206">repaint</a> ()</td></tr>
<tr class="memdesc:af3ab3eabec93dd60faf983370f3a1206"><td class="mdescLeft"> </td><td class="mdescRight">Marks the whole component as needing to be redrawn. <a href="#af3ab3eabec93dd60faf983370f3a1206">More...</a><br /></td></tr>
<tr class="separator:af3ab3eabec93dd60faf983370f3a1206"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2a079621367cdf3755d708b4dbbc820"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af2a079621367cdf3755d708b4dbbc820">repaint</a> (int x, int y, int width, int height)</td></tr>
<tr class="memdesc:af2a079621367cdf3755d708b4dbbc820"><td class="mdescLeft"> </td><td class="mdescRight">Marks a subsection of this component as needing to be redrawn. <a href="#af2a079621367cdf3755d708b4dbbc820">More...</a><br /></td></tr>
<tr class="separator:af2a079621367cdf3755d708b4dbbc820"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a756adec76560d1ae66b1448814828531"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a756adec76560d1ae66b1448814828531">repaint</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< int > &area)</td></tr>
<tr class="memdesc:a756adec76560d1ae66b1448814828531"><td class="mdescLeft"> </td><td class="mdescRight">Marks a subsection of this component as needing to be redrawn. <a href="#a756adec76560d1ae66b1448814828531">More...</a><br /></td></tr>
<tr class="separator:a756adec76560d1ae66b1448814828531"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af19bbc2186e3297ddd55c328e46c014b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af19bbc2186e3297ddd55c328e46c014b">setBufferedToImage</a> (bool shouldBeBuffered)</td></tr>
<tr class="memdesc:af19bbc2186e3297ddd55c328e46c014b"><td class="mdescLeft"> </td><td class="mdescRight">Makes the component use an internal buffer to optimise its redrawing. <a href="#af19bbc2186e3297ddd55c328e46c014b">More...</a><br /></td></tr>
<tr class="separator:af19bbc2186e3297ddd55c328e46c014b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a5c8fc0c5c69bda41a23c351e2d5164"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classImage.html">Image</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9a5c8fc0c5c69bda41a23c351e2d5164">createComponentSnapshot</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< int > &areaToGrab, bool clipImageToComponentBounds=true, float scaleFactor=1.0f)</td></tr>
<tr class="memdesc:a9a5c8fc0c5c69bda41a23c351e2d5164"><td class="mdescLeft"> </td><td class="mdescRight">Generates a snapshot of part of this component. <a href="#a9a5c8fc0c5c69bda41a23c351e2d5164">More...</a><br /></td></tr>
<tr class="separator:a9a5c8fc0c5c69bda41a23c351e2d5164"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2c960bd5ec5ac76d18e82b6883096714"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2c960bd5ec5ac76d18e82b6883096714">paintEntireComponent</a> (<a class="el" href="classGraphics.html">Graphics</a> &context, bool ignoreAlphaLevel)</td></tr>
<tr class="memdesc:a2c960bd5ec5ac76d18e82b6883096714"><td class="mdescLeft"> </td><td class="mdescRight">Draws this component and all its subcomponents onto the specified graphics context. <a href="#a2c960bd5ec5ac76d18e82b6883096714">More...</a><br /></td></tr>
<tr class="separator:a2c960bd5ec5ac76d18e82b6883096714"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd2216ecd5029923097d6baabab400ec"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#afd2216ecd5029923097d6baabab400ec">setPaintingIsUnclipped</a> (bool shouldPaintWithoutClipping) noexcept</td></tr>
<tr class="memdesc:afd2216ecd5029923097d6baabab400ec"><td class="mdescLeft"> </td><td class="mdescRight">This allows you to indicate that this component doesn't require its graphics context to be clipped when it is being painted. <a href="#afd2216ecd5029923097d6baabab400ec">More...</a><br /></td></tr>
<tr class="separator:afd2216ecd5029923097d6baabab400ec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a06800d0a55016e738c55078d82ef49fd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a06800d0a55016e738c55078d82ef49fd">setComponentEffect</a> (<a class="el" href="classImageEffectFilter.html">ImageEffectFilter</a> *newEffect)</td></tr>
<tr class="memdesc:a06800d0a55016e738c55078d82ef49fd"><td class="mdescLeft"> </td><td class="mdescRight">Adds an effect filter to alter the component's appearance. <a href="#a06800d0a55016e738c55078d82ef49fd">More...</a><br /></td></tr>
<tr class="separator:a06800d0a55016e738c55078d82ef49fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af92051347bc323176011c16f8a53bf4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classImageEffectFilter.html">ImageEffectFilter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af92051347bc323176011c16f8a53bf4c">getComponentEffect</a> () const noexcept</td></tr>
<tr class="memdesc:af92051347bc323176011c16f8a53bf4c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current component effect. <a href="#af92051347bc323176011c16f8a53bf4c">More...</a><br /></td></tr>
<tr class="separator:af92051347bc323176011c16f8a53bf4c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf9083590923e021b195985a562d458e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLookAndFeel.html">LookAndFeel</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#adf9083590923e021b195985a562d458e">getLookAndFeel</a> () const noexcept</td></tr>
<tr class="memdesc:adf9083590923e021b195985a562d458e"><td class="mdescLeft"> </td><td class="mdescRight">Finds the appropriate look-and-feel to use for this component. <a href="#adf9083590923e021b195985a562d458e">More...</a><br /></td></tr>
<tr class="separator:adf9083590923e021b195985a562d458e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f2c10cd9840844a5be16e5deeef6f50"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a6f2c10cd9840844a5be16e5deeef6f50">setLookAndFeel</a> (<a class="el" href="classLookAndFeel.html">LookAndFeel</a> *newLookAndFeel)</td></tr>
<tr class="memdesc:a6f2c10cd9840844a5be16e5deeef6f50"><td class="mdescLeft"> </td><td class="mdescRight">Sets the look and feel to use for this component. <a href="#a6f2c10cd9840844a5be16e5deeef6f50">More...</a><br /></td></tr>
<tr class="separator:a6f2c10cd9840844a5be16e5deeef6f50"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74af5830b815f6f985768a5673d01cf2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a74af5830b815f6f985768a5673d01cf2">lookAndFeelChanged</a> ()</td></tr>
<tr class="memdesc:a74af5830b815f6f985768a5673d01cf2"><td class="mdescLeft"> </td><td class="mdescRight">Called to let the component react to a change in the look-and-feel setting. <a href="#a74af5830b815f6f985768a5673d01cf2">More...</a><br /></td></tr>
<tr class="separator:a74af5830b815f6f985768a5673d01cf2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac314d2449213d7942eca083addfcd097"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ac314d2449213d7942eca083addfcd097">sendLookAndFeelChange</a> ()</td></tr>
<tr class="memdesc:ac314d2449213d7942eca083addfcd097"><td class="mdescLeft"> </td><td class="mdescRight">Calls the <a class="el" href="classComponent.html#a74af5830b815f6f985768a5673d01cf2" title="Called to let the component react to a change in the look-and-feel setting. ">lookAndFeelChanged()</a> method in this component and all its children. <a href="#ac314d2449213d7942eca083addfcd097">More...</a><br /></td></tr>
<tr class="separator:ac314d2449213d7942eca083addfcd097"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7320d543cba40183c894474ab78798ea"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7320d543cba40183c894474ab78798ea">setOpaque</a> (bool shouldBeOpaque)</td></tr>
<tr class="memdesc:a7320d543cba40183c894474ab78798ea"><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether any parts of the component might be transparent. <a href="#a7320d543cba40183c894474ab78798ea">More...</a><br /></td></tr>
<tr class="separator:a7320d543cba40183c894474ab78798ea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ef077ace37bcd13d033305e8875d4e7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a6ef077ace37bcd13d033305e8875d4e7">isOpaque</a> () const noexcept</td></tr>
<tr class="memdesc:a6ef077ace37bcd13d033305e8875d4e7"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if no parts of this component are transparent. <a href="#a6ef077ace37bcd13d033305e8875d4e7">More...</a><br /></td></tr>
<tr class="separator:a6ef077ace37bcd13d033305e8875d4e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2e31d54832bfa8b916fef77c4d9eb649"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2e31d54832bfa8b916fef77c4d9eb649">setBroughtToFrontOnMouseClick</a> (bool shouldBeBroughtToFront) noexcept</td></tr>
<tr class="memdesc:a2e31d54832bfa8b916fef77c4d9eb649"><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether the component should be brought to the front when clicked. <a href="#a2e31d54832bfa8b916fef77c4d9eb649">More...</a><br /></td></tr>
<tr class="separator:a2e31d54832bfa8b916fef77c4d9eb649"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa8f9bdf4bef08d89b75b173421fae668"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aa8f9bdf4bef08d89b75b173421fae668">isBroughtToFrontOnMouseClick</a> () const noexcept</td></tr>
<tr class="memdesc:aa8f9bdf4bef08d89b75b173421fae668"><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether the component should be brought to the front when clicked-on. <a href="#aa8f9bdf4bef08d89b75b173421fae668">More...</a><br /></td></tr>
<tr class="separator:aa8f9bdf4bef08d89b75b173421fae668"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6a1f21a76b971d54870cb5c32c041055"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055">setWantsKeyboardFocus</a> (bool wantsFocus) noexcept</td></tr>
<tr class="memdesc:a6a1f21a76b971d54870cb5c32c041055"><td class="mdescLeft"> </td><td class="mdescRight">Sets a flag to indicate whether this component needs keyboard focus or not. <a href="#a6a1f21a76b971d54870cb5c32c041055">More...</a><br /></td></tr>
<tr class="separator:a6a1f21a76b971d54870cb5c32c041055"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af3618b8c0d0583705db9918f23784833"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af3618b8c0d0583705db9918f23784833">getWantsKeyboardFocus</a> () const noexcept</td></tr>
<tr class="memdesc:af3618b8c0d0583705db9918f23784833"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the component is interested in getting keyboard focus. <a href="#af3618b8c0d0583705db9918f23784833">More...</a><br /></td></tr>
<tr class="separator:af3618b8c0d0583705db9918f23784833"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e27530ab343f52b524c1c3f1a1d98eb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a5e27530ab343f52b524c1c3f1a1d98eb">setMouseClickGrabsKeyboardFocus</a> (bool shouldGrabFocus)</td></tr>
<tr class="memdesc:a5e27530ab343f52b524c1c3f1a1d98eb"><td class="mdescLeft"> </td><td class="mdescRight">Chooses whether a click on this component automatically grabs the focus. <a href="#a5e27530ab343f52b524c1c3f1a1d98eb">More...</a><br /></td></tr>
<tr class="separator:a5e27530ab343f52b524c1c3f1a1d98eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9efe458e504e68d52637f969900158b2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9efe458e504e68d52637f969900158b2">getMouseClickGrabsKeyboardFocus</a> () const noexcept</td></tr>
<tr class="memdesc:a9efe458e504e68d52637f969900158b2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the last value set with <a class="el" href="classComponent.html#a5e27530ab343f52b524c1c3f1a1d98eb" title="Chooses whether a click on this component automatically grabs the focus. ">setMouseClickGrabsKeyboardFocus()</a>. <a href="#a9efe458e504e68d52637f969900158b2">More...</a><br /></td></tr>
<tr class="separator:a9efe458e504e68d52637f969900158b2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a91886a0e276d27719fa8866a95306571"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571">grabKeyboardFocus</a> ()</td></tr>
<tr class="memdesc:a91886a0e276d27719fa8866a95306571"><td class="mdescLeft"> </td><td class="mdescRight">Tries to give keyboard focus to this component. <a href="#a91886a0e276d27719fa8866a95306571">More...</a><br /></td></tr>
<tr class="separator:a91886a0e276d27719fa8866a95306571"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf76cf5c3550c5c83bc585f86429b397"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#abf76cf5c3550c5c83bc585f86429b397">hasKeyboardFocus</a> (bool trueIfChildIsFocused) const</td></tr>
<tr class="memdesc:abf76cf5c3550c5c83bc585f86429b397"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this component currently has the keyboard focus. <a href="#abf76cf5c3550c5c83bc585f86429b397">More...</a><br /></td></tr>
<tr class="separator:abf76cf5c3550c5c83bc585f86429b397"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2be625dadff73d1ec003cb06749ba6d6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2be625dadff73d1ec003cb06749ba6d6">moveKeyboardFocusToSibling</a> (bool moveToNext)</td></tr>
<tr class="memdesc:a2be625dadff73d1ec003cb06749ba6d6"><td class="mdescLeft"> </td><td class="mdescRight">Tries to move the keyboard focus to one of this component's siblings. <a href="#a2be625dadff73d1ec003cb06749ba6d6">More...</a><br /></td></tr>
<tr class="separator:a2be625dadff73d1ec003cb06749ba6d6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7826c4e247eb6a6901211741a3e1dca3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classKeyboardFocusTraverser.html">KeyboardFocusTraverser</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7826c4e247eb6a6901211741a3e1dca3">createFocusTraverser</a> ()</td></tr>
<tr class="memdesc:a7826c4e247eb6a6901211741a3e1dca3"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classKeyboardFocusTraverser.html" title="Controls the order in which focus moves between components. ">KeyboardFocusTraverser</a> object to use to determine the logic by which focus should be passed from this component. <a href="#a7826c4e247eb6a6901211741a3e1dca3">More...</a><br /></td></tr>
<tr class="separator:a7826c4e247eb6a6901211741a3e1dca3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ae06fca382eed7ee555d194d947c350"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a1ae06fca382eed7ee555d194d947c350">getExplicitFocusOrder</a> () const</td></tr>
<tr class="memdesc:a1ae06fca382eed7ee555d194d947c350"><td class="mdescLeft"> </td><td class="mdescRight">Returns the focus order of this component, if one has been specified. <a href="#a1ae06fca382eed7ee555d194d947c350">More...</a><br /></td></tr>
<tr class="separator:a1ae06fca382eed7ee555d194d947c350"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acea5b1758143ff5815fd13ae57f2172e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#acea5b1758143ff5815fd13ae57f2172e">setExplicitFocusOrder</a> (int newFocusOrderIndex)</td></tr>
<tr class="memdesc:acea5b1758143ff5815fd13ae57f2172e"><td class="mdescLeft"> </td><td class="mdescRight">Sets the index used in determining the order in which focusable components should be traversed. <a href="#acea5b1758143ff5815fd13ae57f2172e">More...</a><br /></td></tr>
<tr class="separator:acea5b1758143ff5815fd13ae57f2172e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a35b455090a35a07ab832582a635425a3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a35b455090a35a07ab832582a635425a3">setFocusContainer</a> (bool shouldBeFocusContainer) noexcept</td></tr>
<tr class="memdesc:a35b455090a35a07ab832582a635425a3"><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether this component is a parent for components that can have their focus traversed. <a href="#a35b455090a35a07ab832582a635425a3">More...</a><br /></td></tr>
<tr class="separator:a35b455090a35a07ab832582a635425a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a31a41d721888e3ac78659e4815294ed1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a31a41d721888e3ac78659e4815294ed1">isFocusContainer</a> () const noexcept</td></tr>
<tr class="memdesc:a31a41d721888e3ac78659e4815294ed1"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this component has been marked as a focus container. <a href="#a31a41d721888e3ac78659e4815294ed1">More...</a><br /></td></tr>
<tr class="separator:a31a41d721888e3ac78659e4815294ed1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0e12726e34fdd284f036922597914bb3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a0e12726e34fdd284f036922597914bb3">isEnabled</a> () const noexcept</td></tr>
<tr class="memdesc:a0e12726e34fdd284f036922597914bb3"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the component (and all its parents) are enabled. <a href="#a0e12726e34fdd284f036922597914bb3">More...</a><br /></td></tr>
<tr class="separator:a0e12726e34fdd284f036922597914bb3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f956f690d72256838146c7dfe99bc0e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a6f956f690d72256838146c7dfe99bc0e">setEnabled</a> (bool shouldBeEnabled)</td></tr>
<tr class="memdesc:a6f956f690d72256838146c7dfe99bc0e"><td class="mdescLeft"> </td><td class="mdescRight">Enables or disables this component. <a href="#a6f956f690d72256838146c7dfe99bc0e">More...</a><br /></td></tr>
<tr class="separator:a6f956f690d72256838146c7dfe99bc0e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e5e39d3d7e2b8be4e78454ec4a5f584"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a8e5e39d3d7e2b8be4e78454ec4a5f584">enablementChanged</a> ()</td></tr>
<tr class="memdesc:a8e5e39d3d7e2b8be4e78454ec4a5f584"><td class="mdescLeft"> </td><td class="mdescRight">Callback to indicate that this component has been enabled or disabled. <a href="#a8e5e39d3d7e2b8be4e78454ec4a5f584">More...</a><br /></td></tr>
<tr class="separator:a8e5e39d3d7e2b8be4e78454ec4a5f584"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1fa7fae9983fed145b733d809dc7b2e5"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a1fa7fae9983fed145b733d809dc7b2e5">getAlpha</a> () const noexcept</td></tr>
<tr class="memdesc:a1fa7fae9983fed145b733d809dc7b2e5"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component's current transparancy level. <a href="#a1fa7fae9983fed145b733d809dc7b2e5">More...</a><br /></td></tr>
<tr class="separator:a1fa7fae9983fed145b733d809dc7b2e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b9329a87c71ed01319071e0fedac128"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a1b9329a87c71ed01319071e0fedac128">setAlpha</a> (float newAlpha)</td></tr>
<tr class="memdesc:a1b9329a87c71ed01319071e0fedac128"><td class="mdescLeft"> </td><td class="mdescRight">Changes the transparency of this component. <a href="#a1b9329a87c71ed01319071e0fedac128">More...</a><br /></td></tr>
<tr class="separator:a1b9329a87c71ed01319071e0fedac128"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af83c72f9c98476811522ba8cad855003"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af83c72f9c98476811522ba8cad855003">alphaChanged</a> ()</td></tr>
<tr class="memdesc:af83c72f9c98476811522ba8cad855003"><td class="mdescLeft"> </td><td class="mdescRight">Called when <a class="el" href="classComponent.html#a1b9329a87c71ed01319071e0fedac128" title="Changes the transparency of this component. ">setAlpha()</a> is used to change the alpha value of this component. <a href="#af83c72f9c98476811522ba8cad855003">More...</a><br /></td></tr>
<tr class="separator:af83c72f9c98476811522ba8cad855003"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8c631fc3fb881ca94a9b7edcf58636f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ab8c631fc3fb881ca94a9b7edcf58636f">setMouseCursor</a> (const <a class="el" href="classMouseCursor.html">MouseCursor</a> &cursorType)</td></tr>
<tr class="memdesc:ab8c631fc3fb881ca94a9b7edcf58636f"><td class="mdescLeft"> </td><td class="mdescRight">Changes the mouse cursor shape to use when the mouse is over this component. <a href="#ab8c631fc3fb881ca94a9b7edcf58636f">More...</a><br /></td></tr>
<tr class="separator:ab8c631fc3fb881ca94a9b7edcf58636f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a712ed320619d48542de733c086f4fd3e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classMouseCursor.html">MouseCursor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a712ed320619d48542de733c086f4fd3e">getMouseCursor</a> ()</td></tr>
<tr class="memdesc:a712ed320619d48542de733c086f4fd3e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the mouse cursor shape to use when the mouse is over this component. <a href="#a712ed320619d48542de733c086f4fd3e">More...</a><br /></td></tr>
<tr class="separator:a712ed320619d48542de733c086f4fd3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d879d2f1eb69e2e828904efc42f0575"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2d879d2f1eb69e2e828904efc42f0575">updateMouseCursor</a> () const</td></tr>
<tr class="memdesc:a2d879d2f1eb69e2e828904efc42f0575"><td class="mdescLeft"> </td><td class="mdescRight">Forces the current mouse cursor to be updated. <a href="#a2d879d2f1eb69e2e828904efc42f0575">More...</a><br /></td></tr>
<tr class="separator:a2d879d2f1eb69e2e828904efc42f0575"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7cf1862f4af5909ea72827898114a182"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182">paint</a> (<a class="el" href="classGraphics.html">Graphics</a> &g)</td></tr>
<tr class="memdesc:a7cf1862f4af5909ea72827898114a182"><td class="mdescLeft"> </td><td class="mdescRight">Components can override this method to draw their content. <a href="#a7cf1862f4af5909ea72827898114a182">More...</a><br /></td></tr>
<tr class="separator:a7cf1862f4af5909ea72827898114a182"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa15dc77c06b5a0a4192090b4a323f79c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aa15dc77c06b5a0a4192090b4a323f79c">paintOverChildren</a> (<a class="el" href="classGraphics.html">Graphics</a> &g)</td></tr>
<tr class="memdesc:aa15dc77c06b5a0a4192090b4a323f79c"><td class="mdescLeft"> </td><td class="mdescRight">Components can override this method to draw over the top of their children. <a href="#aa15dc77c06b5a0a4192090b4a323f79c">More...</a><br /></td></tr>
<tr class="separator:aa15dc77c06b5a0a4192090b4a323f79c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2cfbadc42d5c2124f67ae181de1234e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ad2cfbadc42d5c2124f67ae181de1234e">mouseMove</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event) override</td></tr>
<tr class="memdesc:ad2cfbadc42d5c2124f67ae181de1234e"><td class="mdescLeft"> </td><td class="mdescRight">Called when the mouse moves inside a component. <a href="#ad2cfbadc42d5c2124f67ae181de1234e">More...</a><br /></td></tr>
<tr class="separator:ad2cfbadc42d5c2124f67ae181de1234e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a525b16845ffacc71c7c37a72f68feccc"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a525b16845ffacc71c7c37a72f68feccc">mouseEnter</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event) override</td></tr>
<tr class="memdesc:a525b16845ffacc71c7c37a72f68feccc"><td class="mdescLeft"> </td><td class="mdescRight">Called when the mouse first enters a component. <a href="#a525b16845ffacc71c7c37a72f68feccc">More...</a><br /></td></tr>
<tr class="separator:a525b16845ffacc71c7c37a72f68feccc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16a0c88e82e5b71ed8cc7c7b3de37cb2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a16a0c88e82e5b71ed8cc7c7b3de37cb2">mouseExit</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event) override</td></tr>
<tr class="memdesc:a16a0c88e82e5b71ed8cc7c7b3de37cb2"><td class="mdescLeft"> </td><td class="mdescRight">Called when the mouse moves out of a component. <a href="#a16a0c88e82e5b71ed8cc7c7b3de37cb2">More...</a><br /></td></tr>
<tr class="separator:a16a0c88e82e5b71ed8cc7c7b3de37cb2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8504490979c2b4a6fdf02471b03a78f6"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a8504490979c2b4a6fdf02471b03a78f6">mouseDown</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event) override</td></tr>
<tr class="memdesc:a8504490979c2b4a6fdf02471b03a78f6"><td class="mdescLeft"> </td><td class="mdescRight">Called when a mouse button is pressed. <a href="#a8504490979c2b4a6fdf02471b03a78f6">More...</a><br /></td></tr>
<tr class="separator:a8504490979c2b4a6fdf02471b03a78f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32ebd26be9c9bc56dd942071227d799d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d">mouseDrag</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event) override</td></tr>
<tr class="memdesc:a32ebd26be9c9bc56dd942071227d799d"><td class="mdescLeft"> </td><td class="mdescRight">Called when the mouse is moved while a button is held down. <a href="#a32ebd26be9c9bc56dd942071227d799d">More...</a><br /></td></tr>
<tr class="separator:a32ebd26be9c9bc56dd942071227d799d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ef1d5efbd2b9c581c59ad75fb574fd4"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9ef1d5efbd2b9c581c59ad75fb574fd4">mouseUp</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event) override</td></tr>
<tr class="memdesc:a9ef1d5efbd2b9c581c59ad75fb574fd4"><td class="mdescLeft"> </td><td class="mdescRight">Called when a mouse button is released. <a href="#a9ef1d5efbd2b9c581c59ad75fb574fd4">More...</a><br /></td></tr>
<tr class="separator:a9ef1d5efbd2b9c581c59ad75fb574fd4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a90a5f41210643598f6fdd5013800e5d0"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a90a5f41210643598f6fdd5013800e5d0">mouseDoubleClick</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event) override</td></tr>
<tr class="memdesc:a90a5f41210643598f6fdd5013800e5d0"><td class="mdescLeft"> </td><td class="mdescRight">Called when a mouse button has been double-clicked on a component. <a href="#a90a5f41210643598f6fdd5013800e5d0">More...</a><br /></td></tr>
<tr class="separator:a90a5f41210643598f6fdd5013800e5d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1bb56b659ce36b629397da5837595ef8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a1bb56b659ce36b629397da5837595ef8">mouseWheelMove</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event, const <a class="el" href="structMouseWheelDetails.html">MouseWheelDetails</a> &wheel) override</td></tr>
<tr class="memdesc:a1bb56b659ce36b629397da5837595ef8"><td class="mdescLeft"> </td><td class="mdescRight">Called when the mouse-wheel is moved. <a href="#a1bb56b659ce36b629397da5837595ef8">More...</a><br /></td></tr>
<tr class="separator:a1bb56b659ce36b629397da5837595ef8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abde4246acd5f0289785daf92b8c87d81"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#abde4246acd5f0289785daf92b8c87d81">mouseMagnify</a> (const <a class="el" href="classMouseEvent.html">MouseEvent</a> &event, float scaleFactor)</td></tr>
<tr class="memdesc:abde4246acd5f0289785daf92b8c87d81"><td class="mdescLeft"> </td><td class="mdescRight">Called when a pinch-to-zoom mouse-gesture is used. <a href="#abde4246acd5f0289785daf92b8c87d81">More...</a><br /></td></tr>
<tr class="separator:abde4246acd5f0289785daf92b8c87d81"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7845e402a21d2b86d8c4ec48bc7c93b1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7845e402a21d2b86d8c4ec48bc7c93b1">setRepaintsOnMouseActivity</a> (bool shouldRepaint) noexcept</td></tr>
<tr class="memdesc:a7845e402a21d2b86d8c4ec48bc7c93b1"><td class="mdescLeft"> </td><td class="mdescRight">Causes automatic repaints when the mouse enters or exits this component. <a href="#a7845e402a21d2b86d8c4ec48bc7c93b1">More...</a><br /></td></tr>
<tr class="separator:a7845e402a21d2b86d8c4ec48bc7c93b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae45db6bb7d7826eb7e936c21fec105ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ae45db6bb7d7826eb7e936c21fec105ce">addMouseListener</a> (<a class="el" href="classMouseListener.html">MouseListener</a> *newListener, bool wantsEventsForAllNestedChildComponents)</td></tr>
<tr class="memdesc:ae45db6bb7d7826eb7e936c21fec105ce"><td class="mdescLeft"> </td><td class="mdescRight">Registers a listener to be told when mouse events occur in this component. <a href="#ae45db6bb7d7826eb7e936c21fec105ce">More...</a><br /></td></tr>
<tr class="separator:ae45db6bb7d7826eb7e936c21fec105ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a423c89ca5c8622712202c30cb7a5a69c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a423c89ca5c8622712202c30cb7a5a69c">removeMouseListener</a> (<a class="el" href="classMouseListener.html">MouseListener</a> *listenerToRemove)</td></tr>
<tr class="memdesc:a423c89ca5c8622712202c30cb7a5a69c"><td class="mdescLeft"> </td><td class="mdescRight">Deregisters a mouse listener. <a href="#a423c89ca5c8622712202c30cb7a5a69c">More...</a><br /></td></tr>
<tr class="separator:a423c89ca5c8622712202c30cb7a5a69c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ec1b609c39c54434f746cefffa6ce3f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a4ec1b609c39c54434f746cefffa6ce3f">addKeyListener</a> (<a class="el" href="classKeyListener.html">KeyListener</a> *newListener)</td></tr>
<tr class="memdesc:a4ec1b609c39c54434f746cefffa6ce3f"><td class="mdescLeft"> </td><td class="mdescRight">Adds a listener that wants to hear about keypresses that this component receives. <a href="#a4ec1b609c39c54434f746cefffa6ce3f">More...</a><br /></td></tr>
<tr class="separator:a4ec1b609c39c54434f746cefffa6ce3f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5287496e233768c197ad8d74484a85fc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a5287496e233768c197ad8d74484a85fc">removeKeyListener</a> (<a class="el" href="classKeyListener.html">KeyListener</a> *listenerToRemove)</td></tr>
<tr class="memdesc:a5287496e233768c197ad8d74484a85fc"><td class="mdescLeft"> </td><td class="mdescRight">Removes a previously-registered key listener. <a href="#a5287496e233768c197ad8d74484a85fc">More...</a><br /></td></tr>
<tr class="separator:a5287496e233768c197ad8d74484a85fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab063a5c631854864da09106abec78a86"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ab063a5c631854864da09106abec78a86">keyPressed</a> (const <a class="el" href="classKeyPress.html">KeyPress</a> &key)</td></tr>
<tr class="memdesc:ab063a5c631854864da09106abec78a86"><td class="mdescLeft"> </td><td class="mdescRight">Called when a key is pressed. <a href="#ab063a5c631854864da09106abec78a86">More...</a><br /></td></tr>
<tr class="separator:ab063a5c631854864da09106abec78a86"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeff4d2fdbae4d5974e43b62ab3c304f9"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aeff4d2fdbae4d5974e43b62ab3c304f9">keyStateChanged</a> (bool isKeyDown)</td></tr>
<tr class="memdesc:aeff4d2fdbae4d5974e43b62ab3c304f9"><td class="mdescLeft"> </td><td class="mdescRight">Called when a key is pressed or released. <a href="#aeff4d2fdbae4d5974e43b62ab3c304f9">More...</a><br /></td></tr>
<tr class="separator:aeff4d2fdbae4d5974e43b62ab3c304f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4145c1c28dd2ae42b19c9c3e0a6aba7b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a4145c1c28dd2ae42b19c9c3e0a6aba7b">modifierKeysChanged</a> (const <a class="el" href="classModifierKeys.html">ModifierKeys</a> &modifiers)</td></tr>
<tr class="memdesc:a4145c1c28dd2ae42b19c9c3e0a6aba7b"><td class="mdescLeft"> </td><td class="mdescRight">Called when a modifier key is pressed or released. <a href="#a4145c1c28dd2ae42b19c9c3e0a6aba7b">More...</a><br /></td></tr>
<tr class="separator:a4145c1c28dd2ae42b19c9c3e0a6aba7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a408d41f1499a2ebdd4bbc8d4004c7727"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a408d41f1499a2ebdd4bbc8d4004c7727">focusGained</a> (<a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">FocusChangeType</a> cause)</td></tr>
<tr class="memdesc:a408d41f1499a2ebdd4bbc8d4004c7727"><td class="mdescLeft"> </td><td class="mdescRight">Called to indicate that this component has just acquired the keyboard focus. <a href="#a408d41f1499a2ebdd4bbc8d4004c7727">More...</a><br /></td></tr>
<tr class="separator:a408d41f1499a2ebdd4bbc8d4004c7727"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a36456ea9d5a14172d6e96527ec1f59c8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a36456ea9d5a14172d6e96527ec1f59c8">focusLost</a> (<a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">FocusChangeType</a> cause)</td></tr>
<tr class="memdesc:a36456ea9d5a14172d6e96527ec1f59c8"><td class="mdescLeft"> </td><td class="mdescRight">Called to indicate that this component has just lost the keyboard focus. <a href="#a36456ea9d5a14172d6e96527ec1f59c8">More...</a><br /></td></tr>
<tr class="separator:a36456ea9d5a14172d6e96527ec1f59c8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a67ef76b8080b9abb7efa0df358598a01"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a67ef76b8080b9abb7efa0df358598a01">focusOfChildComponentChanged</a> (<a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">FocusChangeType</a> cause)</td></tr>
<tr class="memdesc:a67ef76b8080b9abb7efa0df358598a01"><td class="mdescLeft"> </td><td class="mdescRight">Called to indicate a change in whether or not this component is the parent of the currently-focused component. <a href="#a67ef76b8080b9abb7efa0df358598a01">More...</a><br /></td></tr>
<tr class="separator:a67ef76b8080b9abb7efa0df358598a01"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf24c1e586677b3b2acddb71b4ca1ed9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#adf24c1e586677b3b2acddb71b4ca1ed9">isMouseOver</a> (bool includeChildren=false) const</td></tr>
<tr class="memdesc:adf24c1e586677b3b2acddb71b4ca1ed9"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the mouse is currently over this component. <a href="#adf24c1e586677b3b2acddb71b4ca1ed9">More...</a><br /></td></tr>
<tr class="separator:adf24c1e586677b3b2acddb71b4ca1ed9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ad6b60ebd6e2c5bdd20efbb3c2133a7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a0ad6b60ebd6e2c5bdd20efbb3c2133a7">isMouseButtonDown</a> () const</td></tr>
<tr class="memdesc:a0ad6b60ebd6e2c5bdd20efbb3c2133a7"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the mouse button is currently held down in this component. <a href="#a0ad6b60ebd6e2c5bdd20efbb3c2133a7">More...</a><br /></td></tr>
<tr class="separator:a0ad6b60ebd6e2c5bdd20efbb3c2133a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a67566f891a0b688bfb6ee7b9cdc0b1c9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a67566f891a0b688bfb6ee7b9cdc0b1c9">isMouseOverOrDragging</a> (bool includeChildren=false) const</td></tr>
<tr class="memdesc:a67566f891a0b688bfb6ee7b9cdc0b1c9"><td class="mdescLeft"> </td><td class="mdescRight">True if the mouse is over this component, or if it's being dragged in this component. <a href="#a67566f891a0b688bfb6ee7b9cdc0b1c9">More...</a><br /></td></tr>
<tr class="separator:a67566f891a0b688bfb6ee7b9cdc0b1c9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af8799a5d3868c0405829114874e9947a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af8799a5d3868c0405829114874e9947a">getMouseXYRelative</a> () const</td></tr>
<tr class="memdesc:af8799a5d3868c0405829114874e9947a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the mouse's current position, relative to this component. <a href="#af8799a5d3868c0405829114874e9947a">More...</a><br /></td></tr>
<tr class="separator:af8799a5d3868c0405829114874e9947a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad896183a68d71daf5816982d1fefd960"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ad896183a68d71daf5816982d1fefd960">resized</a> ()</td></tr>
<tr class="memdesc:ad896183a68d71daf5816982d1fefd960"><td class="mdescLeft"> </td><td class="mdescRight">Called when this component's size has been changed. <a href="#ad896183a68d71daf5816982d1fefd960">More...</a><br /></td></tr>
<tr class="separator:ad896183a68d71daf5816982d1fefd960"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b94f2816dc8bc20473620e0db0e8246"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246">moved</a> ()</td></tr>
<tr class="memdesc:a1b94f2816dc8bc20473620e0db0e8246"><td class="mdescLeft"> </td><td class="mdescRight">Called when this component's position has been changed. <a href="#a1b94f2816dc8bc20473620e0db0e8246">More...</a><br /></td></tr>
<tr class="separator:a1b94f2816dc8bc20473620e0db0e8246"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a081b2618e5169d656167614bee91defe"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a081b2618e5169d656167614bee91defe">childBoundsChanged</a> (<a class="el" href="classComponent.html">Component</a> *child)</td></tr>
<tr class="memdesc:a081b2618e5169d656167614bee91defe"><td class="mdescLeft"> </td><td class="mdescRight">Called when one of this component's children is moved or resized. <a href="#a081b2618e5169d656167614bee91defe">More...</a><br /></td></tr>
<tr class="separator:a081b2618e5169d656167614bee91defe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefdce73a764c48363e82b22c32b0812e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#aefdce73a764c48363e82b22c32b0812e">parentSizeChanged</a> ()</td></tr>
<tr class="memdesc:aefdce73a764c48363e82b22c32b0812e"><td class="mdescLeft"> </td><td class="mdescRight">Called when this component's immediate parent has been resized. <a href="#aefdce73a764c48363e82b22c32b0812e">More...</a><br /></td></tr>
<tr class="separator:aefdce73a764c48363e82b22c32b0812e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4bf084bcf5b0e4398ee3a0007f803865"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a4bf084bcf5b0e4398ee3a0007f803865">broughtToFront</a> ()</td></tr>
<tr class="memdesc:a4bf084bcf5b0e4398ee3a0007f803865"><td class="mdescLeft"> </td><td class="mdescRight">Called when this component has been moved to the front of its siblings. <a href="#a4bf084bcf5b0e4398ee3a0007f803865">More...</a><br /></td></tr>
<tr class="separator:a4bf084bcf5b0e4398ee3a0007f803865"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a51cb09159299964cef7b975185cf400d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a51cb09159299964cef7b975185cf400d">addComponentListener</a> (<a class="el" href="classComponentListener.html">ComponentListener</a> *newListener)</td></tr>
<tr class="memdesc:a51cb09159299964cef7b975185cf400d"><td class="mdescLeft"> </td><td class="mdescRight">Adds a listener to be told about changes to the component hierarchy or position. <a href="#a51cb09159299964cef7b975185cf400d">More...</a><br /></td></tr>
<tr class="separator:a51cb09159299964cef7b975185cf400d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a74ad0359e05321223f1d09bcfddddd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7a74ad0359e05321223f1d09bcfddddd">removeComponentListener</a> (<a class="el" href="classComponentListener.html">ComponentListener</a> *listenerToRemove)</td></tr>
<tr class="memdesc:a7a74ad0359e05321223f1d09bcfddddd"><td class="mdescLeft"> </td><td class="mdescRight">Removes a component listener. <a href="#a7a74ad0359e05321223f1d09bcfddddd">More...</a><br /></td></tr>
<tr class="separator:a7a74ad0359e05321223f1d09bcfddddd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a005628ba100dc23d179bff98bd419eb5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a005628ba100dc23d179bff98bd419eb5">postCommandMessage</a> (int commandId)</td></tr>
<tr class="memdesc:a005628ba100dc23d179bff98bd419eb5"><td class="mdescLeft"> </td><td class="mdescRight">Dispatches a numbered message to this component. <a href="#a005628ba100dc23d179bff98bd419eb5">More...</a><br /></td></tr>
<tr class="separator:a005628ba100dc23d179bff98bd419eb5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ba6fa31d1397c7e90050b2cd4f2089b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9ba6fa31d1397c7e90050b2cd4f2089b">handleCommandMessage</a> (int commandId)</td></tr>
<tr class="memdesc:a9ba6fa31d1397c7e90050b2cd4f2089b"><td class="mdescLeft"> </td><td class="mdescRight">Called to handle a command that was sent by <a class="el" href="classComponent.html#a005628ba100dc23d179bff98bd419eb5" title="Dispatches a numbered message to this component. ">postCommandMessage()</a>. <a href="#a9ba6fa31d1397c7e90050b2cd4f2089b">More...</a><br /></td></tr>
<tr class="separator:a9ba6fa31d1397c7e90050b2cd4f2089b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a363364f6ae4f1a20abd60493c6854829"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a363364f6ae4f1a20abd60493c6854829">runModalLoop</a> ()</td></tr>
<tr class="memdesc:a363364f6ae4f1a20abd60493c6854829"><td class="mdescLeft"> </td><td class="mdescRight">Runs a component modally, waiting until the loop terminates. <a href="#a363364f6ae4f1a20abd60493c6854829">More...</a><br /></td></tr>
<tr class="separator:a363364f6ae4f1a20abd60493c6854829"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0e7be8c456a663615eb389ecd10b2c04"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a0e7be8c456a663615eb389ecd10b2c04">enterModalState</a> (bool takeKeyboardFocus=true, <a class="el" href="classModalComponentManager_1_1Callback.html">ModalComponentManager::Callback</a> *callback=nullptr, bool deleteWhenDismissed=false)</td></tr>
<tr class="memdesc:a0e7be8c456a663615eb389ecd10b2c04"><td class="mdescLeft"> </td><td class="mdescRight">Puts the component into a modal state. <a href="#a0e7be8c456a663615eb389ecd10b2c04">More...</a><br /></td></tr>
<tr class="separator:a0e7be8c456a663615eb389ecd10b2c04"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a686e2440370ff4a97c7a7851907be650"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a686e2440370ff4a97c7a7851907be650">exitModalState</a> (int returnValue)</td></tr>
<tr class="memdesc:a686e2440370ff4a97c7a7851907be650"><td class="mdescLeft"> </td><td class="mdescRight">Ends a component's modal state. <a href="#a686e2440370ff4a97c7a7851907be650">More...</a><br /></td></tr>
<tr class="separator:a686e2440370ff4a97c7a7851907be650"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a489ebde1970d6a2571bae5152b396267"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a489ebde1970d6a2571bae5152b396267">isCurrentlyModal</a> (bool onlyConsiderForemostModalComponent=true) const noexcept</td></tr>
<tr class="memdesc:a489ebde1970d6a2571bae5152b396267"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this component is the modal one. <a href="#a489ebde1970d6a2571bae5152b396267">More...</a><br /></td></tr>
<tr class="separator:a489ebde1970d6a2571bae5152b396267"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70fc33489ec892d615452dfdbd4687db"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a70fc33489ec892d615452dfdbd4687db">isCurrentlyBlockedByAnotherModalComponent</a> () const</td></tr>
<tr class="memdesc:a70fc33489ec892d615452dfdbd4687db"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether there's a modal component somewhere that's stopping this one from receiving messages. <a href="#a70fc33489ec892d615452dfdbd4687db">More...</a><br /></td></tr>
<tr class="separator:a70fc33489ec892d615452dfdbd4687db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abec1d60cfacf16eab602dff06932fbca"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#abec1d60cfacf16eab602dff06932fbca">canModalEventBeSentToComponent</a> (const <a class="el" href="classComponent.html">Component</a> *targetComponent)</td></tr>
<tr class="memdesc:abec1d60cfacf16eab602dff06932fbca"><td class="mdescLeft"> </td><td class="mdescRight">When a component is modal, this callback allows it to choose which other components can still receive events. <a href="#abec1d60cfacf16eab602dff06932fbca">More...</a><br /></td></tr>
<tr class="separator:abec1d60cfacf16eab602dff06932fbca"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a260e46fb72d4b3210bc46a658a21fbb5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a260e46fb72d4b3210bc46a658a21fbb5">inputAttemptWhenModal</a> ()</td></tr>
<tr class="memdesc:a260e46fb72d4b3210bc46a658a21fbb5"><td class="mdescLeft"> </td><td class="mdescRight">Called when the user tries to click on a component that is blocked by another modal component. <a href="#a260e46fb72d4b3210bc46a658a21fbb5">More...</a><br /></td></tr>
<tr class="separator:a260e46fb72d4b3210bc46a658a21fbb5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a23985453622396b6037eb5ec38dbd398"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNamedValueSet.html">NamedValueSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a23985453622396b6037eb5ec38dbd398">getProperties</a> () noexcept</td></tr>
<tr class="memdesc:a23985453622396b6037eb5ec38dbd398"><td class="mdescLeft"> </td><td class="mdescRight">Returns the set of properties that belong to this component. <a href="#a23985453622396b6037eb5ec38dbd398">More...</a><br /></td></tr>
<tr class="separator:a23985453622396b6037eb5ec38dbd398"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf32701df78ef2dd10793b11a979a696"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classNamedValueSet.html">NamedValueSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#adf32701df78ef2dd10793b11a979a696">getProperties</a> () const noexcept</td></tr>
<tr class="memdesc:adf32701df78ef2dd10793b11a979a696"><td class="mdescLeft"> </td><td class="mdescRight">Returns the set of properties that belong to this component. <a href="#adf32701df78ef2dd10793b11a979a696">More...</a><br /></td></tr>
<tr class="separator:adf32701df78ef2dd10793b11a979a696"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a202390cda00048f08ee80add476a0f3c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classColour.html">Colour</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a202390cda00048f08ee80add476a0f3c">findColour</a> (int colourId, bool inheritFromParent=false) const</td></tr>
<tr class="memdesc:a202390cda00048f08ee80add476a0f3c"><td class="mdescLeft"> </td><td class="mdescRight">Looks for a colour that has been registered with the given colour ID number. <a href="#a202390cda00048f08ee80add476a0f3c">More...</a><br /></td></tr>
<tr class="separator:a202390cda00048f08ee80add476a0f3c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a875e6cc05407cea2d6a04dced62e13cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd">setColour</a> (int colourId, <a class="el" href="classColour.html">Colour</a> newColour)</td></tr>
<tr class="memdesc:a875e6cc05407cea2d6a04dced62e13cd"><td class="mdescLeft"> </td><td class="mdescRight">Registers a colour to be used for a particular purpose. <a href="#a875e6cc05407cea2d6a04dced62e13cd">More...</a><br /></td></tr>
<tr class="separator:a875e6cc05407cea2d6a04dced62e13cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7c3179a6a241477c590ea23ff99e867d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7c3179a6a241477c590ea23ff99e867d">removeColour</a> (int colourId)</td></tr>
<tr class="memdesc:a7c3179a6a241477c590ea23ff99e867d"><td class="mdescLeft"> </td><td class="mdescRight">If a colour has been set with <a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour()</a>, this will remove it. <a href="#a7c3179a6a241477c590ea23ff99e867d">More...</a><br /></td></tr>
<tr class="separator:a7c3179a6a241477c590ea23ff99e867d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8040eedee0207c9352880e86e603a4d3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a8040eedee0207c9352880e86e603a4d3">isColourSpecified</a> (int colourId) const</td></tr>
<tr class="memdesc:a8040eedee0207c9352880e86e603a4d3"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the specified colour ID has been explicitly set for this component using the <a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour()</a> method. <a href="#a8040eedee0207c9352880e86e603a4d3">More...</a><br /></td></tr>
<tr class="separator:a8040eedee0207c9352880e86e603a4d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adb859c49c36874ebdad85adf1c1f5ce9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#adb859c49c36874ebdad85adf1c1f5ce9">copyAllExplicitColoursTo</a> (<a class="el" href="classComponent.html">Component</a> &target) const</td></tr>
<tr class="memdesc:adb859c49c36874ebdad85adf1c1f5ce9"><td class="mdescLeft"> </td><td class="mdescRight">This looks for any colours that have been specified for this component, and copies them to the specified target component. <a href="#adb859c49c36874ebdad85adf1c1f5ce9">More...</a><br /></td></tr>
<tr class="separator:adb859c49c36874ebdad85adf1c1f5ce9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adfab11b32c622b327a823c6565f637f4"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#adfab11b32c622b327a823c6565f637f4">colourChanged</a> ()</td></tr>
<tr class="memdesc:adfab11b32c622b327a823c6565f637f4"><td class="mdescLeft"> </td><td class="mdescRight">This method is called when a colour is changed by the <a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour()</a> method. <a href="#adfab11b32c622b327a823c6565f637f4">More...</a><br /></td></tr>
<tr class="separator:adfab11b32c622b327a823c6565f637f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2c2b7f738ccfcf541b72a6ce8283fce0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classMarkerList.html">MarkerList</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a2c2b7f738ccfcf541b72a6ce8283fce0">getMarkers</a> (bool xAxis)</td></tr>
<tr class="memdesc:a2c2b7f738ccfcf541b72a6ce8283fce0"><td class="mdescLeft"> </td><td class="mdescRight">Components can implement this method to provide a <a class="el" href="classMarkerList.html" title="Holds a set of named marker points along a one-dimensional axis. ">MarkerList</a>. <a href="#a2c2b7f738ccfcf541b72a6ce8283fce0">More...</a><br /></td></tr>
<tr class="separator:a2c2b7f738ccfcf541b72a6ce8283fce0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1cc235734615109756110ca8423e3ac3"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a1cc235734615109756110ca8423e3ac3">getWindowHandle</a> () const</td></tr>
<tr class="memdesc:a1cc235734615109756110ca8423e3ac3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the underlying native window handle for this component. <a href="#a1cc235734615109756110ca8423e3ac3">More...</a><br /></td></tr>
<tr class="separator:a1cc235734615109756110ca8423e3ac3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fb6cbf8dc543319c42a37590e0d0bd8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classComponent_1_1Positioner.html">Positioner</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a4fb6cbf8dc543319c42a37590e0d0bd8">getPositioner</a> () const noexcept</td></tr>
<tr class="memdesc:a4fb6cbf8dc543319c42a37590e0d0bd8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classComponent_1_1Positioner.html" title="Base class for objects that can be used to automatically position a component according to some kind ...">Positioner</a> object that has been set for this component. <a href="#a4fb6cbf8dc543319c42a37590e0d0bd8">More...</a><br /></td></tr>
<tr class="separator:a4fb6cbf8dc543319c42a37590e0d0bd8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a27359d626e9ab896af71cd57c1ff0915"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a27359d626e9ab896af71cd57c1ff0915">setPositioner</a> (<a class="el" href="classComponent_1_1Positioner.html">Positioner</a> *newPositioner)</td></tr>
<tr class="memdesc:a27359d626e9ab896af71cd57c1ff0915"><td class="mdescLeft"> </td><td class="mdescRight">Sets a new <a class="el" href="classComponent_1_1Positioner.html" title="Base class for objects that can be used to automatically position a component according to some kind ...">Positioner</a> object for this component. <a href="#a27359d626e9ab896af71cd57c1ff0915">More...</a><br /></td></tr>
<tr class="separator:a27359d626e9ab896af71cd57c1ff0915"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a19c5cf59573243d77a94bb3abea722"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9a19c5cf59573243d77a94bb3abea722">setCachedComponentImage</a> (<a class="el" href="classCachedComponentImage.html">CachedComponentImage</a> *newCachedImage)</td></tr>
<tr class="memdesc:a9a19c5cf59573243d77a94bb3abea722"><td class="mdescLeft"> </td><td class="mdescRight">Gives the component a <a class="el" href="classCachedComponentImage.html" title="Base class used internally for structures that can store cached images of component state...">CachedComponentImage</a> that should be used to buffer its painting. <a href="#a9a19c5cf59573243d77a94bb3abea722">More...</a><br /></td></tr>
<tr class="separator:a9a19c5cf59573243d77a94bb3abea722"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9338014ab407f6b41c14495ab2a7fc4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCachedComponentImage.html">CachedComponentImage</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a9338014ab407f6b41c14495ab2a7fc4d">getCachedComponentImage</a> () const noexcept</td></tr>
<tr class="memdesc:a9338014ab407f6b41c14495ab2a7fc4d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the object that was set by <a class="el" href="classComponent.html#a9a19c5cf59573243d77a94bb3abea722" title="Gives the component a CachedComponentImage that should be used to buffer its painting. ">setCachedComponentImage()</a>. <a href="#a9338014ab407f6b41c14495ab2a7fc4d">More...</a><br /></td></tr>
<tr class="separator:a9338014ab407f6b41c14495ab2a7fc4d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb33b4aed9d981ae1a477c09ffa78fc7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#acb33b4aed9d981ae1a477c09ffa78fc7">JUCE_DEPRECATED</a> (<a class="el" href="classPoint.html">Point</a>< int > relativePositionToGlobal(<a class="el" href="classPoint.html">Point</a>< int >) const)</td></tr>
<tr class="separator:acb33b4aed9d981ae1a477c09ffa78fc7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae1e72f4e27817c000eabe164fd55c7fc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ae1e72f4e27817c000eabe164fd55c7fc">JUCE_DEPRECATED</a> (<a class="el" href="classPoint.html">Point</a>< int > globalPositionToRelative(<a class="el" href="classPoint.html">Point</a>< int >) const)</td></tr>
<tr class="separator:ae1e72f4e27817c000eabe164fd55c7fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a947f10bbb7a68691de5d3f8af394c5a9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a947f10bbb7a68691de5d3f8af394c5a9">JUCE_DEPRECATED</a> (<a class="el" href="classPoint.html">Point</a>< int > relativePositionToOtherComponent(const <a class="el" href="classComponent.html">Component</a> *, <a class="el" href="classPoint.html">Point</a>< int >) const)</td></tr>
<tr class="separator:a947f10bbb7a68691de5d3f8af394c5a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classMouseListener"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classMouseListener')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classMouseListener.html">MouseListener</a></td></tr>
<tr class="memitem:a9d4fc9354c8e4109c9b8f0d4b50dd440 inherit pub_methods_classMouseListener"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classMouseListener.html#a9d4fc9354c8e4109c9b8f0d4b50dd440">~MouseListener</a> ()</td></tr>
<tr class="memdesc:a9d4fc9354c8e4109c9b8f0d4b50dd440 inherit pub_methods_classMouseListener"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classMouseListener.html#a9d4fc9354c8e4109c9b8f0d4b50dd440">More...</a><br /></td></tr>
<tr class="separator:a9d4fc9354c8e4109c9b8f0d4b50dd440 inherit pub_methods_classMouseListener"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7030de7a58ec40e43ec902d6bb8aaf7a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classComponent.html">Component</a> *<a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a7030de7a58ec40e43ec902d6bb8aaf7a">getCurrentlyFocusedComponent</a> () noexcept</td></tr>
<tr class="memdesc:a7030de7a58ec40e43ec902d6bb8aaf7a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the component that currently has the keyboard focus. <a href="#a7030de7a58ec40e43ec902d6bb8aaf7a">More...</a><br /></td></tr>
<tr class="separator:a7030de7a58ec40e43ec902d6bb8aaf7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a34c592c531e8c996dee1bffb2884ca4e"><td class="memItemLeft" align="right" valign="top">static void <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a34c592c531e8c996dee1bffb2884ca4e">unfocusAllComponents</a> ()</td></tr>
<tr class="memdesc:a34c592c531e8c996dee1bffb2884ca4e"><td class="mdescLeft"> </td><td class="mdescRight">If any component has keyboard focus, this will defocus it. <a href="#a34c592c531e8c996dee1bffb2884ca4e">More...</a><br /></td></tr>
<tr class="separator:a34c592c531e8c996dee1bffb2884ca4e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54a125231707956e740b295f2622787b"><td class="memItemLeft" align="right" valign="top">static void <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#a54a125231707956e740b295f2622787b">beginDragAutoRepeat</a> (int millisecondsBetweenCallbacks)</td></tr>
<tr class="memdesc:a54a125231707956e740b295f2622787b"><td class="mdescLeft"> </td><td class="mdescRight">Ensures that a non-stop stream of mouse-drag events will be sent during the current mouse-drag operation. <a href="#a54a125231707956e740b295f2622787b">More...</a><br /></td></tr>
<tr class="separator:a54a125231707956e740b295f2622787b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac3184a52027ad9106185d594c522d9d0"><td class="memItemLeft" align="right" valign="top">static bool <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ac3184a52027ad9106185d594c522d9d0">isMouseButtonDownAnywhere</a> () noexcept</td></tr>
<tr class="memdesc:ac3184a52027ad9106185d594c522d9d0"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if a mouse button is currently down. <a href="#ac3184a52027ad9106185d594c522d9d0">More...</a><br /></td></tr>
<tr class="separator:ac3184a52027ad9106185d594c522d9d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae58129a62eda13ca8987072cd9c62359"><td class="memItemLeft" align="right" valign="top">static int <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#ae58129a62eda13ca8987072cd9c62359">getNumCurrentlyModalComponents</a> () noexcept</td></tr>
<tr class="memdesc:ae58129a62eda13ca8987072cd9c62359"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of components that are currently in a modal state. <a href="#ae58129a62eda13ca8987072cd9c62359">More...</a><br /></td></tr>
<tr class="separator:ae58129a62eda13ca8987072cd9c62359"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af281d9bc711b70c43ae5891a35165cb3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classComponent.html">Component</a> *<a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classComponent.html#af281d9bc711b70c43ae5891a35165cb3">getCurrentlyModalComponent</a> (int index=0) noexcept</td></tr>
<tr class="memdesc:af281d9bc711b70c43ae5891a35165cb3"><td class="mdescLeft"> </td><td class="mdescRight">Returns one of the components that are currently modal. <a href="#af281d9bc711b70c43ae5891a35165cb3">More...</a><br /></td></tr>
<tr class="separator:af281d9bc711b70c43ae5891a35165cb3"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The base class for all JUCE user-interface objects. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a7fd775ea6b1190d5d694fdffa539dfac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fd775ea6b1190d5d694fdffa539dfac">§ </a></span>FocusChangeType</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">Component::FocusChangeType</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enumeration used by the focusChanged() and <a class="el" href="classComponent.html#a36456ea9d5a14172d6e96527ec1f59c8" title="Called to indicate that this component has just lost the keyboard focus. ">focusLost()</a> methods. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a7fd775ea6b1190d5d694fdffa539dfaca350527c976c183a1543958e0698572df"></a>focusChangedByMouseClick </td><td class="fielddoc"><p>Means that the user clicked the mouse to change focus. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7fd775ea6b1190d5d694fdffa539dfaca1a14be78d7c4bdf7cdd9a08100bb6a43"></a>focusChangedByTabKey </td><td class="fielddoc"><p>Means that the user pressed the tab key to move the focus. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7fd775ea6b1190d5d694fdffa539dfacad71927268411a4afe7f75bf6034add04"></a>focusChangedDirectly </td><td class="fielddoc"><p>Means that the focus was changed by a call to <a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571" title="Tries to give keyboard focus to this component. ">grabKeyboardFocus()</a>. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a5ee1827aaa22388d22da5200b70eeeee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ee1827aaa22388d22da5200b70eeeee">§ </a></span>Component() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Component::Component </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a component. </p>
<p>To get it to actually appear, you'll also need to:</p><ul>
<li>Either add it to a parent component or use the <a class="el" href="classComponent.html#ad717da76012d971197fd8cf943f3e721" title="Makes this component appear as a window on the desktop. ">addToDesktop()</a> method to make it a desktop window</li>
<li>Set its size and position to something sensible</li>
<li>Use <a class="el" href="classComponent.html#ac8483af6fe4dc3254e7176df0d8e9f7a" title="Makes the component visible or invisible. ">setVisible()</a> to make it visible</li>
</ul>
<p>And for it to serve any useful purpose, you'll need to write a subclass of <a class="el" href="classComponent.html" title="The base class for all JUCE user-interface objects. ">Component</a> or use one of the other types of component from the library. </p>
</div>
</div>
<a id="a2e9aa4348314d981f05f67397ad2f872"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e9aa4348314d981f05f67397ad2f872">§ </a></span>~Component()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual Component::~Component </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
<p>Note that when a component is deleted, any child components it contains are NOT automatically deleted. It's your responsibilty to manage their lifespan - you may want to use helper methods like <a class="el" href="classComponent.html#abc8f8338a400c20d5e941ea3a1f67f7b" title="Removes and deletes all of this component's children. ">deleteAllChildren()</a>, or less haphazard approaches like using ScopedPointers or normal object aggregation to manage them.</p>
<p>If the component being deleted is currently the child of another one, then during deletion, it will be removed from its parent, and the parent will receive a <a class="el" href="classComponent.html#a2bbc6da3479a1c3f6e711f4caf9edafb" title="Subclasses can use this callback to be told when children are added or removed, or when their z-order...">childrenChanged()</a> callback. Any <a class="el" href="classComponentListener.html" title="Gets informed about changes to a component's hierarchy or position. ">ComponentListener</a> objects that have registered with it will also have their <a class="el" href="classComponentListener.html#a948f7c07d7dabde3b6cc7a7ceac29cec" title="Called when the component is in the process of being deleted. ">ComponentListener::componentBeingDeleted()</a> methods called. </p>
</div>
</div>
<a id="a8e2e31d288ccd68aae89897d3068f594"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e2e31d288ccd68aae89897d3068f594">§ </a></span>Component() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Component::Component </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classString.html">String</a> & </td>
<td class="paramname"><em>componentName</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a component, setting its name at the same time. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9d410bec5641d596bb8dbcf95d8b46a5" title="Returns the name of this component. ">getName</a>, <a class="el" href="classComponent.html#a64d1ad9a0f8f0d1757e62ac738b36b35" title="Sets the name of this component. ">setName</a> </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9d410bec5641d596bb8dbcf95d8b46a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d410bec5641d596bb8dbcf95d8b46a5">§ </a></span>getName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classString.html">String</a>& Component::getName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the name of this component. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a64d1ad9a0f8f0d1757e62ac738b36b35" title="Sets the name of this component. ">setName</a> </dd></dl>
</div>
</div>
<a id="a64d1ad9a0f8f0d1757e62ac738b36b35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64d1ad9a0f8f0d1757e62ac738b36b35">§ </a></span>setName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::setName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classString.html">String</a> & </td>
<td class="paramname"><em>newName</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the name of this component. </p>
<p>When the name changes, all registered ComponentListeners will receive a <a class="el" href="classComponentListener.html#ae58c494e8e9319d18d552c82f1936336" title="Called when the component's name is changed. ">ComponentListener::componentNameChanged()</a> callback.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9d410bec5641d596bb8dbcf95d8b46a5" title="Returns the name of this component. ">getName</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classDocumentWindow.html#aac6b784f048c3a84e444009dfbf87441">DocumentWindow</a>.</p>
</div>
</div>
<a id="a93a0bfdc298b93992166b081b122665b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93a0bfdc298b93992166b081b122665b">§ </a></span>getComponentID()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classString.html">String</a>& Component::getComponentID </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the ID string that was set by <a class="el" href="classComponent.html#ac41c215031a087064add6d3a180abd1d" title="Sets the component's ID string. ">setComponentID()</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ac41c215031a087064add6d3a180abd1d" title="Sets the component's ID string. ">setComponentID</a>, <a class="el" href="classComponent.html#a5607d97a62a8c9d8d1d28ce3b31dd764" title="Looks for a child component with the specified ID. ">findChildWithID</a> </dd></dl>
</div>
</div>
<a id="ac41c215031a087064add6d3a180abd1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac41c215031a087064add6d3a180abd1d">§ </a></span>setComponentID()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setComponentID </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classString.html">String</a> & </td>
<td class="paramname"><em>newID</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the component's ID string. </p>
<p>You can retrieve the ID using <a class="el" href="classComponent.html#a93a0bfdc298b93992166b081b122665b" title="Returns the ID string that was set by setComponentID(). ">getComponentID()</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a93a0bfdc298b93992166b081b122665b" title="Returns the ID string that was set by setComponentID(). ">getComponentID</a>, <a class="el" href="classComponent.html#a5607d97a62a8c9d8d1d28ce3b31dd764" title="Looks for a child component with the specified ID. ">findChildWithID</a> </dd></dl>
</div>
</div>
<a id="ac8483af6fe4dc3254e7176df0d8e9f7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8483af6fe4dc3254e7176df0d8e9f7a">§ </a></span>setVisible()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::setVisible </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldBeVisible</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Makes the component visible or invisible. </p>
<p>This method will show or hide the component. Note that components default to being non-visible when first created. Also note that visible components won't be seen unless all their parent components are also visible.</p>
<p>This method will call <a class="el" href="classComponent.html#a3859d7aacb18fd51b2fc3e0c51680d1c" title="Called when this component's visibility changes. ">visibilityChanged()</a> and also componentVisibilityChanged() for any component listeners that are interested in this component.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">shouldBeVisible</td><td>whether to show or hide the component </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a7ffb3de137ac4028e430a445c62a2d01" title="Tests whether the component is visible or not. ">isVisible</a>, <a class="el" href="classComponent.html#a67928458e13f5391eee62202ed7c344d" title="Tests whether this component and all its parents are visible. ">isShowing</a>, <a class="el" href="classComponent.html#a3859d7aacb18fd51b2fc3e0c51680d1c" title="Called when this component's visibility changes. ">visibilityChanged</a>, <a class="el" href="classComponentListener.html#aaacf63f35f26733d615be2258e57fd69" title="Called when the component is made visible or invisible. ">ComponentListener::componentVisibilityChanged</a> </dd></dl>
</div>
</div>
<a id="a7ffb3de137ac4028e430a445c62a2d01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ffb3de137ac4028e430a445c62a2d01">§ </a></span>isVisible()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isVisible </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Tests whether the component is visible or not. </p>
<p>this doesn't necessarily tell you whether this comp is actually on the screen because this depends on whether all the parent components are also visible - use <a class="el" href="classComponent.html#a67928458e13f5391eee62202ed7c344d" title="Tests whether this component and all its parents are visible. ">isShowing()</a> to find this out.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a67928458e13f5391eee62202ed7c344d" title="Tests whether this component and all its parents are visible. ">isShowing</a>, <a class="el" href="classComponent.html#ac8483af6fe4dc3254e7176df0d8e9f7a" title="Makes the component visible or invisible. ">setVisible</a> </dd></dl>
</div>
</div>
<a id="a3859d7aacb18fd51b2fc3e0c51680d1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3859d7aacb18fd51b2fc3e0c51680d1c">§ </a></span>visibilityChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::visibilityChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when this component's visibility changes. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ac8483af6fe4dc3254e7176df0d8e9f7a" title="Makes the component visible or invisible. ">setVisible</a>, <a class="el" href="classComponent.html#a7ffb3de137ac4028e430a445c62a2d01" title="Tests whether the component is visible or not. ">isVisible</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classListBox.html#a1e93681a034ff90140f0fa596487a8d9">ListBox</a>, <a class="el" href="classButton.html#a01c56c0de70053fee3baf845d6a34ddf">Button</a>, <a class="el" href="classResizableWindow.html#ad295a65851924b0008f27a8292b33bc0">ResizableWindow</a>, <a class="el" href="classTopLevelWindow.html#a2981bd09f16f4e6fcb8db472761ac1de">TopLevelWindow</a>, <a class="el" href="classProgressBar.html#a6e37c8700a102115335666c7424c3465">ProgressBar</a>, and <a class="el" href="classWebBrowserComponent.html#ad268bcdb0288fdba6fbeb5023532ccfa">WebBrowserComponent</a>.</p>
<p>Referenced by <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, and <a class="el" href="classTopLevelWindow.html#a910577a0e16f9e80cca0ac41f61e6299">TopLevelWindow::isDropShadowEnabled()</a>.</p>
</div>
</div>
<a id="a67928458e13f5391eee62202ed7c344d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67928458e13f5391eee62202ed7c344d">§ </a></span>isShowing()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::isShowing </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tests whether this component and all its parents are visible. </p>
<dl class="section return"><dt>Returns</dt><dd>true only if this component and all its parents are visible. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a7ffb3de137ac4028e430a445c62a2d01" title="Tests whether the component is visible or not. ">isVisible</a> </dd></dl>
</div>
</div>
<a id="ad717da76012d971197fd8cf943f3e721"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad717da76012d971197fd8cf943f3e721">§ </a></span>addToDesktop()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::addToDesktop </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>windowStyleFlags</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>nativeWindowToAttachTo</em> = <code>nullptr</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Makes this component appear as a window on the desktop. </p>
<p>Note that before calling this, you should make sure that the component's opacity is set correctly using <a class="el" href="classComponent.html#a7320d543cba40183c894474ab78798ea" title="Indicates whether any parts of the component might be transparent. ">setOpaque()</a>. If the component is non-opaque, the windowing system will try to create a special transparent window for it, which will generally take a lot more CPU to operate (and might not even be possible on some platforms).</p>
<p>If the component is inside a parent component at the time this method is called, it will be first be removed from that parent. Likewise if a component on the desktop is subsequently added to another component, it'll be removed from the desktop.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">windowStyleFlags</td><td>a combination of the flags specified in the <a class="el" href="classComponentPeer.html#a94a21f91c61f8211774d6f43243a6ddc" title="A combination of these flags is passed to the ComponentPeer constructor. ">ComponentPeer::StyleFlags</a> enum, which define the window's characteristics. </td></tr>
<tr><td class="paramname">nativeWindowToAttachTo</td><td>this allows an OS object to be passed-in as the window in which the juce component should place itself. On Windows, this would be a HWND, a HIViewRef on the Mac. Not necessarily supported on all platforms, and best left as 0 unless you know what you're doing </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a3eb22f7e39f71fdad3e84a8700807a82" title="If the component is currently showing on the desktop, this will hide it. ">removeFromDesktop</a>, <a class="el" href="classComponent.html#a854420c3141bb90e440af6c7bc1bd360" title="Returns true if this component is currently showing on the desktop. ">isOnDesktop</a>, <a class="el" href="classComponent.html#a543e70d5a3ff75cc3facb476f4cdb131" title="For components on the desktop, this is called if the system wants to close the window. ">userTriedToCloseWindow</a>, <a class="el" href="classComponent.html#ad2a5bad8135717abfe96c632abc09584" title="Returns the heavyweight window that contains this component. ">getPeer</a>, <a class="el" href="classComponentPeer.html#aa9732a41b884d1e8021c69908ed72fdb" title="Minimises the window. ">ComponentPeer::setMinimised</a>, <a class="el" href="classComponentPeer.html#a94a21f91c61f8211774d6f43243a6ddc" title="A combination of these flags is passed to the ComponentPeer constructor. ">ComponentPeer::StyleFlags</a>, <a class="el" href="classComponentPeer.html#a47edec896c72e39f36e1be2bc03659cf" title="Returns the set of style flags that were set when the window was created. ">ComponentPeer::getStyleFlags</a>, <a class="el" href="classComponentPeer.html#ae14a735045acf686a945392d29cb1b2b" title="Enable/disable fullscreen mode for the window. ">ComponentPeer::setFullScreen</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classTopLevelWindow.html#adb20393a81bcbe731b274e4fcfd8a089">TopLevelWindow</a>.</p>
<p>Referenced by <a class="el" href="classTopLevelWindow.html#a910577a0e16f9e80cca0ac41f61e6299">TopLevelWindow::isDropShadowEnabled()</a>.</p>
</div>
</div>
<a id="a3eb22f7e39f71fdad3e84a8700807a82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3eb22f7e39f71fdad3e84a8700807a82">§ </a></span>removeFromDesktop()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::removeFromDesktop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If the component is currently showing on the desktop, this will hide it. </p>
<p>You can also use <a class="el" href="classComponent.html#ac8483af6fe4dc3254e7176df0d8e9f7a" title="Makes the component visible or invisible. ">setVisible()</a> to hide a desktop window temporarily, but <a class="el" href="classComponent.html#a3eb22f7e39f71fdad3e84a8700807a82" title="If the component is currently showing on the desktop, this will hide it. ">removeFromDesktop()</a> will free any system resources that are being used up.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ad717da76012d971197fd8cf943f3e721" title="Makes this component appear as a window on the desktop. ">addToDesktop</a>, <a class="el" href="classComponent.html#a854420c3141bb90e440af6c7bc1bd360" title="Returns true if this component is currently showing on the desktop. ">isOnDesktop</a> </dd></dl>
</div>
</div>
<a id="a854420c3141bb90e440af6c7bc1bd360"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a854420c3141bb90e440af6c7bc1bd360">§ </a></span>isOnDesktop()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isOnDesktop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this component is currently showing on the desktop. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ad717da76012d971197fd8cf943f3e721" title="Makes this component appear as a window on the desktop. ">addToDesktop</a>, <a class="el" href="classComponent.html#a3eb22f7e39f71fdad3e84a8700807a82" title="If the component is currently showing on the desktop, this will hide it. ">removeFromDesktop</a> </dd></dl>
</div>
</div>
<a id="ad2a5bad8135717abfe96c632abc09584"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2a5bad8135717abfe96c632abc09584">§ </a></span>getPeer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponentPeer.html">ComponentPeer</a>* Component::getPeer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the heavyweight window that contains this component. </p>
<p>If this component is itself on the desktop, this will return the window object that it is using. Otherwise, it will return the window of its top-level parent component.</p>
<p>This may return nullptr if there isn't a desktop component.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ad717da76012d971197fd8cf943f3e721" title="Makes this component appear as a window on the desktop. ">addToDesktop</a>, <a class="el" href="classComponent.html#a854420c3141bb90e440af6c7bc1bd360" title="Returns true if this component is currently showing on the desktop. ">isOnDesktop</a> </dd></dl>
</div>
</div>
<a id="a543e70d5a3ff75cc3facb476f4cdb131"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a543e70d5a3ff75cc3facb476f4cdb131">§ </a></span>userTriedToCloseWindow()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::userTriedToCloseWindow </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>For components on the desktop, this is called if the system wants to close the window. </p>
<p>This is a signal that either the user or the system wants the window to close. The default implementation of this method will trigger an assertion to warn you that your component should do something about it, but you can override this to ignore the event if you want. </p>
<p>Reimplemented in <a class="el" href="classAlertWindow.html#ac8263176929ac925f0e4aee768094c55">AlertWindow</a>.</p>
</div>
</div>
<a id="aafbf3cf52e606a66da16ffc85acdd383"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafbf3cf52e606a66da16ffc85acdd383">§ </a></span>minimisationStateChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::minimisationStateChanged </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>isNowMinimised</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called for a desktop component which has just been minimised or un-minimised. </p>
<p>This will only be called for components on the desktop. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ad2a5bad8135717abfe96c632abc09584" title="Returns the heavyweight window that contains this component. ">getPeer</a>, <a class="el" href="classComponentPeer.html#aa9732a41b884d1e8021c69908ed72fdb" title="Minimises the window. ">ComponentPeer::setMinimised</a>, <a class="el" href="classComponentPeer.html#a89063a1ab796e670d56ff660c3de60ed" title="True if the window is currently minimised. ">ComponentPeer::isMinimised</a> </dd></dl>
</div>
</div>
<a id="a99337bfd7e510a397c4a179964abf99b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99337bfd7e510a397c4a179964abf99b">§ </a></span>getDesktopScaleFactor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual float Component::getDesktopScaleFactor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the default scale factor to use for this component when it is placed on the desktop. </p>
<p>The default implementation of this method just returns the value from <a class="el" href="classDesktop.html#a9d3762d46b652cd0249e6845229f3b4c" title="Returns the current global scale factor, as set by setGlobalScaleFactor(). ">Desktop::getGlobalScaleFactor()</a>, but it can be overridden if a particular component has different requirements. The method only used if this component is added to the desktop - it has no effect for child components. </p>
</div>
</div>
<a id="ace6d99879585ba31a4212431d01d00f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace6d99879585ba31a4212431d01d00f5">§ </a></span>toFront()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::toFront </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldAlsoGainFocus</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Brings the component to the front of its siblings. </p>
<p>If some of the component's siblings have had their 'always-on-top' flag set, then they will still be kept in front of this one (unless of course this one is also 'always-on-top').</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">shouldAlsoGainFocus</td><td>if true, this will also try to assign keyboard focus to the component (see <a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571" title="Tries to give keyboard focus to this component. ">grabKeyboardFocus()</a> for more details) </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ae9cd68d901dd4426b27c6c40f4759d4c" title="Changes this component's z-order to be at the back of all its siblings. ">toBack</a>, <a class="el" href="classComponent.html#a1b0cca8b9a9fea673aefc84a42602bcd" title="Changes this component's z-order so that it's just behind another component. ">toBehind</a>, <a class="el" href="classComponent.html#a9ec074c0a1a25014c235a5ebafdbaaf7" title="Sets whether the component should always be kept at the front of its siblings. ">setAlwaysOnTop</a> </dd></dl>
</div>
</div>
<a id="ae9cd68d901dd4426b27c6c40f4759d4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9cd68d901dd4426b27c6c40f4759d4c">§ </a></span>toBack()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::toBack </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes this component's z-order to be at the back of all its siblings. </p>
<p>If the component is set to be 'always-on-top', it will only be moved to the back of the other other 'always-on-top' components.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ace6d99879585ba31a4212431d01d00f5" title="Brings the component to the front of its siblings. ">toFront</a>, <a class="el" href="classComponent.html#a1b0cca8b9a9fea673aefc84a42602bcd" title="Changes this component's z-order so that it's just behind another component. ">toBehind</a>, <a class="el" href="classComponent.html#a9ec074c0a1a25014c235a5ebafdbaaf7" title="Sets whether the component should always be kept at the front of its siblings. ">setAlwaysOnTop</a> </dd></dl>
</div>
</div>
<a id="a1b0cca8b9a9fea673aefc84a42602bcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b0cca8b9a9fea673aefc84a42602bcd">§ </a></span>toBehind()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::toBehind </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes this component's z-order so that it's just behind another component. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ace6d99879585ba31a4212431d01d00f5" title="Brings the component to the front of its siblings. ">toFront</a>, <a class="el" href="classComponent.html#ae9cd68d901dd4426b27c6c40f4759d4c" title="Changes this component's z-order to be at the back of all its siblings. ">toBack</a> </dd></dl>
</div>
</div>
<a id="a9ec074c0a1a25014c235a5ebafdbaaf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ec074c0a1a25014c235a5ebafdbaaf7">§ </a></span>setAlwaysOnTop()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setAlwaysOnTop </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldStayOnTop</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets whether the component should always be kept at the front of its siblings. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ad3c16a8cd68a73f9765da3e48db86801" title="Returns true if this component is set to always stay in front of its siblings. ">isAlwaysOnTop</a> </dd></dl>
</div>
</div>
<a id="ad3c16a8cd68a73f9765da3e48db86801"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3c16a8cd68a73f9765da3e48db86801">§ </a></span>isAlwaysOnTop()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isAlwaysOnTop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this component is set to always stay in front of its siblings. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9ec074c0a1a25014c235a5ebafdbaaf7" title="Sets whether the component should always be kept at the front of its siblings. ">setAlwaysOnTop</a> </dd></dl>
</div>
</div>
<a id="a882733448ca364ba8f493c6301800572"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a882733448ca364ba8f493c6301800572">§ </a></span>getX()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getX </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the x coordinate of the component's left edge. </p>
<p>This is a distance in pixels from the left edge of the component's parent.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to its bounding box. </p>
</div>
</div>
<a id="a62b2b824feafc399c8360876a43eb18d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62b2b824feafc399c8360876a43eb18d">§ </a></span>getY()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getY </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the y coordinate of the top of this component. </p>
<p>This is a distance in pixels from the top edge of the component's parent.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to its bounding box. </p>
</div>
</div>
<a id="a146a947eb5d4b2e08f8e91b2e3f706c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a146a947eb5d4b2e08f8e91b2e3f706c1">§ </a></span>getWidth()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component's width in pixels. </p>
<p>Referenced by <a class="el" href="classTabbedButtonBar.html#a44df869b4403b979c451a0cab3f4f5b8">TabbedButtonBar::getThickness()</a>.</p>
</div>
</div>
<a id="a42c61c2d914e55b2395f6a84cf8e8aa2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42c61c2d914e55b2395f6a84cf8e8aa2">§ </a></span>getHeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getHeight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component's height in pixels. </p>
<p>Referenced by <a class="el" href="classTabbedButtonBar.html#a44df869b4403b979c451a0cab3f4f5b8">TabbedButtonBar::getThickness()</a>.</p>
</div>
</div>
<a id="a9f0b1e0ff5dfe85d0c4f611a93f2b78c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f0b1e0ff5dfe85d0c4f611a93f2b78c">§ </a></span>getRight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getRight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the x coordinate of the component's right-hand edge. </p>
<p>This is a distance in pixels from the left edge of the component's parent.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to its bounding box. </p>
</div>
</div>
<a id="afa55ec8b0cdda88f6273e5949431288b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa55ec8b0cdda88f6273e5949431288b">§ </a></span>getPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><int> Component::getPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component's top-left position as a <a class="el" href="classPoint.html" title="A pair of (x, y) coordinates. ">Point</a>. </p>
</div>
</div>
<a id="af8ace323af75859a134ae82ab589c9d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8ace323af75859a134ae82ab589c9d7">§ </a></span>getBottom()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getBottom </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the y coordinate of the bottom edge of this component. </p>
<p>This is a distance in pixels from the top edge of the component's parent.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to its bounding box. </p>
</div>
</div>
<a id="ad01eb84d8a989eb238bbf69aaf09e7ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad01eb84d8a989eb238bbf69aaf09e7ee">§ </a></span>getBounds()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classRectangle.html">Rectangle</a><int>& Component::getBounds </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns this component's bounding box. </p>
<p>The rectangle returned is relative to the top-left of the component's parent.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to its bounding box. </p>
</div>
</div>
<a id="aecc40b8a244527fcb142213151b6d00d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecc40b8a244527fcb142213151b6d00d">§ </a></span>getLocalBounds()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRectangle.html">Rectangle</a><int> Component::getLocalBounds </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component's bounds, relative to its own origin. </p>
<p>This is like <a class="el" href="classComponent.html#ad01eb84d8a989eb238bbf69aaf09e7ee" title="Returns this component's bounding box. ">getBounds()</a>, but returns the rectangle in local coordinates, In practice, it'll return a rectangle with position (0, 0), and the same size as this component. </p>
</div>
</div>
<a id="a7bec78144c5f28eb78ce1550b1c58614"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bec78144c5f28eb78ce1550b1c58614">§ </a></span>getBoundsInParent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRectangle.html">Rectangle</a><int> Component::getBoundsInParent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the area of this component's parent which this component covers. </p>
<p>The returned area is relative to the parent's coordinate space. If the component has an affine transform specified, then the resulting area will be the smallest rectangle that fully covers the component's transformed bounding box. If this component has no parent, the return value will simply be the same as <a class="el" href="classComponent.html#ad01eb84d8a989eb238bbf69aaf09e7ee" title="Returns this component's bounding box. ">getBounds()</a>. </p>
</div>
</div>
<a id="a0b93c9d1569fa2892fdff2d8957936da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b93c9d1569fa2892fdff2d8957936da">§ </a></span>getScreenX()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Component::getScreenX </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns this component's x coordinate relative the screen's top-left origin. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a882733448ca364ba8f493c6301800572" title="Returns the x coordinate of the component's left edge. ">getX</a>, <a class="el" href="classComponent.html#aeae960c6a8784804fff96ab71d38afdc" title="Converts a point relative to this component's top-left into a screen coordinate. ">localPointToGlobal</a> </dd></dl>
</div>
</div>
<a id="a343f666f49fa8a59aeba926f2fc6d629"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a343f666f49fa8a59aeba926f2fc6d629">§ </a></span>getScreenY()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Component::getScreenY </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns this component's y coordinate relative the screen's top-left origin. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a62b2b824feafc399c8360876a43eb18d" title="Returns the y coordinate of the top of this component. ">getY</a>, <a class="el" href="classComponent.html#aeae960c6a8784804fff96ab71d38afdc" title="Converts a point relative to this component's top-left into a screen coordinate. ">localPointToGlobal</a> </dd></dl>
</div>
</div>
<a id="ae4b5183a85549af430d7bf29afb65d79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4b5183a85549af430d7bf29afb65d79">§ </a></span>getScreenPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><int> Component::getScreenPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the position of this component's top-left corner relative to the screen's top-left. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a539c92d534e551bc40c721fca4b0cea8" title="Returns the bounds of this component, relative to the screen's top-left. ">getScreenBounds</a> </dd></dl>
</div>
</div>
<a id="a539c92d534e551bc40c721fca4b0cea8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a539c92d534e551bc40c721fca4b0cea8">§ </a></span>getScreenBounds()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRectangle.html">Rectangle</a><int> Component::getScreenBounds </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the bounds of this component, relative to the screen's top-left. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ae4b5183a85549af430d7bf29afb65d79" title="Returns the position of this component's top-left corner relative to the screen's top-left...">getScreenPosition</a> </dd></dl>
</div>
</div>
<a id="a9eecd9625db887fd98684bae3543db24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9eecd9625db887fd98684bae3543db24">§ </a></span>getLocalPoint() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><int> Component::getLocalPoint </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>sourceComponent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > </td>
<td class="paramname"><em>pointRelativeToSourceComponent</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a point to be relative to this component's coordinate space. </p>
<p>This takes a point relative to a different component, and returns its position relative to this component. If the sourceComponent parameter is null, the source point is assumed to be a global screen coordinate. </p>
</div>
</div>
<a id="a2b5f61369cd4c1031cf21106262b281e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b5f61369cd4c1031cf21106262b281e">§ </a></span>getLocalPoint() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><float> Component::getLocalPoint </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>sourceComponent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>pointRelativeToSourceComponent</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a point to be relative to this component's coordinate space. </p>
<p>This takes a point relative to a different component, and returns its position relative to this component. If the sourceComponent parameter is null, the source point is assumed to be a global screen coordinate. </p>
</div>
</div>
<a id="a7af658ae99b351bae690ac0ced09b755"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7af658ae99b351bae690ac0ced09b755">§ </a></span>getLocalArea()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRectangle.html">Rectangle</a><int> Component::getLocalArea </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>sourceComponent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< int > & </td>
<td class="paramname"><em>areaRelativeToSourceComponent</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a rectangle to be relative to this component's coordinate space. </p>
<p>This takes a rectangle that is relative to a different component, and returns its position relative to this component. If the sourceComponent parameter is null, the source rectangle is assumed to be a screen coordinate.</p>
<p>If you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply one or more transforms to components, then the source rectangle may not actually be rectanglular when converted to the target space, so in that situation this will return the smallest rectangle that fully contains the transformed area. </p>
</div>
</div>
<a id="aeae960c6a8784804fff96ab71d38afdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeae960c6a8784804fff96ab71d38afdc">§ </a></span>localPointToGlobal() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><int> Component::localPointToGlobal </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > </td>
<td class="paramname"><em>localPoint</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a point relative to this component's top-left into a screen coordinate. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9eecd9625db887fd98684bae3543db24" title="Converts a point to be relative to this component's coordinate space. ">getLocalPoint</a>, <a class="el" href="classComponent.html#a7af80e9ca754d1108bb4eb09c5bc2e7d" title="Converts a rectangle from this component's coordinate space to a screen coordinate. ">localAreaToGlobal</a> </dd></dl>
</div>
</div>
<a id="a8cb6f69a1d420942a9a063238da12170"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cb6f69a1d420942a9a063238da12170">§ </a></span>localPointToGlobal() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><float> Component::localPointToGlobal </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>localPoint</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a point relative to this component's top-left into a screen coordinate. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9eecd9625db887fd98684bae3543db24" title="Converts a point to be relative to this component's coordinate space. ">getLocalPoint</a>, <a class="el" href="classComponent.html#a7af80e9ca754d1108bb4eb09c5bc2e7d" title="Converts a rectangle from this component's coordinate space to a screen coordinate. ">localAreaToGlobal</a> </dd></dl>
</div>
</div>
<a id="a7af80e9ca754d1108bb4eb09c5bc2e7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7af80e9ca754d1108bb4eb09c5bc2e7d">§ </a></span>localAreaToGlobal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRectangle.html">Rectangle</a><int> Component::localAreaToGlobal </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< int > & </td>
<td class="paramname"><em>localArea</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a rectangle from this component's coordinate space to a screen coordinate. </p>
<p>If you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply one or more transforms to components, then the source rectangle may not actually be rectanglular when converted to the target space, so in that situation this will return the smallest rectangle that fully contains the transformed area. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9eecd9625db887fd98684bae3543db24" title="Converts a point to be relative to this component's coordinate space. ">getLocalPoint</a>, <a class="el" href="classComponent.html#aeae960c6a8784804fff96ab71d38afdc" title="Converts a point relative to this component's top-left into a screen coordinate. ">localPointToGlobal</a> </dd></dl>
</div>
</div>
<a id="a46f3b243e2ff2d000285c8642be7ea0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46f3b243e2ff2d000285c8642be7ea0a">§ </a></span>setTopLeftPosition() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setTopLeftPosition </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves the component to a new position. </p>
<p>Changes the component's top-left position (without changing its size). The position is relative to the top-left of the component's parent.</p>
<p>If the component actually moves, this method will make a synchronous call to <a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246" title="Called when this component's position has been changed. ">moved()</a>.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to whatever bounds you set for it.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a>, <a class="el" href="classComponentListener.html#ac5d2c3c7290cbde571403fd5d3112978" title="Called when the component's position or size changes. ">ComponentListener::componentMovedOrResized</a> </dd></dl>
</div>
</div>
<a id="a5c86db4e969d69acc78ea3ee899cedff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c86db4e969d69acc78ea3ee899cedff">§ </a></span>setTopLeftPosition() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setTopLeftPosition </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > </td>
<td class="paramname"><em>newTopLeftPosition</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves the component to a new position. </p>
<p>Changes the component's top-left position (without changing its size). The position is relative to the top-left of the component's parent.</p>
<p>If the component actually moves, this method will make a synchronous call to <a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246" title="Called when this component's position has been changed. ">moved()</a>.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to whatever bounds you set for it.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a>, <a class="el" href="classComponentListener.html#ac5d2c3c7290cbde571403fd5d3112978" title="Called when the component's position or size changes. ">ComponentListener::componentMovedOrResized</a> </dd></dl>
</div>
</div>
<a id="a28d61a4aea9791ab0b4d3cc4bed17650"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28d61a4aea9791ab0b4d3cc4bed17650">§ </a></span>setTopRightPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setTopRightPosition </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves the component to a new position. </p>
<p>Changes the position of the component's top-right corner (keeping it the same size). The position is relative to the top-left of the component's parent.</p>
<p>If the component actually moves, this method will make a synchronous call to <a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246" title="Called when this component's position has been changed. ">moved()</a>.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to whatever bounds you set for it. </p>
</div>
</div>
<a id="af7e0443344448fcbbefc2b3dd985e43f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7e0443344448fcbbefc2b3dd985e43f">§ </a></span>setSize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setSize </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>newWidth</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>newHeight</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the size of the component. </p>
<p>A synchronous call to <a class="el" href="classComponent.html#ad896183a68d71daf5816982d1fefd960" title="Called when this component's size has been changed. ">resized()</a> will occur if the size actually changes.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to whatever bounds you set for it. </p>
<p>Referenced by <a class="el" href="classStandalonePluginHolder.html#a5e24139925518f20b67a3d6f74bfb00c">StandalonePluginHolder::showAudioSettingsDialog()</a>.</p>
</div>
</div>
<a id="a64cbeee83a441e20ed5e7acb600ae107"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64cbeee83a441e20ed5e7acb600ae107">§ </a></span>setBounds() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setBounds </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the component's position and size. </p>
<p>The coordinates are relative to the top-left of the component's parent, or relative to the origin of the screen if the component is on the desktop.</p>
<p>If this method changes the component's top-left position, it will make a synchronous call to <a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246" title="Called when this component's position has been changed. ">moved()</a>. If it changes the size, it will also make a call to <a class="el" href="classComponent.html#ad896183a68d71daf5816982d1fefd960" title="Called when this component's size has been changed. ">resized()</a>.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to whatever bounds you set for it.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a46f3b243e2ff2d000285c8642be7ea0a" title="Moves the component to a new position. ">setTopLeftPosition</a>, <a class="el" href="classComponent.html#af7e0443344448fcbbefc2b3dd985e43f" title="Changes the size of the component. ">setSize</a>, <a class="el" href="classComponentListener.html#ac5d2c3c7290cbde571403fd5d3112978" title="Called when the component's position or size changes. ">ComponentListener::componentMovedOrResized</a> </dd></dl>
</div>
</div>
<a id="aaddf6f72515109d53cb671d5292bea3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaddf6f72515109d53cb671d5292bea3f">§ </a></span>setBounds() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setBounds </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< int > & </td>
<td class="paramname"><em>newBounds</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the component's position and size. </p>
<p>The coordinates are relative to the top-left of the component's parent, or relative to the origin of the screen if the component is on the desktop.</p>
<p>If this method changes the component's top-left position, it will make a synchronous call to <a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246" title="Called when this component's position has been changed. ">moved()</a>. If it changes the size, it will also make a call to <a class="el" href="classComponent.html#ad896183a68d71daf5816982d1fefd960" title="Called when this component's size has been changed. ">resized()</a>.</p>
<p>Note that if you've used <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a> to apply a transform, then the component's bounds will no longer be a direct reflection of the position at which it appears within its parent, as the transform will be applied to whatever bounds you set for it.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a> </dd></dl>
</div>
</div>
<a id="afff8d34ac49e7303e60cd6cfcd68e8f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afff8d34ac49e7303e60cd6cfcd68e8f6">§ </a></span>setBounds() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setBounds </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRelativeRectangle.html">RelativeRectangle</a> & </td>
<td class="paramname"><em>newBounds</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the component's position and size. </p>
<p>This is similar to the other <a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds()</a> methods, but uses <a class="el" href="classRelativeRectangle.html#a24543a01dcf4de771bd17877f31078ca" title="Creates and sets an appropriate Component::Positioner object for the given component, which will keep it positioned with this rectangle. ">RelativeRectangle::applyToComponent()</a> to set the position, This uses a <a class="el" href="classComponent_1_1Positioner.html" title="Base class for objects that can be used to automatically position a component according to some kind ...">Component::Positioner</a> to make sure that any dynamic expressions are used in the <a class="el" href="classRelativeRectangle.html" title="A rectangle stored as a set of RelativeCoordinate values. ">RelativeRectangle</a> will be automatically re-applied to the component's bounds when the source values change. See <a class="el" href="classRelativeRectangle.html#a24543a01dcf4de771bd17877f31078ca" title="Creates and sets an appropriate Component::Positioner object for the given component, which will keep it positioned with this rectangle. ">RelativeRectangle::applyToComponent()</a> for more details.</p>
<p>For the syntax of the expressions that are allowed in the string, see the notes for the <a class="el" href="classRelativeCoordinate.html" title="Expresses a coordinate as a dynamically evaluated expression. ">RelativeCoordinate</a> class.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classRelativeCoordinate.html" title="Expresses a coordinate as a dynamically evaluated expression. ">RelativeCoordinate</a>, <a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a>, <a class="el" href="classRelativeRectangle.html#a24543a01dcf4de771bd17877f31078ca" title="Creates and sets an appropriate Component::Positioner object for the given component, which will keep it positioned with this rectangle. ">RelativeRectangle::applyToComponent()</a>, <a class="el" href="classExpression.html" title="A class for dynamically evaluating simple numeric expressions. ">Expression</a> </dd></dl>
</div>
</div>
<a id="a821833808f451753df397802d9d6160a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a821833808f451753df397802d9d6160a">§ </a></span>setBounds() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setBounds </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classString.html">String</a> & </td>
<td class="paramname"><em>newBoundsExpression</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the component's bounds with an expression. </p>
<p>The string is parsed as a <a class="el" href="classRelativeRectangle.html" title="A rectangle stored as a set of RelativeCoordinate values. ">RelativeRectangle</a> expression - see the notes for <a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">Component::setBounds</a> (const <a class="el" href="classRelativeRectangle.html" title="A rectangle stored as a set of RelativeCoordinate values. ">RelativeRectangle</a>&) for more information. This method is basically just a shortcut for writing setBounds (<a class="el" href="classRelativeRectangle.html" title="A rectangle stored as a set of RelativeCoordinate values. ">RelativeRectangle</a> ("...")) </p>
</div>
</div>
<a id="a8752a76d1d0b2b27af1da1169ed5c534"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8752a76d1d0b2b27af1da1169ed5c534">§ </a></span>setBoundsRelative()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setBoundsRelative </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>proportionalX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>proportionalY</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>proportionalWidth</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>proportionalHeight</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the component's position and size in terms of fractions of its parent's size. </p>
<p>The values are factors of the parent's size, so for example setBoundsRelative (0.2f, 0.2f, 0.5f, 0.5f) would give it half the width and height of the parent, with its top-left position 20% of the way across and down the parent.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a> </dd></dl>
</div>
</div>
<a id="a0bdbe4ff05b03ddde7d87be82d5b0d15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bdbe4ff05b03ddde7d87be82d5b0d15">§ </a></span>setBoundsInset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setBoundsInset </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classBorderSize.html">BorderSize</a>< int > & </td>
<td class="paramname"><em>borders</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the component's position and size based on the amount of space to leave around it. </p>
<p>This will position the component within its parent, leaving the specified number of pixels around each edge.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a> </dd></dl>
</div>
</div>
<a id="a104daed5d4a04cd0b50ecb8c11b1c856"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a104daed5d4a04cd0b50ecb8c11b1c856">§ </a></span>setBoundsToFit()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setBoundsToFit </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJustification.html">Justification</a> </td>
<td class="paramname"><em>justification</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlyReduceInSize</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Positions the component within a given rectangle, keeping its proportions unchanged. </p>
<p>If onlyReduceInSize is false, the component will be resized to fill as much of the rectangle as possible without changing its aspect ratio (the component's current size is used to determine its aspect ratio, so a zero-size component won't work here). If onlyReduceInSize is true, it will only be resized if it's too big to fit inside the rectangle.</p>
<p>It will then be positioned within the rectangle according to the justification flags specified.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a> </dd></dl>
</div>
</div>
<a id="ada48e2fac4a8bd49ee8fe567309e41b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada48e2fac4a8bd49ee8fe567309e41b0">§ </a></span>setCentrePosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setCentrePosition </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the position of the component's centre. </p>
<p>Leaves the component's size unchanged, but sets the position of its centre relative to its parent's top-left.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a> </dd></dl>
</div>
</div>
<a id="ad2d539dc4d5a43cf828e03ab46f0db58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2d539dc4d5a43cf828e03ab46f0db58">§ </a></span>setCentreRelative()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setCentreRelative </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the position of the component's centre. </p>
<p>Leaves the size unchanged, but positions its centre relative to its parent's size. E.g. setCentreRelative (0.5f, 0.5f) would place it centrally in its parent. </p>
</div>
</div>
<a id="abb58dc5a1f89822e4a5dcae2a538a8a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb58dc5a1f89822e4a5dcae2a538a8a7">§ </a></span>centreWithSize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::centreWithSize </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the component's size and centres it within its parent. </p>
<p>After changing the size, the component will be moved so that it's centred within its parent. If the component is on the desktop (or has no parent component), then it'll be centred within the main monitor area. </p>
</div>
</div>
<a id="a42d13229962acb1cdf4328c4a490ffef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42d13229962acb1cdf4328c4a490ffef">§ </a></span>setTransform()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setTransform </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classAffineTransform.html">AffineTransform</a> & </td>
<td class="paramname"><em>transform</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a transform matrix to be applied to this component. </p>
<p>If you set a transform for a component, the component's position will be warped by it, relative to the component's parent's top-left origin. This means that the values you pass into <a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds()</a> will no longer reflect the actual area within the parent that the component covers, as the bounds will be transformed and the component will probably end up actually appearing somewhere else within its parent.</p>
<p>When using transforms you need to be extremely careful when converting coordinates between the coordinate spaces of different components or the screen - you should always use <a class="el" href="classComponent.html#a9eecd9625db887fd98684bae3543db24" title="Converts a point to be relative to this component's coordinate space. ">getLocalPoint()</a>, <a class="el" href="classComponent.html#a7af658ae99b351bae690ac0ced09b755" title="Converts a rectangle to be relative to this component's coordinate space. ">getLocalArea()</a>, etc to do this, and never just manually add a component's position to a point in order to convert it between different components (but I'm sure you would never have done that anyway...).</p>
<p>Currently, transforms are not supported for desktop windows, so the transform will be ignored if you put a component on the desktop.</p>
<p>To remove a component's transform, simply pass <a class="el" href="classAffineTransform.html" title="Represents a 2D affine-transformation matrix. ">AffineTransform()</a> as the parameter to this method. </p>
</div>
</div>
<a id="a87829606a709c0f75e9293a0934ab27e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87829606a709c0f75e9293a0934ab27e">§ </a></span>getTransform()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classAffineTransform.html">AffineTransform</a> Component::getTransform </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the transform that is currently being applied to this component. </p>
<p>For more details about transforms, see <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform</a> </dd></dl>
</div>
</div>
<a id="a50a4de1bca6c487a8fa899f1b721e1d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50a4de1bca6c487a8fa899f1b721e1d5">§ </a></span>isTransformed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isTransformed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if a non-identity transform is being applied to this component. </p>
<p>For more details about transforms, see <a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform()</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a42d13229962acb1cdf4328c4a490ffef" title="Sets a transform matrix to be applied to this component. ">setTransform</a> </dd></dl>
</div>
</div>
<a id="ab2def9de34b650c5384f6bc040daa6a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2def9de34b650c5384f6bc040daa6a5">§ </a></span>proportionOfWidth()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::proportionOfWidth </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>proportion</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a proportion of the component's width. </p>
<p>This is a handy equivalent of (<a class="el" href="classComponent.html#a146a947eb5d4b2e08f8e91b2e3f706c1" title="Returns the component's width in pixels. ">getWidth()</a> * proportion). </p>
</div>
</div>
<a id="a5d5356b8ad166fa48273dd90980ab3aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d5356b8ad166fa48273dd90980ab3aa">§ </a></span>proportionOfHeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::proportionOfHeight </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>proportion</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a proportion of the component's height. </p>
<p>This is a handy equivalent of (<a class="el" href="classComponent.html#a42c61c2d914e55b2395f6a84cf8e8aa2" title="Returns the component's height in pixels. ">getHeight()</a> * proportion). </p>
</div>
</div>
<a id="a9ac83033387393ae0f8b85d8fc8d6dcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ac83033387393ae0f8b85d8fc8d6dcb">§ </a></span>getParentWidth()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getParentWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the width of the component's parent. </p>
<p>If the component has no parent (i.e. if it's on the desktop), this will return the width of the screen. </p>
</div>
</div>
<a id="a39186f5a14d80f75e279d40846221b16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39186f5a14d80f75e279d40846221b16">§ </a></span>getParentHeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getParentHeight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the height of the component's parent. </p>
<p>If the component has no parent (i.e. if it's on the desktop), this will return the height of the screen. </p>
</div>
</div>
<a id="ab52cbbf7098141125e9defffbfa136b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab52cbbf7098141125e9defffbfa136b6">§ </a></span>getParentMonitorArea()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRectangle.html">Rectangle</a><int> Component::getParentMonitorArea </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the screen coordinates of the monitor that contains this component. </p>
<p>If there's only one monitor, this will return its size - if there are multiple monitors, it will return the area of the monitor that contains the component's centre. </p>
</div>
</div>
<a id="afa33580cab86ac3b80c9c1f9d85ad81d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa33580cab86ac3b80c9c1f9d85ad81d">§ </a></span>getNumChildComponents()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getNumChildComponents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of child components that this component contains. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9a86caea9a03be32d7a6b6dfbd09d09f" title="Returns one of this component's child components, by it index. ">getChildComponent</a>, <a class="el" href="classComponent.html#a00c1dcf8a0a926da17daef178ca63426" title="Returns the index of this component in the list of child components. ">getIndexOfChildComponent</a> </dd></dl>
</div>
</div>
<a id="a9a86caea9a03be32d7a6b6dfbd09d09f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a86caea9a03be32d7a6b6dfbd09d09f">§ </a></span>getChildComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent.html">Component</a>* Component::getChildComponent </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns one of this component's child components, by it index. </p>
<p>The component with index 0 is at the back of the z-order, the one at the front will have index (<a class="el" href="classComponent.html#afa33580cab86ac3b80c9c1f9d85ad81d" title="Returns the number of child components that this component contains. ">getNumChildComponents()</a> - 1).</p>
<p>If the index is out-of-range, this will return a null pointer.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#afa33580cab86ac3b80c9c1f9d85ad81d" title="Returns the number of child components that this component contains. ">getNumChildComponents</a>, <a class="el" href="classComponent.html#a00c1dcf8a0a926da17daef178ca63426" title="Returns the index of this component in the list of child components. ">getIndexOfChildComponent</a> </dd></dl>
</div>
</div>
<a id="a00c1dcf8a0a926da17daef178ca63426"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00c1dcf8a0a926da17daef178ca63426">§ </a></span>getIndexOfChildComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Component::getIndexOfChildComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>child</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the index of this component in the list of child components. </p>
<p>A value of 0 means it is first in the list (i.e. behind all other components). Higher values are further towards the front.</p>
<p>Returns -1 if the component passed-in is not a child of this component.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#afa33580cab86ac3b80c9c1f9d85ad81d" title="Returns the number of child components that this component contains. ">getNumChildComponents</a>, <a class="el" href="classComponent.html#a9a86caea9a03be32d7a6b6dfbd09d09f" title="Returns one of this component's child components, by it index. ">getChildComponent</a>, <a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c" title="Adds a child component to this one. ">addChildComponent</a>, <a class="el" href="classComponent.html#ace6d99879585ba31a4212431d01d00f5" title="Brings the component to the front of its siblings. ">toFront</a>, <a class="el" href="classComponent.html#ae9cd68d901dd4426b27c6c40f4759d4c" title="Changes this component's z-order to be at the back of all its siblings. ">toBack</a>, <a class="el" href="classComponent.html#a1b0cca8b9a9fea673aefc84a42602bcd" title="Changes this component's z-order so that it's just behind another component. ">toBehind</a> </dd></dl>
</div>
</div>
<a id="a5607d97a62a8c9d8d1d28ce3b31dd764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5607d97a62a8c9d8d1d28ce3b31dd764">§ </a></span>findChildWithID()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent.html">Component</a>* Component::findChildWithID </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a> </td>
<td class="paramname"><em>componentID</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Looks for a child component with the specified ID. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ac41c215031a087064add6d3a180abd1d" title="Sets the component's ID string. ">setComponentID</a>, <a class="el" href="classComponent.html#a93a0bfdc298b93992166b081b122665b" title="Returns the ID string that was set by setComponentID(). ">getComponentID</a> </dd></dl>
</div>
</div>
<a id="a3340a63ebd9f3a9df41bc0e8fbe3bf0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3340a63ebd9f3a9df41bc0e8fbe3bf0c">§ </a></span>addChildComponent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::addChildComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>zOrder</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a child component to this one. </p>
<p>Adding a child component does not mean that the component will own or delete the child - it's your responsibility to delete the component. Note that it's safe to delete a component without first removing it from its parent - doing so will automatically remove it and send out the appropriate notifications before the deletion completes.</p>
<p>If the child is already a child of this component, then no action will be taken, and its z-order will be left unchanged.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">child</td><td>the new component to add. If the component passed-in is already the child of another component, it'll first be removed from it current parent. </td></tr>
<tr><td class="paramname">zOrder</td><td>The index in the child-list at which this component should be inserted. A value of -1 will insert it in front of the others, 0 is the back. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a221324c67c9fb048895b8730dbf1b642" title="Removes one of this component's child-components. ">removeChildComponent</a>, <a class="el" href="classComponent.html#a909c90277e8e95db68001a94e06b83bc" title="Adds a child component to this one, and also makes the child visible if it isn't already. ">addAndMakeVisible</a>, <a class="el" href="classComponent.html#a29a541ea49fafdb29fb17ebc4cddd584" title="Adds a child component to this one, makes it visible, and sets its component ID. ">addChildAndSetID</a>, getChild, <a class="el" href="classComponentListener.html#ae03a3583fa9999dc868a2e2c5825bbc2" title="Called when the component has children added or removed, or their z-order changes. ">ComponentListener::componentChildrenChanged</a> </dd></dl>
</div>
</div>
<a id="ad3cdf7ff7e9c595a25f3a4427e1a222e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3cdf7ff7e9c595a25f3a4427e1a222e">§ </a></span>addChildComponent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::addChildComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> & </td>
<td class="paramname"><em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>zOrder</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a child component to this one. </p>
<p>Adding a child component does not mean that the component will own or delete the child - it's your responsibility to delete the component. Note that it's safe to delete a component without first removing it from its parent - doing so will automatically remove it and send out the appropriate notifications before the deletion completes.</p>
<p>If the child is already a child of this component, then no action will be taken, and its z-order will be left unchanged.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">child</td><td>the new component to add. If the component passed-in is already the child of another component, it'll first be removed from it current parent. </td></tr>
<tr><td class="paramname">zOrder</td><td>The index in the child-list at which this component should be inserted. A value of -1 will insert it in front of the others, 0 is the back. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a221324c67c9fb048895b8730dbf1b642" title="Removes one of this component's child-components. ">removeChildComponent</a>, <a class="el" href="classComponent.html#a909c90277e8e95db68001a94e06b83bc" title="Adds a child component to this one, and also makes the child visible if it isn't already. ">addAndMakeVisible</a>, <a class="el" href="classComponent.html#a29a541ea49fafdb29fb17ebc4cddd584" title="Adds a child component to this one, makes it visible, and sets its component ID. ">addChildAndSetID</a>, getChild, <a class="el" href="classComponentListener.html#ae03a3583fa9999dc868a2e2c5825bbc2" title="Called when the component has children added or removed, or their z-order changes. ">ComponentListener::componentChildrenChanged</a> </dd></dl>
</div>
</div>
<a id="a909c90277e8e95db68001a94e06b83bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a909c90277e8e95db68001a94e06b83bc">§ </a></span>addAndMakeVisible() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::addAndMakeVisible </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>zOrder</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a child component to this one, and also makes the child visible if it isn't already. </p>
<p>This is the same as calling setVisible (true) on the child and then <a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c" title="Adds a child component to this one. ">addChildComponent()</a>. See <a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c" title="Adds a child component to this one. ">addChildComponent()</a> for more details. </p>
<p>Referenced by <a class="el" href="classStandaloneFilterWindow.html#ac008829a9ecf58b98814eca1a006fe13">StandaloneFilterWindow::StandaloneFilterWindow()</a>.</p>
</div>
</div>
<a id="a13417b80dfd035f5da81f1a473ef0f15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13417b80dfd035f5da81f1a473ef0f15">§ </a></span>addAndMakeVisible() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::addAndMakeVisible </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> & </td>
<td class="paramname"><em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>zOrder</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a child component to this one, and also makes the child visible if it isn't already. </p>
<p>This is the same as calling setVisible (true) on the child and then <a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c" title="Adds a child component to this one. ">addChildComponent()</a>. See <a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c" title="Adds a child component to this one. ">addChildComponent()</a> for more details. </p>
</div>
</div>
<a id="a29a541ea49fafdb29fb17ebc4cddd584"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29a541ea49fafdb29fb17ebc4cddd584">§ </a></span>addChildAndSetID()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::addChildAndSetID </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classString.html">String</a> & </td>
<td class="paramname"><em>componentID</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a child component to this one, makes it visible, and sets its component ID. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a909c90277e8e95db68001a94e06b83bc" title="Adds a child component to this one, and also makes the child visible if it isn't already. ">addAndMakeVisible</a>, <a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c" title="Adds a child component to this one. ">addChildComponent</a> </dd></dl>
</div>
</div>
<a id="a221324c67c9fb048895b8730dbf1b642"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a221324c67c9fb048895b8730dbf1b642">§ </a></span>removeChildComponent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::removeChildComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>childToRemove</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes one of this component's child-components. </p>
<p>If the child passed-in isn't actually a child of this component (either because it's invalid or is the child of a different parent), then no action is taken.</p>
<p>Note that removing a child will not delete it! But it's ok to delete a component without first removing it - doing so will automatically remove it and send out the appropriate notifications before the deletion completes.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c" title="Adds a child component to this one. ">addChildComponent</a>, <a class="el" href="classComponentListener.html#ae03a3583fa9999dc868a2e2c5825bbc2" title="Called when the component has children added or removed, or their z-order changes. ">ComponentListener::componentChildrenChanged</a> </dd></dl>
</div>
</div>
<a id="a9f27c66bb660ca98e1713878db39bdfd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f27c66bb660ca98e1713878db39bdfd">§ </a></span>removeChildComponent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent.html">Component</a>* Component::removeChildComponent </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>childIndexToRemove</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes one of this component's child-components by index. </p>
<p>This will return a pointer to the component that was removed, or null if the index was out-of-range.</p>
<p>Note that removing a child will not delete it! But it's ok to delete a component without first removing it - doing so will automatically remove it and send out the appropriate notifications before the deletion completes.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a3340a63ebd9f3a9df41bc0e8fbe3bf0c" title="Adds a child component to this one. ">addChildComponent</a>, <a class="el" href="classComponentListener.html#ae03a3583fa9999dc868a2e2c5825bbc2" title="Called when the component has children added or removed, or their z-order changes. ">ComponentListener::componentChildrenChanged</a> </dd></dl>
</div>
</div>
<a id="a72ee4d44ce3b3954e8a00e5225201b6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72ee4d44ce3b3954e8a00e5225201b6d">§ </a></span>removeAllChildren()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::removeAllChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all this component's children. </p>
<p>Note that this won't delete them! To do that, use <a class="el" href="classComponent.html#abc8f8338a400c20d5e941ea3a1f67f7b" title="Removes and deletes all of this component's children. ">deleteAllChildren()</a> instead. </p>
</div>
</div>
<a id="abc8f8338a400c20d5e941ea3a1f67f7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc8f8338a400c20d5e941ea3a1f67f7b">§ </a></span>deleteAllChildren()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::deleteAllChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes and deletes all of this component's children. </p>
<p>My advice is to avoid this method! It's an old function that is only kept here for backwards-compatibility with legacy code, and should be viewed with extreme suspicion by anyone attempting to write modern C++. In almost all cases, it's much smarter to manage the lifetimes of your child components via modern RAII techniques such as simply making them member variables, or using <a class="el" href="classScopedPointer.html" title="This class holds a pointer which is automatically deleted when this object goes out of scope...">ScopedPointer</a>, <a class="el" href="classOwnedArray.html" title="An array designed for holding objects. ">OwnedArray</a>, etc to manage their lifetimes appropriately. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a72ee4d44ce3b3954e8a00e5225201b6d" title="Removes all this component's children. ">removeAllChildren</a> </dd></dl>
</div>
</div>
<a id="ac4d430194f6637607b1af8631d7166e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4d430194f6637607b1af8631d7166e7">§ </a></span>getParentComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent.html">Component</a>* Component::getParentComponent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component which this component is inside. </p>
<p>If this is the highest-level component or hasn't yet been added to a parent, this will return null. </p>
</div>
</div>
<a id="ab96fafa69cc190b2ebc3a2daba3dbaeb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab96fafa69cc190b2ebc3a2daba3dbaeb">§ </a></span>findParentComponentOfClass()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class TargetClass > </div>
<table class="memname">
<tr>
<td class="memname">TargetClass* Component::findParentComponentOfClass </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Searches the parent components for a component of a specified class. </p>
<p>For example findParentComponentOfClass <MyComp>() would return the first parent component that can be dynamically cast to a MyComp, or will return nullptr if none of the parents are suitable. </p>
</div>
</div>
<a id="a64415a8c5911f94475b5c624598adfa8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64415a8c5911f94475b5c624598adfa8">§ </a></span>getTopLevelComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent.html">Component</a>* Component::getTopLevelComponent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the highest-level component which contains this one or its parents. </p>
<p>This will search upwards in the parent-hierarchy from this component, until it finds the highest one that doesn't have a parent (i.e. is on the desktop or not yet added to a parent), and will return that. </p>
</div>
</div>
<a id="a2fc08a04c79abc21d65c70855b792ab9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fc08a04c79abc21d65c70855b792ab9">§ </a></span>isParentOf()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isParentOf </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>possibleChild</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks whether a component is anywhere inside this component or its children. </p>
<p>This will recursively check through this component's children to see if the given component is anywhere inside. </p>
</div>
</div>
<a id="a83f298a05d7f26a6e50e45dd37eb6313"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83f298a05d7f26a6e50e45dd37eb6313">§ </a></span>parentHierarchyChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::parentHierarchyChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called to indicate that the component's parents have changed. </p>
<p>When a component is added or removed from its parent, this method will be called on all of its children (recursively - so all children of its children will also be called as well).</p>
<p>Subclasses can override this if they need to react to this in some way.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ac4d430194f6637607b1af8631d7166e7" title="Returns the component which this component is inside. ">getParentComponent</a>, <a class="el" href="classComponent.html#a67928458e13f5391eee62202ed7c344d" title="Tests whether this component and all its parents are visible. ">isShowing</a>, <a class="el" href="classComponentListener.html#a84b23253fe18f447472652452b1858e6" title="Called to indicate that the component's parents have changed. ">ComponentListener::componentParentHierarchyChanged</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classTextEditor.html#ae16a68946f5921b4c36605d0d6b6eb67">TextEditor</a>, <a class="el" href="classListBox.html#a63ecfa3bd387a5d55dd33af67903cd9d">ListBox</a>, <a class="el" href="classButton.html#a5e2e93c48605137096a5b9e7cc3b2ec1">Button</a>, <a class="el" href="classComboBox.html#ad135622f39bab2e147816feea303a841">ComboBox</a>, <a class="el" href="classScrollBar.html#a25a885450775c67139b9305663969d14">ScrollBar</a>, <a class="el" href="classDrawable.html#a5a0e439f6bae4acaf6c38895533cf8a2">Drawable</a>, <a class="el" href="classTopLevelWindow.html#aa97c47e56ebbb608a1e286962463dfe7">TopLevelWindow</a>, <a class="el" href="classDrawableComposite.html#a7cf871338dbd8a3f4b5b445cda80fbe3">DrawableComposite</a>, <a class="el" href="classWebBrowserComponent.html#aebd1e2e27af2ff9ee86ae459f2a0d406">WebBrowserComponent</a>, and <a class="el" href="classKeyMappingEditorComponent.html#a213bd76375d21b35f5b012502bea9ada">KeyMappingEditorComponent</a>.</p>
<p>Referenced by <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, and <a class="el" href="classTopLevelWindow.html#a910577a0e16f9e80cca0ac41f61e6299">TopLevelWindow::isDropShadowEnabled()</a>.</p>
</div>
</div>
<a id="a2bbc6da3479a1c3f6e711f4caf9edafb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bbc6da3479a1c3f6e711f4caf9edafb">§ </a></span>childrenChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::childrenChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Subclasses can use this callback to be told when children are added or removed, or when their z-order changes. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a83f298a05d7f26a6e50e45dd37eb6313" title="Called to indicate that the component's parents have changed. ">parentHierarchyChanged</a>, <a class="el" href="classComponentListener.html#ae03a3583fa9999dc868a2e2c5825bbc2" title="Called when the component has children added or removed, or their z-order changes. ">ComponentListener::componentChildrenChanged</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classDrawableComposite.html#a8072353823bed53c18e3293bb1632094">DrawableComposite</a>.</p>
</div>
</div>
<a id="a2da9631236e1cbf1b340454209a6c9e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2da9631236e1cbf1b340454209a6c9e0">§ </a></span>hitTest()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool Component::hitTest </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Tests whether a given point is inside the component. </p>
<p>Overriding this method allows you to create components which only intercept mouse-clicks within a user-defined area.</p>
<p>This is called to find out whether a particular x, y coordinate is considered to be inside the component or not, and is used by methods such as <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains()</a> and <a class="el" href="classComponent.html#a29245735a161cee86ee0df0ccde9512a" title="Returns the component at a certain point within this one. ">getComponentAt()</a> to work out which component the mouse is clicked on.</p>
<p>Components with custom shapes will probably want to override it to perform some more complex hit-testing.</p>
<p>The default implementation of this method returns either true or false, depending on the value that was set by calling <a class="el" href="classComponent.html#ac9fdcb595c1878201a641de2e1159aec" title="Changes the default return value for the hitTest() method. ">setInterceptsMouseClicks()</a> (true is the default return value).</p>
<p>Note that the hit-test region is not related to the opacity with which areas of a component are painted.</p>
<p>Applications should never call <a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0" title="Tests whether a given point is inside the component. ">hitTest()</a> directly - instead use the <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains()</a> method, because this will also test for occlusion by the component's parent.</p>
<p>Note that for components on the desktop, this method will be ignored, because it's not always possible to implement this behaviour on all platforms.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>the x coordinate to test, relative to the left hand edge of this component. This value is guaranteed to be greater than or equal to zero, and less than the component's width </td></tr>
<tr><td class="paramname">y</td><td>the y coordinate to test, relative to the top edge of this component. This value is guaranteed to be greater than or equal to zero, and less than the component's height </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the click is considered to be inside the component </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ac9fdcb595c1878201a641de2e1159aec" title="Changes the default return value for the hitTest() method. ">setInterceptsMouseClicks</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classLassoComponent.html#ab67925a4436687bc41437c8460de710d">LassoComponent< SelectableItemType ></a>, <a class="el" href="classResizableBorderComponent.html#acd797e21238848968eb9957106590253">ResizableBorderComponent</a>, <a class="el" href="classCallOutBox.html#a916cce375fb38ac4e77e4a8ef27591b6">CallOutBox</a>, <a class="el" href="classDrawableShape.html#ab5862ed42c7976a43791f56ae6173c27">DrawableShape</a>, <a class="el" href="classImageButton.html#a646b175c55ac588b8ffed117f213e8e2">ImageButton</a>, <a class="el" href="classTabBarButton.html#ac6e24e3e9b5001e36a3014692257ea03">TabBarButton</a>, <a class="el" href="classDrawableImage.html#a0a6bd602f7d8dd85366b11b7419209ed">DrawableImage</a>, and <a class="el" href="classResizableCornerComponent.html#acc3a046566ad8ab5aa5318b3a943d2fc">ResizableCornerComponent</a>.</p>
<p>Referenced by <a class="el" href="classDrawableImage.html#ac962ca5d26adbecd1e31e3f1a931d107">DrawableImage::getBoundingBox()</a>, and <a class="el" href="classTabBarButton.html#af889e5e2548f8da167c6b2dd751a4867">TabBarButton::getExtraComponentPlacement()</a>.</p>
</div>
</div>
<a id="ac9fdcb595c1878201a641de2e1159aec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9fdcb595c1878201a641de2e1159aec">§ </a></span>setInterceptsMouseClicks()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Component::setInterceptsMouseClicks </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>allowClicksOnThisComponent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>allowClicksOnChildComponents</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the default return value for the <a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0" title="Tests whether a given point is inside the component. ">hitTest()</a> method. </p>
<p>Setting this to false is an easy way to make a component pass its mouse-clicks through to the components behind it.</p>
<p>When a component is created, the default setting for this is true.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">allowClicksOnThisComponent</td><td>if true, <a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0" title="Tests whether a given point is inside the component. ">hitTest()</a> will always return true; if false, it will return false (or true for child components if allowClicksOnChildComponents is true) </td></tr>
<tr><td class="paramname">allowClicksOnChildComponents</td><td>if this is true and allowClicksOnThisComponent is false, then child components can be clicked on as normal but clicks on this component pass straight through; if this is false and allowClicksOnThisComponent is false, then neither this component nor any child components can be clicked on </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0" title="Tests whether a given point is inside the component. ">hitTest</a>, <a class="el" href="classComponent.html#a219f9c96e896dfbbe3fb967a57297f14" title="Retrieves the current state of the mouse-click interception flags. ">getInterceptsMouseClicks</a> </dd></dl>
</div>
</div>
<a id="a219f9c96e896dfbbe3fb967a57297f14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a219f9c96e896dfbbe3fb967a57297f14">§ </a></span>getInterceptsMouseClicks()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Component::getInterceptsMouseClicks </td>
<td>(</td>
<td class="paramtype">bool & </td>
<td class="paramname"><em>allowsClicksOnThisComponent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool & </td>
<td class="paramname"><em>allowsClicksOnChildComponents</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves the current state of the mouse-click interception flags. </p>
<p>On return, the two parameters are set to the state used in the last call to <a class="el" href="classComponent.html#ac9fdcb595c1878201a641de2e1159aec" title="Changes the default return value for the hitTest() method. ">setInterceptsMouseClicks()</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ac9fdcb595c1878201a641de2e1159aec" title="Changes the default return value for the hitTest() method. ">setInterceptsMouseClicks</a> </dd></dl>
</div>
</div>
<a id="a6b697f6caaa753756251b4eb5ece302b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b697f6caaa753756251b4eb5ece302b">§ </a></span>contains()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::contains </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > </td>
<td class="paramname"><em>localPoint</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if a given point lies within this component or one of its children. </p>
<p>Never override this method! Use hitTest to create custom hit regions.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">localPoint</td><td>the coordinate to test, relative to this component's top-left. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if the point is within the component's hit-test area, but only if that part of the component isn't clipped by its parent component. Note that this won't take into account any overlapping sibling components which might be in the way - for that, see <a class="el" href="classComponent.html#aa8d8eb035156e46e6264f600097b1cc1" title="Returns true if a given point lies in this component, taking any overlapping siblings into account...">reallyContains()</a> </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0" title="Tests whether a given point is inside the component. ">hitTest</a>, <a class="el" href="classComponent.html#aa8d8eb035156e46e6264f600097b1cc1" title="Returns true if a given point lies in this component, taking any overlapping siblings into account...">reallyContains</a>, <a class="el" href="classComponent.html#a29245735a161cee86ee0df0ccde9512a" title="Returns the component at a certain point within this one. ">getComponentAt</a> </dd></dl>
</div>
</div>
<a id="aa8d8eb035156e46e6264f600097b1cc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8d8eb035156e46e6264f600097b1cc1">§ </a></span>reallyContains()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::reallyContains </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > </td>
<td class="paramname"><em>localPoint</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>returnTrueIfWithinAChild</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if a given point lies in this component, taking any overlapping siblings into account. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">localPoint</td><td>the coordinate to test, relative to this component's top-left. </td></tr>
<tr><td class="paramname">returnTrueIfWithinAChild</td><td>if the point actually lies within a child of this component, this determines whether that is counted as a hit. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a>, <a class="el" href="classComponent.html#a29245735a161cee86ee0df0ccde9512a" title="Returns the component at a certain point within this one. ">getComponentAt</a> </dd></dl>
</div>
</div>
<a id="a29245735a161cee86ee0df0ccde9512a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29245735a161cee86ee0df0ccde9512a">§ </a></span>getComponentAt() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent.html">Component</a>* Component::getComponentAt </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component at a certain point within this one. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>the x coordinate to test, relative to this component's left edge. </td></tr>
<tr><td class="paramname">y</td><td>the y coordinate to test, relative to this component's top edge. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the component that is at this position - which may be 0, this component, or one of its children. Note that overlapping siblings that might actually be in the way are not taken into account by this method - to account for these, instead call getComponentAt on the top-level parent of this component. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0" title="Tests whether a given point is inside the component. ">hitTest</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a>, <a class="el" href="classComponent.html#aa8d8eb035156e46e6264f600097b1cc1" title="Returns true if a given point lies in this component, taking any overlapping siblings into account...">reallyContains</a> </dd></dl>
</div>
</div>
<a id="a54676dadea528187d52fa8c98d08231d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54676dadea528187d52fa8c98d08231d">§ </a></span>getComponentAt() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent.html">Component</a>* Component::getComponentAt </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > </td>
<td class="paramname"><em>position</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component at a certain point within this one. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">position</td><td>the coordinate to test, relative to this component's top-left. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the component that is at this position - which may be 0, this component, or one of its children. Note that overlapping siblings that might actually be in the way are not taken into account by this method - to account for these, instead call getComponentAt on the top-level parent of this component. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a2da9631236e1cbf1b340454209a6c9e0" title="Tests whether a given point is inside the component. ">hitTest</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a>, <a class="el" href="classComponent.html#aa8d8eb035156e46e6264f600097b1cc1" title="Returns true if a given point lies in this component, taking any overlapping siblings into account...">reallyContains</a> </dd></dl>
</div>
</div>
<a id="af3ab3eabec93dd60faf983370f3a1206"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3ab3eabec93dd60faf983370f3a1206">§ </a></span>repaint() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::repaint </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Marks the whole component as needing to be redrawn. </p>
<p>Calling this will not do any repainting immediately, but will mark the component as 'dirty'. At some point in the near future the operating system will send a paint message, which will redraw all the dirty regions of all components. There's no guarantee about how soon after calling <a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> the redraw will actually happen, and other queued events may be delivered before a redraw is done.</p>
<p>If the <a class="el" href="classComponent.html#af19bbc2186e3297ddd55c328e46c014b" title="Makes the component use an internal buffer to optimise its redrawing. ">setBufferedToImage()</a> method has been used to cause this component to use a buffer, the <a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> call will invalidate the cached buffer. If <a class="el" href="classComponent.html#a9a19c5cf59573243d77a94bb3abea722" title="Gives the component a CachedComponentImage that should be used to buffer its painting. ">setCachedComponentImage()</a> has been used to provide a custom image cache, that cache will be invalidated appropriately.</p>
<p>To redraw just a subsection of the component rather than the whole thing, use the repaint (int, int, int, int) method.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint</a> </dd></dl>
</div>
</div>
<a id="af2a079621367cdf3755d708b4dbbc820"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2a079621367cdf3755d708b4dbbc820">§ </a></span>repaint() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::repaint </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Marks a subsection of this component as needing to be redrawn. </p>
<p>Calling this will not do any repainting immediately, but will mark the given region of the component as 'dirty'. At some point in the near future the operating system will send a paint message, which will redraw all the dirty regions of all components. There's no guarantee about how soon after calling <a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> the redraw will actually happen, and other queued events may be delivered before a redraw is done.</p>
<p>The region that is passed in will be clipped to keep it within the bounds of this component.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> </dd></dl>
</div>
</div>
<a id="a756adec76560d1ae66b1448814828531"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a756adec76560d1ae66b1448814828531">§ </a></span>repaint() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::repaint </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< int > & </td>
<td class="paramname"><em>area</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Marks a subsection of this component as needing to be redrawn. </p>
<p>Calling this will not do any repainting immediately, but will mark the given region of the component as 'dirty'. At some point in the near future the operating system will send a paint message, which will redraw all the dirty regions of all components. There's no guarantee about how soon after calling <a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> the redraw will actually happen, and other queued events may be delivered before a redraw is done.</p>
<p>The region that is passed in will be clipped to keep it within the bounds of this component.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> </dd></dl>
</div>
</div>
<a id="af19bbc2186e3297ddd55c328e46c014b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af19bbc2186e3297ddd55c328e46c014b">§ </a></span>setBufferedToImage()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setBufferedToImage </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldBeBuffered</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Makes the component use an internal buffer to optimise its redrawing. </p>
<p>Setting this flag to true will cause the component to allocate an internal buffer into which it paints itself and all its child components, so that when asked to redraw itself, it can use this buffer rather than actually calling the <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint()</a> method.</p>
<p>Parts of the buffer are invalidated when <a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> is called on this component or its children. The buffer is then repainted at the next <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint()</a> callback.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint</a>, <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint</a>, <a class="el" href="classComponent.html#a9a5c8fc0c5c69bda41a23c351e2d5164" title="Generates a snapshot of part of this component. ">createComponentSnapshot</a> </dd></dl>
</div>
</div>
<a id="a9a5c8fc0c5c69bda41a23c351e2d5164"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a5c8fc0c5c69bda41a23c351e2d5164">§ </a></span>createComponentSnapshot()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classImage.html">Image</a> Component::createComponentSnapshot </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< int > & </td>
<td class="paramname"><em>areaToGrab</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>clipImageToComponentBounds</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>scaleFactor</em> = <code>1.0f</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Generates a snapshot of part of this component. </p>
<p>This will return a new <a class="el" href="classImage.html" title="Holds a fixed-size bitmap. ">Image</a>, the size of the rectangle specified, containing a snapshot of the specified area of the component and all its children.</p>
<p>The image may or may not have an alpha-channel, depending on whether the image is opaque or not.</p>
<p>If the clipImageToComponentBounds parameter is true and the area is greater than the size of the component, it'll be clipped. If clipImageToComponentBounds is false then parts of the component beyond its bounds can be drawn.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a2c960bd5ec5ac76d18e82b6883096714" title="Draws this component and all its subcomponents onto the specified graphics context. ">paintEntireComponent</a> </dd></dl>
</div>
</div>
<a id="a2c960bd5ec5ac76d18e82b6883096714"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c960bd5ec5ac76d18e82b6883096714">§ </a></span>paintEntireComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::paintEntireComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGraphics.html">Graphics</a> & </td>
<td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>ignoreAlphaLevel</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws this component and all its subcomponents onto the specified graphics context. </p>
<p>You should very rarely have to use this method, it's simply there in case you need to draw a component with a custom graphics context for some reason, e.g. for creating a snapshot of the component.</p>
<p>It calls <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint()</a>, <a class="el" href="classComponent.html#aa15dc77c06b5a0a4192090b4a323f79c" title="Components can override this method to draw over the top of their children. ">paintOverChildren()</a> and recursively calls <a class="el" href="classComponent.html#a2c960bd5ec5ac76d18e82b6883096714" title="Draws this component and all its subcomponents onto the specified graphics context. ">paintEntireComponent()</a> on its children in order to render the entire tree.</p>
<p>The graphics context may be left in an undefined state after this method returns, so you may need to reset it if you're going to use it again.</p>
<p>If ignoreAlphaLevel is false, then the component will be drawn with the opacity level specified by <a class="el" href="classComponent.html#a1fa7fae9983fed145b733d809dc7b2e5" title="Returns the component's current transparancy level. ">getAlpha()</a>; if ignoreAlphaLevel is true, then this will be ignored and an alpha of 1.0 will be used. </p>
</div>
</div>
<a id="afd2216ecd5029923097d6baabab400ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd2216ecd5029923097d6baabab400ec">§ </a></span>setPaintingIsUnclipped()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Component::setPaintingIsUnclipped </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldPaintWithoutClipping</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This allows you to indicate that this component doesn't require its graphics context to be clipped when it is being painted. </p>
<p>Most people will never need to use this setting, but in situations where you have a very large number of simple components being rendered, and where they are guaranteed never to do any drawing beyond their own boundaries, setting this to true will reduce the overhead involved in clipping the graphics context that gets passed to the component's <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint()</a> callback. If you enable this mode, you'll need to make sure your paint method doesn't call anything like <a class="el" href="classGraphics.html#a46fc8346e7c7c7cc6c9ff2aad76fa442" title="Fills the context's entire clip region with the current colour or brush. ">Graphics::fillAll()</a>, and doesn't draw beyond the component's bounds, because that'll produce artifacts. Your component also can't have any child components that may be placed beyond its bounds. </p>
</div>
</div>
<a id="a06800d0a55016e738c55078d82ef49fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06800d0a55016e738c55078d82ef49fd">§ </a></span>setComponentEffect()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setComponentEffect </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classImageEffectFilter.html">ImageEffectFilter</a> * </td>
<td class="paramname"><em>newEffect</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds an effect filter to alter the component's appearance. </p>
<p>When a component has an effect filter set, then this is applied to the results of its <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint()</a> method. There are a few preset effects, such as a drop-shadow or glow, but they can be user-defined as well.</p>
<p>The effect that is passed in will not be deleted by the component - the caller must take care of deleting it.</p>
<p>To remove an effect from a component, pass a null pointer in as the parameter.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classImageEffectFilter.html" title="A graphical effect filter that can be applied to components. ">ImageEffectFilter</a>, <a class="el" href="classDropShadowEffect.html" title="An effect filter that adds a drop-shadow behind the image's content. ">DropShadowEffect</a>, <a class="el" href="classGlowEffect.html" title="A component effect that adds a coloured blur around the component's contents. ">GlowEffect</a> </dd></dl>
</div>
</div>
<a id="af92051347bc323176011c16f8a53bf4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af92051347bc323176011c16f8a53bf4c">§ </a></span>getComponentEffect()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classImageEffectFilter.html">ImageEffectFilter</a>* Component::getComponentEffect </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current component effect. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a06800d0a55016e738c55078d82ef49fd" title="Adds an effect filter to alter the component's appearance. ">setComponentEffect</a> </dd></dl>
<p>References <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a>, <a class="el" href="classMouseListener.html#a7ef5d0993f3036233f458fc88f71462c">MouseListener::mouseDoubleClick()</a>, <a class="el" href="classMouseListener.html#afebc11cdb56f49eeabc9f8b81814f9ce">MouseListener::mouseDown()</a>, <a class="el" href="classMouseListener.html#a434a85e97e248920ae699a2f030bfa70">MouseListener::mouseDrag()</a>, <a class="el" href="classMouseListener.html#a479dc784712648193bdc236b2c34e8bd">MouseListener::mouseEnter()</a>, <a class="el" href="classMouseListener.html#ac35ed155e9255cebdc5c81231d963aec">MouseListener::mouseExit()</a>, <a class="el" href="classMouseListener.html#a34327ec666304f0660d818db8281d2fd">MouseListener::mouseMove()</a>, <a class="el" href="classMouseListener.html#ac5eb93de1cfd68a35473071df3e2e8cc">MouseListener::mouseUp()</a>, and <a class="el" href="classMouseListener.html#afb5eae301f38f79acb6c13dcb8cb7532">MouseListener::mouseWheelMove()</a>.</p>
</div>
</div>
<a id="adf9083590923e021b195985a562d458e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf9083590923e021b195985a562d458e">§ </a></span>getLookAndFeel()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classLookAndFeel.html">LookAndFeel</a>& Component::getLookAndFeel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds the appropriate look-and-feel to use for this component. </p>
<p>If the component hasn't had a look-and-feel explicitly set, this will return the parent's look-and-feel, or just the default one if there's no parent.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a6f2c10cd9840844a5be16e5deeef6f50" title="Sets the look and feel to use for this component. ">setLookAndFeel</a>, <a class="el" href="classComponent.html#a74af5830b815f6f985768a5673d01cf2" title="Called to let the component react to a change in the look-and-feel setting. ">lookAndFeelChanged</a> </dd></dl>
</div>
</div>
<a id="a6f2c10cd9840844a5be16e5deeef6f50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f2c10cd9840844a5be16e5deeef6f50">§ </a></span>setLookAndFeel()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setLookAndFeel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classLookAndFeel.html">LookAndFeel</a> * </td>
<td class="paramname"><em>newLookAndFeel</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the look and feel to use for this component. </p>
<p>This will also change the look and feel for any child components that haven't had their look set explicitly.</p>
<p>The object passed in will not be deleted by the component, so it's the caller's responsibility to manage it. It may be used at any time until this component has been deleted.</p>
<p>Calling this method will also invoke the <a class="el" href="classComponent.html#ac314d2449213d7942eca083addfcd097" title="Calls the lookAndFeelChanged() method in this component and all its children. ">sendLookAndFeelChange()</a> method.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#adf9083590923e021b195985a562d458e" title="Finds the appropriate look-and-feel to use for this component. ">getLookAndFeel</a>, <a class="el" href="classComponent.html#a74af5830b815f6f985768a5673d01cf2" title="Called to let the component react to a change in the look-and-feel setting. ">lookAndFeelChanged</a> </dd></dl>
</div>
</div>
<a id="a74af5830b815f6f985768a5673d01cf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74af5830b815f6f985768a5673d01cf2">§ </a></span>lookAndFeelChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::lookAndFeelChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called to let the component react to a change in the look-and-feel setting. </p>
<p>When the look-and-feel is changed for a component, this will be called in all its child components, recursively.</p>
<p>It can also be triggered manually by the <a class="el" href="classComponent.html#ac314d2449213d7942eca083addfcd097" title="Calls the lookAndFeelChanged() method in this component and all its children. ">sendLookAndFeelChange()</a> method, in case an application uses a <a class="el" href="classLookAndFeel.html" title="LookAndFeel objects define the appearance of all the JUCE widgets, and subclasses can be used to appl...">LookAndFeel</a> class that might have changed internally.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ac314d2449213d7942eca083addfcd097" title="Calls the lookAndFeelChanged() method in this component and all its children. ">sendLookAndFeelChange</a>, <a class="el" href="classComponent.html#adf9083590923e021b195985a562d458e" title="Finds the appropriate look-and-feel to use for this component. ">getLookAndFeel</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classSlider.html#a70afdb08e7efc4a15e9a6969fae77a63">Slider</a>, <a class="el" href="classTextEditor.html#a4811e9bd7ee7ec96f2e4e1e118d9d0e9">TextEditor</a>, <a class="el" href="classAlertWindow.html#ac4c2559255171d141a30c8a04299c8c1">AlertWindow</a>, <a class="el" href="classComboBox.html#a827bd9fb9f273694458e0cc71f7424c5">ComboBox</a>, <a class="el" href="classScrollBar.html#a4afc1abba05d3cc8470ea9d8212aa9bb">ScrollBar</a>, <a class="el" href="classResizableWindow.html#ae314150a8f5a5aab3ba5383679c83b0d">ResizableWindow</a>, <a class="el" href="classTabbedButtonBar.html#a60cc5364a3a309438008f8bc1ae32708">TabbedButtonBar</a>, <a class="el" href="classViewport.html#a9de978a90ea9020fd975bf9b84566d06">Viewport</a>, <a class="el" href="classFilenameComponent.html#a66b7092a26a7d8bf9274e168b5e10cdf">FilenameComponent</a>, <a class="el" href="classTabbedComponent.html#a1a18762088811a70aa5e5a8c6b154be2">TabbedComponent</a>, <a class="el" href="classProgressBar.html#a68b99c1ab63b0fa3e23d88f468ac7652">ProgressBar</a>, and <a class="el" href="classOnlineUnlockForm.html#a923d3ea52580d9f0df39d92b10173dfa">OnlineUnlockForm</a>.</p>
<p>Referenced by <a class="el" href="classViewport.html#a32ee4e893ff1d3b67ba91c5c275f2d21">Viewport::getHorizontalScrollBar()</a>.</p>
</div>
</div>
<a id="ac314d2449213d7942eca083addfcd097"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac314d2449213d7942eca083addfcd097">§ </a></span>sendLookAndFeelChange()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::sendLookAndFeelChange </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Calls the <a class="el" href="classComponent.html#a74af5830b815f6f985768a5673d01cf2" title="Called to let the component react to a change in the look-and-feel setting. ">lookAndFeelChanged()</a> method in this component and all its children. </p>
<p>This will recurse through the children and their children, calling <a class="el" href="classComponent.html#a74af5830b815f6f985768a5673d01cf2" title="Called to let the component react to a change in the look-and-feel setting. ">lookAndFeelChanged()</a> on them all.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a74af5830b815f6f985768a5673d01cf2" title="Called to let the component react to a change in the look-and-feel setting. ">lookAndFeelChanged</a> </dd></dl>
</div>
</div>
<a id="a7320d543cba40183c894474ab78798ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7320d543cba40183c894474ab78798ea">§ </a></span>setOpaque()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setOpaque </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldBeOpaque</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates whether any parts of the component might be transparent. </p>
<p>Components that always paint all of their contents with solid colour and thus completely cover any components behind them should use this method to tell the repaint system that they are opaque.</p>
<p>This information is used to optimise drawing, because it means that objects underneath opaque windows don't need to be painted.</p>
<p>By default, components are considered transparent, unless this is used to make it otherwise.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a6ef077ace37bcd13d033305e8875d4e7" title="Returns true if no parts of this component are transparent. ">isOpaque</a> </dd></dl>
</div>
</div>
<a id="a6ef077ace37bcd13d033305e8875d4e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ef077ace37bcd13d033305e8875d4e7">§ </a></span>isOpaque()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isOpaque </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if no parts of this component are transparent. </p>
<dl class="section return"><dt>Returns</dt><dd>the value that was set by setOpaque, (the default being false) </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a7320d543cba40183c894474ab78798ea" title="Indicates whether any parts of the component might be transparent. ">setOpaque</a> </dd></dl>
</div>
</div>
<a id="a2e31d54832bfa8b916fef77c4d9eb649"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e31d54832bfa8b916fef77c4d9eb649">§ </a></span>setBroughtToFrontOnMouseClick()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Component::setBroughtToFrontOnMouseClick </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldBeBroughtToFront</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates whether the component should be brought to the front when clicked. </p>
<p>Setting this flag to true will cause the component to be brought to the front when the mouse is clicked somewhere inside it or its child components.</p>
<p>Note that a top-level desktop window might still be brought to the front by the operating system when it's clicked, depending on how the OS works.</p>
<p>By default this is set to false.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a5e27530ab343f52b524c1c3f1a1d98eb" title="Chooses whether a click on this component automatically grabs the focus. ">setMouseClickGrabsKeyboardFocus</a> </dd></dl>
</div>
</div>
<a id="aa8f9bdf4bef08d89b75b173421fae668"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8f9bdf4bef08d89b75b173421fae668">§ </a></span>isBroughtToFrontOnMouseClick()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isBroughtToFrontOnMouseClick </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates whether the component should be brought to the front when clicked-on. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a2e31d54832bfa8b916fef77c4d9eb649" title="Indicates whether the component should be brought to the front when clicked. ">setBroughtToFrontOnMouseClick</a> </dd></dl>
</div>
</div>
<a id="a6a1f21a76b971d54870cb5c32c041055"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a1f21a76b971d54870cb5c32c041055">§ </a></span>setWantsKeyboardFocus()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Component::setWantsKeyboardFocus </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>wantsFocus</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a flag to indicate whether this component needs keyboard focus or not. </p>
<p>By default components aren't actually interested in gaining the focus, but this method can be used to turn this on.</p>
<p>See the <a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571" title="Tries to give keyboard focus to this component. ">grabKeyboardFocus()</a> method for details about the way a component is chosen to receive the focus.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571" title="Tries to give keyboard focus to this component. ">grabKeyboardFocus</a>, <a class="el" href="classComponent.html#af3618b8c0d0583705db9918f23784833" title="Returns true if the component is interested in getting keyboard focus. ">getWantsKeyboardFocus</a> </dd></dl>
</div>
</div>
<a id="af3618b8c0d0583705db9918f23784833"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3618b8c0d0583705db9918f23784833">§ </a></span>getWantsKeyboardFocus()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::getWantsKeyboardFocus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the component is interested in getting keyboard focus. </p>
<p>This returns the flag set by <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus()</a>. The default setting is false.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus</a> </dd></dl>
</div>
</div>
<a id="a5e27530ab343f52b524c1c3f1a1d98eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e27530ab343f52b524c1c3f1a1d98eb">§ </a></span>setMouseClickGrabsKeyboardFocus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setMouseClickGrabsKeyboardFocus </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldGrabFocus</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Chooses whether a click on this component automatically grabs the focus. </p>
<p>By default this is set to true, but you might want a component which can be focused, but where you don't want the user to be able to affect it directly by clicking. </p>
</div>
</div>
<a id="a9efe458e504e68d52637f969900158b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9efe458e504e68d52637f969900158b2">§ </a></span>getMouseClickGrabsKeyboardFocus()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::getMouseClickGrabsKeyboardFocus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the last value set with <a class="el" href="classComponent.html#a5e27530ab343f52b524c1c3f1a1d98eb" title="Chooses whether a click on this component automatically grabs the focus. ">setMouseClickGrabsKeyboardFocus()</a>. </p>
<p>See <a class="el" href="classComponent.html#a5e27530ab343f52b524c1c3f1a1d98eb" title="Chooses whether a click on this component automatically grabs the focus. ">setMouseClickGrabsKeyboardFocus()</a> for more info. </p>
</div>
</div>
<a id="a91886a0e276d27719fa8866a95306571"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91886a0e276d27719fa8866a95306571">§ </a></span>grabKeyboardFocus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::grabKeyboardFocus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tries to give keyboard focus to this component. </p>
<p>When the user clicks on a component or its <a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571" title="Tries to give keyboard focus to this component. ">grabKeyboardFocus()</a> method is called, the following procedure is used to work out which component should get it:</p>
<ul>
<li>if the component that was clicked on actually wants focus (as indicated by calling getWantsKeyboardFocus), it gets it.</li>
<li>if the component itself doesn't want focus, it will try to pass it on to whichever of its children is the default component, as determined by <a class="el" href="classKeyboardFocusTraverser.html#a2c21be5bdf95b97b501e595955c7d75b" title="Returns the component that should receive focus be default within the given parent component...">KeyboardFocusTraverser::getDefaultComponent()</a></li>
<li>if none of its children want focus at all, it will pass it up to its parent instead, unless it's a top-level component without a parent, in which case it just takes the focus itself.</li>
</ul>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus</a>, <a class="el" href="classComponent.html#af3618b8c0d0583705db9918f23784833" title="Returns true if the component is interested in getting keyboard focus. ">getWantsKeyboardFocus</a>, <a class="el" href="classComponent.html#abf76cf5c3550c5c83bc585f86429b397" title="Returns true if this component currently has the keyboard focus. ">hasKeyboardFocus</a>, <a class="el" href="classComponent.html#a7030de7a58ec40e43ec902d6bb8aaf7a" title="Returns the component that currently has the keyboard focus. ">getCurrentlyFocusedComponent</a>, <a class="el" href="classComponent.html#a408d41f1499a2ebdd4bbc8d4004c7727" title="Called to indicate that this component has just acquired the keyboard focus. ">focusGained</a>, <a class="el" href="classComponent.html#a36456ea9d5a14172d6e96527ec1f59c8" title="Called to indicate that this component has just lost the keyboard focus. ">focusLost</a>, <a class="el" href="classComponent.html#ab063a5c631854864da09106abec78a86" title="Called when a key is pressed. ">keyPressed</a>, <a class="el" href="classComponent.html#aeff4d2fdbae4d5974e43b62ab3c304f9" title="Called when a key is pressed or released. ">keyStateChanged</a> </dd></dl>
</div>
</div>
<a id="abf76cf5c3550c5c83bc585f86429b397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf76cf5c3550c5c83bc585f86429b397">§ </a></span>hasKeyboardFocus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::hasKeyboardFocus </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>trueIfChildIsFocused</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this component currently has the keyboard focus. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">trueIfChildIsFocused</td><td>if this is true, then the method returns true if either this component or any of its children (recursively) have the focus. If false, the method only returns true if this component has the focus.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571" title="Tries to give keyboard focus to this component. ">grabKeyboardFocus</a>, <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus</a>, <a class="el" href="classComponent.html#a7030de7a58ec40e43ec902d6bb8aaf7a" title="Returns the component that currently has the keyboard focus. ">getCurrentlyFocusedComponent</a>, <a class="el" href="classComponent.html#a408d41f1499a2ebdd4bbc8d4004c7727" title="Called to indicate that this component has just acquired the keyboard focus. ">focusGained</a>, <a class="el" href="classComponent.html#a36456ea9d5a14172d6e96527ec1f59c8" title="Called to indicate that this component has just lost the keyboard focus. ">focusLost</a> </dd></dl>
</div>
</div>
<a id="a7030de7a58ec40e43ec902d6bb8aaf7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7030de7a58ec40e43ec902d6bb8aaf7a">§ </a></span>getCurrentlyFocusedComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classComponent.html">Component</a>* <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> Component::getCurrentlyFocusedComponent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component that currently has the keyboard focus. </p>
<dl class="section return"><dt>Returns</dt><dd>the focused component, or null if nothing is focused. </dd></dl>
</div>
</div>
<a id="a34c592c531e8c996dee1bffb2884ca4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34c592c531e8c996dee1bffb2884ca4e">§ </a></span>unfocusAllComponents()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> Component::unfocusAllComponents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If any component has keyboard focus, this will defocus it. </p>
</div>
</div>
<a id="a2be625dadff73d1ec003cb06749ba6d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2be625dadff73d1ec003cb06749ba6d6">§ </a></span>moveKeyboardFocusToSibling()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::moveKeyboardFocusToSibling </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>moveToNext</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tries to move the keyboard focus to one of this component's siblings. </p>
<p>This will try to move focus to either the next or previous component. (This is the method that is used when shifting focus by pressing the tab key).</p>
<p>Components for which <a class="el" href="classComponent.html#af3618b8c0d0583705db9918f23784833" title="Returns true if the component is interested in getting keyboard focus. ">getWantsKeyboardFocus()</a> returns false are not looked at.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">moveToNext</td><td>if true, the focus will move forwards; if false, it will move backwards </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571" title="Tries to give keyboard focus to this component. ">grabKeyboardFocus</a>, <a class="el" href="classComponent.html#a35b455090a35a07ab832582a635425a3" title="Indicates whether this component is a parent for components that can have their focus traversed...">setFocusContainer</a>, <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus</a> </dd></dl>
</div>
</div>
<a id="a7826c4e247eb6a6901211741a3e1dca3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7826c4e247eb6a6901211741a3e1dca3">§ </a></span>createFocusTraverser()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classKeyboardFocusTraverser.html">KeyboardFocusTraverser</a>* Component::createFocusTraverser </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classKeyboardFocusTraverser.html" title="Controls the order in which focus moves between components. ">KeyboardFocusTraverser</a> object to use to determine the logic by which focus should be passed from this component. </p>
<p>The default implementation of this method will return a default <a class="el" href="classKeyboardFocusTraverser.html" title="Controls the order in which focus moves between components. ">KeyboardFocusTraverser</a> if this component is a focus container (as determined by the <a class="el" href="classComponent.html#a35b455090a35a07ab832582a635425a3" title="Indicates whether this component is a parent for components that can have their focus traversed...">setFocusContainer()</a> method). If the component isn't a focus container, then it will recursively ask its parents for a <a class="el" href="classKeyboardFocusTraverser.html" title="Controls the order in which focus moves between components. ">KeyboardFocusTraverser</a>.</p>
<p>If you overrride this to return a custom <a class="el" href="classKeyboardFocusTraverser.html" title="Controls the order in which focus moves between components. ">KeyboardFocusTraverser</a>, then this component and all its sub-components will use the new object to make their focusing decisions.</p>
<p>The method should return a new object, which the caller is required to delete when no longer needed. </p>
<p>Reimplemented in <a class="el" href="classLabel.html#a22e74241a90a25c4ec47ae64af14a5f0">Label</a>, and <a class="el" href="classFilenameComponent.html#a1afd05ccefa1239c8afcb037f2b90214">FilenameComponent</a>.</p>
</div>
</div>
<a id="a1ae06fca382eed7ee555d194d947c350"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ae06fca382eed7ee555d194d947c350">§ </a></span>getExplicitFocusOrder()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Component::getExplicitFocusOrder </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the focus order of this component, if one has been specified. </p>
<p>By default components don't have a focus order - in that case, this will return 0. Lower numbers indicate that the component will be earlier in the focus traversal order.</p>
<p>To change the order, call <a class="el" href="classComponent.html#acea5b1758143ff5815fd13ae57f2172e" title="Sets the index used in determining the order in which focusable components should be traversed...">setExplicitFocusOrder()</a>.</p>
<p>The focus order may be used by the <a class="el" href="classKeyboardFocusTraverser.html" title="Controls the order in which focus moves between components. ">KeyboardFocusTraverser</a> class as part of its algorithm for deciding the order in which components should be traversed. See the <a class="el" href="classKeyboardFocusTraverser.html" title="Controls the order in which focus moves between components. ">KeyboardFocusTraverser</a> class for more details on this.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a2be625dadff73d1ec003cb06749ba6d6" title="Tries to move the keyboard focus to one of this component's siblings. ">moveKeyboardFocusToSibling</a>, <a class="el" href="classComponent.html#a7826c4e247eb6a6901211741a3e1dca3" title="Creates a KeyboardFocusTraverser object to use to determine the logic by which focus should be passed...">createFocusTraverser</a>, <a class="el" href="classKeyboardFocusTraverser.html" title="Controls the order in which focus moves between components. ">KeyboardFocusTraverser</a> </dd></dl>
</div>
</div>
<a id="acea5b1758143ff5815fd13ae57f2172e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acea5b1758143ff5815fd13ae57f2172e">§ </a></span>setExplicitFocusOrder()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setExplicitFocusOrder </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>newFocusOrderIndex</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the index used in determining the order in which focusable components should be traversed. </p>
<p>A value of 0 or less is taken to mean that no explicit order is wanted, and that traversal should use other factors, like the component's position.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a1ae06fca382eed7ee555d194d947c350" title="Returns the focus order of this component, if one has been specified. ">getExplicitFocusOrder</a>, <a class="el" href="classComponent.html#a2be625dadff73d1ec003cb06749ba6d6" title="Tries to move the keyboard focus to one of this component's siblings. ">moveKeyboardFocusToSibling</a> </dd></dl>
</div>
</div>
<a id="a35b455090a35a07ab832582a635425a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35b455090a35a07ab832582a635425a3">§ </a></span>setFocusContainer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Component::setFocusContainer </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldBeFocusContainer</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates whether this component is a parent for components that can have their focus traversed. </p>
<p>This flag is used by the default implementation of the <a class="el" href="classComponent.html#a7826c4e247eb6a6901211741a3e1dca3" title="Creates a KeyboardFocusTraverser object to use to determine the logic by which focus should be passed...">createFocusTraverser()</a> method, which uses the flag to find the first parent component (of the currently focused one) which wants to be a focus container.</p>
<p>So using this method to set the flag to 'true' causes this component to act as the top level within which focus is passed around.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a31a41d721888e3ac78659e4815294ed1" title="Returns true if this component has been marked as a focus container. ">isFocusContainer</a>, <a class="el" href="classComponent.html#a7826c4e247eb6a6901211741a3e1dca3" title="Creates a KeyboardFocusTraverser object to use to determine the logic by which focus should be passed...">createFocusTraverser</a>, <a class="el" href="classComponent.html#a2be625dadff73d1ec003cb06749ba6d6" title="Tries to move the keyboard focus to one of this component's siblings. ">moveKeyboardFocusToSibling</a> </dd></dl>
</div>
</div>
<a id="a31a41d721888e3ac78659e4815294ed1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31a41d721888e3ac78659e4815294ed1">§ </a></span>isFocusContainer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isFocusContainer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this component has been marked as a focus container. </p>
<p>See <a class="el" href="classComponent.html#a35b455090a35a07ab832582a635425a3" title="Indicates whether this component is a parent for components that can have their focus traversed...">setFocusContainer()</a> for more details.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a35b455090a35a07ab832582a635425a3" title="Indicates whether this component is a parent for components that can have their focus traversed...">setFocusContainer</a>, <a class="el" href="classComponent.html#a2be625dadff73d1ec003cb06749ba6d6" title="Tries to move the keyboard focus to one of this component's siblings. ">moveKeyboardFocusToSibling</a>, <a class="el" href="classComponent.html#a7826c4e247eb6a6901211741a3e1dca3" title="Creates a KeyboardFocusTraverser object to use to determine the logic by which focus should be passed...">createFocusTraverser</a> </dd></dl>
</div>
</div>
<a id="a0e12726e34fdd284f036922597914bb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e12726e34fdd284f036922597914bb3">§ </a></span>isEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the component (and all its parents) are enabled. </p>
<p>Components are enabled by default, and can be disabled with <a class="el" href="classComponent.html#a6f956f690d72256838146c7dfe99bc0e" title="Enables or disables this component. ">setEnabled()</a>. Exactly what difference this makes to the component depends on the type. E.g. buttons and sliders will choose to draw themselves differently, etc.</p>
<p>Note that if one of this component's parents is disabled, this will always return false, even if this component itself is enabled.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a6f956f690d72256838146c7dfe99bc0e" title="Enables or disables this component. ">setEnabled</a>, <a class="el" href="classComponent.html#a8e5e39d3d7e2b8be4e78454ec4a5f584" title="Callback to indicate that this component has been enabled or disabled. ">enablementChanged</a> </dd></dl>
</div>
</div>
<a id="a6f956f690d72256838146c7dfe99bc0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f956f690d72256838146c7dfe99bc0e">§ </a></span>setEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setEnabled </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldBeEnabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enables or disables this component. </p>
<p>Disabling a component will also cause all of its child components to become disabled.</p>
<p>Similarly, enabling a component which is inside a disabled parent component won't make any difference until the parent is re-enabled.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a0e12726e34fdd284f036922597914bb3" title="Returns true if the component (and all its parents) are enabled. ">isEnabled</a>, <a class="el" href="classComponent.html#a8e5e39d3d7e2b8be4e78454ec4a5f584" title="Callback to indicate that this component has been enabled or disabled. ">enablementChanged</a> </dd></dl>
</div>
</div>
<a id="a8e5e39d3d7e2b8be4e78454ec4a5f584"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e5e39d3d7e2b8be4e78454ec4a5f584">§ </a></span>enablementChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::enablementChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Callback to indicate that this component has been enabled or disabled. </p>
<p>This can be triggered by one of the component's parent components being enabled or disabled, as well as changes to the component itself.</p>
<p>The default implementation of this method does nothing; your class may wish to repaint itself or something when this happens.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a6f956f690d72256838146c7dfe99bc0e" title="Enables or disables this component. ">setEnabled</a>, <a class="el" href="classComponent.html#a0e12726e34fdd284f036922597914bb3" title="Returns true if the component (and all its parents) are enabled. ">isEnabled</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classSlider.html#a5d5dddfd7d8f254d9097724493878cc1">Slider</a>, <a class="el" href="classTreeView.html#a25ee8644a3b0d300f33178c87d13fcfa">TreeView</a>, <a class="el" href="classTextEditor.html#ae323b4ceb59be7c1e8a1f9a637193267">TextEditor</a>, <a class="el" href="classButton.html#aacc3dbdf54be71a697272d2821b86d84">Button</a>, <a class="el" href="classComboBox.html#adeabe2c0edc2170647ba741a8938aa2c">ComboBox</a>, <a class="el" href="classLabel.html#ad6c81f949fd72d2382ffcd336f1a5923">Label</a>, <a class="el" href="classDrawableButton.html#a726b866e69adc70a147a2c59156da249">DrawableButton</a>, <a class="el" href="classPropertyComponent.html#a5b75f072da6b54155076ddc5c5cf22da">PropertyComponent</a>, <a class="el" href="classGroupComponent.html#a41a11e08ba69af80e571e84c084feba7">GroupComponent</a>, and <a class="el" href="classToolbarButton.html#a3308004ba6d256b066a42cc510335d13">ToolbarButton</a>.</p>
<p>Referenced by <a class="el" href="classPropertyComponent.html#a7a1419d38e6281bc7fef79c89656024a">PropertyComponent::setPreferredHeight()</a>.</p>
</div>
</div>
<a id="a1fa7fae9983fed145b733d809dc7b2e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fa7fae9983fed145b733d809dc7b2e5">§ </a></span>getAlpha()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">float Component::getAlpha </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the component's current transparancy level. </p>
<p>See <a class="el" href="classComponent.html#a1b9329a87c71ed01319071e0fedac128" title="Changes the transparency of this component. ">setAlpha()</a> for more details. </p>
</div>
</div>
<a id="a1b9329a87c71ed01319071e0fedac128"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b9329a87c71ed01319071e0fedac128">§ </a></span>setAlpha()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setAlpha </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>newAlpha</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the transparency of this component. </p>
<p>When painted, the entire component and all its children will be rendered with this as the overall opacity level, where 0 is completely invisible, and 1.0 is fully opaque (i.e. normal).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a1fa7fae9983fed145b733d809dc7b2e5" title="Returns the component's current transparancy level. ">getAlpha</a>, <a class="el" href="classComponent.html#af83c72f9c98476811522ba8cad855003" title="Called when setAlpha() is used to change the alpha value of this component. ">alphaChanged</a> </dd></dl>
</div>
</div>
<a id="af83c72f9c98476811522ba8cad855003"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af83c72f9c98476811522ba8cad855003">§ </a></span>alphaChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::alphaChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when <a class="el" href="classComponent.html#a1b9329a87c71ed01319071e0fedac128" title="Changes the transparency of this component. ">setAlpha()</a> is used to change the alpha value of this component. </p>
<p>If you override this, you should also invoke the base class's implementation during your overridden function, as it performs some repainting behaviour. </p>
<p>Reimplemented in <a class="el" href="classNSViewComponent.html#a6302dbcb95361a82312a1633f5762bbc">NSViewComponent</a>.</p>
</div>
</div>
<a id="ab8c631fc3fb881ca94a9b7edcf58636f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8c631fc3fb881ca94a9b7edcf58636f">§ </a></span>setMouseCursor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setMouseCursor </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseCursor.html">MouseCursor</a> & </td>
<td class="paramname"><em>cursorType</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the mouse cursor shape to use when the mouse is over this component. </p>
<p>Note that the cursor set by this method can be overridden by the getMouseCursor method.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classMouseCursor.html" title="Represents a mouse cursor image. ">MouseCursor</a> </dd></dl>
</div>
</div>
<a id="a712ed320619d48542de733c086f4fd3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a712ed320619d48542de733c086f4fd3e">§ </a></span>getMouseCursor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classMouseCursor.html">MouseCursor</a> Component::getMouseCursor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the mouse cursor shape to use when the mouse is over this component. </p>
<p>The default implementation will return the cursor that was set by setCursor() but can be overridden for more specialised purposes, e.g. returning different cursors depending on the mouse position.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classMouseCursor.html" title="Represents a mouse cursor image. ">MouseCursor</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classTableHeaderComponent.html#ab6d14fafe7422458c91fc3ed0257338c">TableHeaderComponent</a>.</p>
</div>
</div>
<a id="a2d879d2f1eb69e2e828904efc42f0575"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d879d2f1eb69e2e828904efc42f0575">§ </a></span>updateMouseCursor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::updateMouseCursor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Forces the current mouse cursor to be updated. </p>
<p>If you're overriding the <a class="el" href="classComponent.html#a712ed320619d48542de733c086f4fd3e" title="Returns the mouse cursor shape to use when the mouse is over this component. ">getMouseCursor()</a> method to control which cursor is displayed, then this will only be checked each time the user moves the mouse. So if you want to force the system to check that the cursor being displayed is up-to-date (even if the mouse is just sitting there), call this method.</p>
<p>(If you're changing the cursor using <a class="el" href="classComponent.html#ab8c631fc3fb881ca94a9b7edcf58636f" title="Changes the mouse cursor shape to use when the mouse is over this component. ">setMouseCursor()</a>, you don't need to bother calling this). </p>
</div>
</div>
<a id="a7cf1862f4af5909ea72827898114a182"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cf1862f4af5909ea72827898114a182">§ </a></span>paint()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::paint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGraphics.html">Graphics</a> & </td>
<td class="paramname"><em>g</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Components can override this method to draw their content. </p>
<p>The <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint()</a> method gets called when a region of a component needs redrawing, either because the component's <a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> method has been called, or because something has happened on the screen that means a section of a window needs to be redrawn.</p>
<p>Any child components will draw themselves over whatever this method draws. If you need to paint over the top of your child components, you can also implement the <a class="el" href="classComponent.html#aa15dc77c06b5a0a4192090b4a323f79c" title="Components can override this method to draw over the top of their children. ">paintOverChildren()</a> method to do this.</p>
<p>If you want to cause a component to redraw itself, this is done asynchronously - calling the <a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a> method marks a region of the component as "dirty", and the <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint()</a> method will automatically be called sometime later, by the message thread, to paint any bits that need refreshing. In Juce (and almost all modern UI frameworks), you never redraw something synchronously.</p>
<p>You should never need to call this method directly - to take a snapshot of the component you could use <a class="el" href="classComponent.html#a9a5c8fc0c5c69bda41a23c351e2d5164" title="Generates a snapshot of part of this component. ">createComponentSnapshot()</a> or <a class="el" href="classComponent.html#a2c960bd5ec5ac76d18e82b6883096714" title="Draws this component and all its subcomponents onto the specified graphics context. ">paintEntireComponent()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">g</td><td>the graphics context that must be used to do the drawing operations. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint</a>, <a class="el" href="classComponent.html#aa15dc77c06b5a0a4192090b4a323f79c" title="Components can override this method to draw over the top of their children. ">paintOverChildren</a>, <a class="el" href="classGraphics.html" title="A graphics context, used for drawing a component or image. ">Graphics</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classSlider.html#a443749317634c0080d522d090ae991a5">Slider</a>, <a class="el" href="classTreeView.html#ad212873bb6cb74f44c423cbf3aad1b66">TreeView</a>, <a class="el" href="classTextEditor.html#a8b7485621bf88d75d8e51c01f9d2b82c">TextEditor</a>, <a class="el" href="classListBox.html#ac6b78a9082a56fc683a12efbde1b4a2c">ListBox</a>, <a class="el" href="classButton.html#a88e200a924ec0d4632274f5c035cab6f">Button</a>, <a class="el" href="classAlertWindow.html#a3b70db27d70ce9972928ece3b0f809ca">AlertWindow</a>, <a class="el" href="classComboBox.html#a67a3388f0b01381add6486802b568a50">ComboBox</a>, <a class="el" href="classTableHeaderComponent.html#a61332eb0982fa8872e1fec9aadf03082">TableHeaderComponent</a>, <a class="el" href="classScrollBar.html#a2ecc1047bbc102868b7c97a249425885">ScrollBar</a>, <a class="el" href="classResizableWindow.html#a97b64ce86b466f26b489f533946b42cc">ResizableWindow</a>, <a class="el" href="classCodeEditorComponent.html#aacfd5a44cfc287934279deb7a1b50ebc">CodeEditorComponent</a>, <a class="el" href="classTabbedButtonBar.html#ad07c90cf224b10adfb383c72c4bacf86">TabbedButtonBar</a>, <a class="el" href="classLabel.html#a5afd583115f3a166cdd586d735d4d7a0">Label</a>, <a class="el" href="classToolbar.html#a3bd8be5d899b3c3448e88127c34d59c7">Toolbar</a>, <a class="el" href="classMultiDocumentPanel.html#ae8a4a7af9e8123d15aca85ceb308cf35">MultiDocumentPanel</a>, <a class="el" href="classMidiKeyboardComponent.html#a5af0c8f29a491542ac068cff12141398">MidiKeyboardComponent</a>, <a class="el" href="classLassoComponent.html#a0d9415c5dd551e76336ca1d952d5f6f9">LassoComponent< SelectableItemType ></a>, <a class="el" href="classDirectShowComponent.html#a88f8c1ca2cbd95adb30074bf7a7e2273">DirectShowComponent</a>, <a class="el" href="classTabbedComponent.html#a04b62223ce54ab0fa897487f1e63d8ae">TabbedComponent</a>, <a class="el" href="classBubbleComponent.html#ab7f569418ed2401a94663658622703d5">BubbleComponent</a>, <a class="el" href="classResizableBorderComponent.html#a1c48b539fd464a0e7e16a2dc68242b68">ResizableBorderComponent</a>, <a class="el" href="classPropertyPanel.html#a8146e80447608d743a7e1d63e30947cf">PropertyPanel</a>, <a class="el" href="classDrawableShape.html#a9e4fb1bf71aeaa24fdc50a2a4a38c7f5">DrawableShape</a>, <a class="el" href="classCallOutBox.html#abb855fb08a18a20c93c2a7e4be96eef0">CallOutBox</a>, <a class="el" href="classSplashScreen.html#a2928536a464778d08d42b1bdc571899d">SplashScreen</a>, <a class="el" href="classPreferencesPanel.html#a4e4510019d9c6296b51a6030e58b967c">PreferencesPanel</a>, <a class="el" href="classAudioVisualiserComponent.html#a4c9e47c97200c8bfcd43c47a71e4121d">AudioVisualiserComponent</a>, <a class="el" href="classProgressBar.html#ac52be9d48db6804ad15677a786b817c8">ProgressBar</a>, <a class="el" href="classActiveXControlComponent.html#af355620074bfabfa66266c25a589bc4d">ActiveXControlComponent</a>, <a class="el" href="classWebBrowserComponent.html#a45057a2af002dee5e327faa6d3576d19">WebBrowserComponent</a>, <a class="el" href="classGroupComponent.html#a632a0daf4e96de1ccceeb375a8d59732">GroupComponent</a>, <a class="el" href="classBooleanPropertyComponent.html#a5a535012244efedf4e79e356a075fbcb">BooleanPropertyComponent</a>, <a class="el" href="classPropertyComponent.html#acf6942b726a973f80901fcbbbed900eb">PropertyComponent</a>, <a class="el" href="classFileSearchPathListComponent.html#a4d576510d8df940b993558e7d710d0ca">FileSearchPathListComponent</a>, <a class="el" href="classDrawableText.html#a1971bea7e63338ca8fd7176a39c1c266">DrawableText</a>, <a class="el" href="classStretchableLayoutResizerBar.html#a9589c1034e9dce2b5836787b57bf117b">StretchableLayoutResizerBar</a>, <a class="el" href="classSystemTrayIconComponent.html#a11951b5b8c2b5ee866aa32880a30afc9">SystemTrayIconComponent</a>, <a class="el" href="classDrawableImage.html#a0c1dd682ea6f4bde7cc404c24ce9d31a">DrawableImage</a>, <a class="el" href="classResizableEdgeComponent.html#a7c070b054bd93f89caf72163a2bc18a7">ResizableEdgeComponent</a>, <a class="el" href="classNSViewComponent.html#ac991588b04fb3d201ee6cfd399b412d4">NSViewComponent</a>, <a class="el" href="classUIViewComponent.html#aa135904249f7103bf1e914456c578a4d">UIViewComponent</a>, <a class="el" href="classMenuBarComponent.html#a9118f5a24717914ae2d2090ef67303d8">MenuBarComponent</a>, <a class="el" href="classResizableCornerComponent.html#a934e28efe7a85e020a48adffa60bcd71">ResizableCornerComponent</a>, <a class="el" href="classCaretComponent.html#a2edcbccc932386c3093859b9408cc016">CaretComponent</a>, <a class="el" href="classImageComponent.html#abc860641ae65cc6486721d6d84b984d5">ImageComponent</a>, <a class="el" href="classOnlineUnlockForm.html#a869bf49a116d5ed0d704a30e2b35fe44">OnlineUnlockForm</a>, <a class="el" href="classImagePreviewComponent.html#aebfe92b48f052c5512f273fefc88060d">ImagePreviewComponent</a>, and <a class="el" href="classGenericAudioProcessorEditor.html#a4de4e8f8ef35efdd32d7f504c88b095e">GenericAudioProcessorEditor</a>.</p>
<p>Referenced by <a class="el" href="classActiveXControlComponent.html#a763464ac5f6a4fa71dd81c738659dd95">ActiveXControlComponent::areMouseEventsAllowed()</a>, <a class="el" href="classDrawableImage.html#ac962ca5d26adbecd1e31e3f1a931d107">DrawableImage::getBoundingBox()</a>, <a class="el" href="classMultiDocumentPanel.html#ac86ed410df52f651903bf2641862bbe2">MultiDocumentPanel::getCurrentTabbedComponent()</a>, <a class="el" href="classDrawableText.html#a28a361605592295da8c5600c9026eda8">DrawableText::getFontHorizontalScale()</a>, <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>, <a class="el" href="classAudioVisualiserComponent.html#ab18fda34f0cc982ce1491fd43f61174e">AudioVisualiserComponent::getSamplesPerBlock()</a>, <a class="el" href="classPropertyPanel.html#a21146431d1ef08fd5bc73a47eae9ecbb">PropertyPanel::getViewport()</a>, and <a class="el" href="classPropertyComponent.html#a7a1419d38e6281bc7fef79c89656024a">PropertyComponent::setPreferredHeight()</a>.</p>
</div>
</div>
<a id="aa15dc77c06b5a0a4192090b4a323f79c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa15dc77c06b5a0a4192090b4a323f79c">§ </a></span>paintOverChildren()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::paintOverChildren </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classGraphics.html">Graphics</a> & </td>
<td class="paramname"><em>g</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Components can override this method to draw over the top of their children. </p>
<p>For most drawing operations, it's better to use the normal <a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint()</a> method, but if you need to overlay something on top of the children, this can be used.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a7cf1862f4af5909ea72827898114a182" title="Components can override this method to draw their content. ">paint</a>, <a class="el" href="classGraphics.html" title="A graphics context, used for drawing a component or image. ">Graphics</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classTextEditor.html#a2a8635846ebc9fd09bc42a256b3480f4">TextEditor</a>, <a class="el" href="classListBox.html#a5797c000ce38f73c2d45e0bf0e283141">ListBox</a>, and <a class="el" href="classFilenameComponent.html#a761edbba6892fbdd396eb02dd356cdac">FilenameComponent</a>.</p>
<p>Referenced by <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>.</p>
</div>
</div>
<a id="ad2cfbadc42d5c2124f67ae181de1234e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2cfbadc42d5c2124f67ae181de1234e">§ </a></span>mouseMove()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseMove </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when the mouse moves inside a component. </p>
<p>If the mouse button isn't pressed and the mouse moves over a component, this will be called to let the component react to this.</p>
<p>A component will always get a mouseEnter callback before a mouseMove.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the position and status of the mouse event, including the source component in which it occurred </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a525b16845ffacc71c7c37a72f68feccc" title="Called when the mouse first enters a component. ">mouseEnter</a>, <a class="el" href="classComponent.html#a16a0c88e82e5b71ed8cc7c7b3de37cb2" title="Called when the mouse moves out of a component. ">mouseExit</a>, <a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classMouseListener.html#a34327ec666304f0660d818db8281d2fd">MouseListener</a>.</p>
<p>Reimplemented in <a class="el" href="classTableHeaderComponent.html#a358870898bb0cbd599e4838e51db31ed">TableHeaderComponent</a>, <a class="el" href="classMidiKeyboardComponent.html#ae5e206eec4d5c116d4b8956a29416853">MidiKeyboardComponent</a>, <a class="el" href="classResizableBorderComponent.html#ab7aab4427bdd421c99af9f1bdea571ca">ResizableBorderComponent</a>, and <a class="el" href="classMenuBarComponent.html#a0a98e1fe26f69de791e0ffce94297619">MenuBarComponent</a>.</p>
<p>Referenced by <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="a525b16845ffacc71c7c37a72f68feccc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a525b16845ffacc71c7c37a72f68feccc">§ </a></span>mouseEnter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseEnter </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when the mouse first enters a component. </p>
<p>If the mouse button isn't pressed and the mouse moves into a component, this will be called to let the component react to this.</p>
<p>When the mouse button is pressed and held down while being moved in or out of a component, no mouseEnter or mouseExit callbacks are made - only mouseDrag messages are sent to the component that the mouse was originally clicked on, until the button is released.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the position and status of the mouse event, including the source component in which it occurred </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a16a0c88e82e5b71ed8cc7c7b3de37cb2" title="Called when the mouse moves out of a component. ">mouseExit</a>, <a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag</a>, <a class="el" href="classComponent.html#ad2cfbadc42d5c2124f67ae181de1234e" title="Called when the mouse moves inside a component. ">mouseMove</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classMouseListener.html#a479dc784712648193bdc236b2c34e8bd">MouseListener</a>.</p>
<p>Reimplemented in <a class="el" href="classButton.html#a32dfa1120a4ad81620ed4a21757e374a">Button</a>, <a class="el" href="classTableHeaderComponent.html#ab981915bf8abab35ec95a8c285187f66">TableHeaderComponent</a>, <a class="el" href="classMidiKeyboardComponent.html#af61001812475a88a62637f7b81242718">MidiKeyboardComponent</a>, <a class="el" href="classResizableBorderComponent.html#ad8b599c07f7cba29e1cb2b0f5b4902a2">ResizableBorderComponent</a>, and <a class="el" href="classMenuBarComponent.html#a40471464d733599a5715e507320b72ad">MenuBarComponent</a>.</p>
<p>Referenced by <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="a16a0c88e82e5b71ed8cc7c7b3de37cb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16a0c88e82e5b71ed8cc7c7b3de37cb2">§ </a></span>mouseExit()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseExit </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when the mouse moves out of a component. </p>
<p>This will be called when the mouse moves off the edge of this component.</p>
<p>If the mouse button was pressed, and it was then dragged off the edge of the component and released, then this callback will happen when the button is released, after the mouseUp callback.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the position and status of the mouse event, including the source component in which it occurred </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a525b16845ffacc71c7c37a72f68feccc" title="Called when the mouse first enters a component. ">mouseEnter</a>, <a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag</a>, <a class="el" href="classComponent.html#ad2cfbadc42d5c2124f67ae181de1234e" title="Called when the mouse moves inside a component. ">mouseMove</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classMouseListener.html#ac35ed155e9255cebdc5c81231d963aec">MouseListener</a>.</p>
<p>Reimplemented in <a class="el" href="classButton.html#a5f8a73f5a0c1fba9327ff96a9fec1476">Button</a>, <a class="el" href="classTableHeaderComponent.html#a90c64b020bf0d1d4f1330ca44b42766e">TableHeaderComponent</a>, <a class="el" href="classMidiKeyboardComponent.html#a7126629da11c5aaea1752fbc072cb9c5">MidiKeyboardComponent</a>, and <a class="el" href="classMenuBarComponent.html#ab5f2450d26d8d94988f65eee8933239c">MenuBarComponent</a>.</p>
<p>Referenced by <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="a8504490979c2b4a6fdf02471b03a78f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8504490979c2b4a6fdf02471b03a78f6">§ </a></span>mouseDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseDown </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when a mouse button is pressed. </p>
<p>The <a class="el" href="classMouseEvent.html" title="Contains position and status information about a mouse event. ">MouseEvent</a> object passed in contains lots of methods for finding out which button was pressed, as well as which modifier keys (e.g. shift, ctrl) were held down at the time.</p>
<p>Once a button is held down, the mouseDrag method will be called when the mouse moves, until the button is released.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the position and status of the mouse event, including the source component in which it occurred </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9ef1d5efbd2b9c581c59ad75fb574fd4" title="Called when a mouse button is released. ">mouseUp</a>, <a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag</a>, <a class="el" href="classComponent.html#a90a5f41210643598f6fdd5013800e5d0" title="Called when a mouse button has been double-clicked on a component. ">mouseDoubleClick</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classMouseListener.html#afebc11cdb56f49eeabc9f8b81814f9ce">MouseListener</a>.</p>
<p>Reimplemented in <a class="el" href="classSlider.html#a66f2c67d6de570fa0d123ae2b9b394f7">Slider</a>, <a class="el" href="classTextEditor.html#ab4b237febe69d1883696ac0abbde67ac">TextEditor</a>, <a class="el" href="classAlertWindow.html#a0aef30be23c4018bfc8e11407d11aaa8">AlertWindow</a>, <a class="el" href="classButton.html#af08726aab8086f766f098a61f47148bd">Button</a>, <a class="el" href="classTableHeaderComponent.html#a32469da187cc0be3cea930016db9798d">TableHeaderComponent</a>, <a class="el" href="classComboBox.html#a8294a54c115bfbde18a66cdd3d3f6ec8">ComboBox</a>, <a class="el" href="classScrollBar.html#a7f11688cde2eeae737779e1e44fb2b98">ScrollBar</a>, <a class="el" href="classResizableWindow.html#a061e907019fb970e205063572e3cf933">ResizableWindow</a>, <a class="el" href="classCodeEditorComponent.html#ac02bce10d167e40f84434c61c167fffe">CodeEditorComponent</a>, <a class="el" href="classToolbar.html#a1a491913b696ccdfb8ae1ed31c351dcc">Toolbar</a>, <a class="el" href="classMidiKeyboardComponent.html#a359f60ca24f34735023808b115b8106c">MidiKeyboardComponent</a>, <a class="el" href="classResizableBorderComponent.html#aab4acffe6cda1852510894fd6b78c946">ResizableBorderComponent</a>, <a class="el" href="classStretchableLayoutResizerBar.html#ae8b6cbc6c5759c668c229b2cc80bf9c0">StretchableLayoutResizerBar</a>, <a class="el" href="classResizableEdgeComponent.html#ad76c21bd1c68f9128e715fd96e15c101">ResizableEdgeComponent</a>, <a class="el" href="classMenuBarComponent.html#a3488abce70d4f83813a623957a0158cb">MenuBarComponent</a>, and <a class="el" href="classResizableCornerComponent.html#a6f614b5db33224a9b338bcb2dca0562f">ResizableCornerComponent</a>.</p>
<p>Referenced by <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="a32ebd26be9c9bc56dd942071227d799d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32ebd26be9c9bc56dd942071227d799d">§ </a></span>mouseDrag()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseDrag </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when the mouse is moved while a button is held down. </p>
<p>When a mouse button is pressed inside a component, that component receives mouseDrag callbacks each time the mouse moves, even if the mouse strays outside the component's bounds.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the position and status of the mouse event, including the source component in which it occurred </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a8504490979c2b4a6fdf02471b03a78f6" title="Called when a mouse button is pressed. ">mouseDown</a>, <a class="el" href="classComponent.html#a9ef1d5efbd2b9c581c59ad75fb574fd4" title="Called when a mouse button is released. ">mouseUp</a>, <a class="el" href="classComponent.html#ad2cfbadc42d5c2124f67ae181de1234e" title="Called when the mouse moves inside a component. ">mouseMove</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a>, setDragRepeatInterval </dd></dl>
<p>Reimplemented from <a class="el" href="classMouseListener.html#a434a85e97e248920ae699a2f030bfa70">MouseListener</a>.</p>
<p>Reimplemented in <a class="el" href="classSlider.html#a6e117b6ba93f9a1954c52be4b4dfc873">Slider</a>, <a class="el" href="classTextEditor.html#a909826b0a96f31a75731ce2743d83342">TextEditor</a>, <a class="el" href="classAlertWindow.html#a16da21b6606246912135fd2e7cbc0bd1">AlertWindow</a>, <a class="el" href="classButton.html#ae18a78575c054ea19f0fa962021bacd6">Button</a>, <a class="el" href="classTableHeaderComponent.html#a35c899dfec1e378e805b319ce6dedae4">TableHeaderComponent</a>, <a class="el" href="classComboBox.html#ad21a09e0f78a342b9b1ffab48be0f6c8">ComboBox</a>, <a class="el" href="classScrollBar.html#acf0979e09f19392a4b453abcd9295c0d">ScrollBar</a>, <a class="el" href="classResizableWindow.html#a88f1ec87e42f7bea6ba4e7d8dd68737e">ResizableWindow</a>, <a class="el" href="classCodeEditorComponent.html#a1f04e20f252124cf5095b25b3f3b69ec">CodeEditorComponent</a>, <a class="el" href="classMidiKeyboardComponent.html#a19729bfda70c97a99a380792e1bfcb68">MidiKeyboardComponent</a>, <a class="el" href="classResizableBorderComponent.html#a031919ae342f15b5bee1ece8c3c30f0b">ResizableBorderComponent</a>, <a class="el" href="classStretchableLayoutResizerBar.html#a808feec86fa98f0c439aa828adcadee8">StretchableLayoutResizerBar</a>, <a class="el" href="classResizableEdgeComponent.html#ab9673747db9803dec792117bdbb997ee">ResizableEdgeComponent</a>, <a class="el" href="classMenuBarComponent.html#a8969603aeb5dbb880a1a85ebe084e26b">MenuBarComponent</a>, and <a class="el" href="classResizableCornerComponent.html#a93684b148378188690ccb51bb7fbcaca">ResizableCornerComponent</a>.</p>
<p>Referenced by <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="a9ef1d5efbd2b9c581c59ad75fb574fd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ef1d5efbd2b9c581c59ad75fb574fd4">§ </a></span>mouseUp()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseUp </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when a mouse button is released. </p>
<p>A mouseUp callback is sent to the component in which a button was pressed even if the mouse is actually over a different component when the button is released.</p>
<p>The <a class="el" href="classMouseEvent.html" title="Contains position and status information about a mouse event. ">MouseEvent</a> object passed in contains lots of methods for finding out which buttons were down just before they were released.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the position and status of the mouse event, including the source component in which it occurred </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a8504490979c2b4a6fdf02471b03a78f6" title="Called when a mouse button is pressed. ">mouseDown</a>, <a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag</a>, <a class="el" href="classComponent.html#a90a5f41210643598f6fdd5013800e5d0" title="Called when a mouse button has been double-clicked on a component. ">mouseDoubleClick</a>, <a class="el" href="classComponent.html#a6b697f6caaa753756251b4eb5ece302b" title="Returns true if a given point lies within this component or one of its children. ">contains</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classMouseListener.html#ac5eb93de1cfd68a35473071df3e2e8cc">MouseListener</a>.</p>
<p>Reimplemented in <a class="el" href="classSlider.html#a064b6ee8d376cbce87b940b9d17c2254">Slider</a>, <a class="el" href="classTextEditor.html#a25254d51088d9492d1ef446f6dc2f71f">TextEditor</a>, <a class="el" href="classListBox.html#a452c0964666dc96b97c20475f258a54c">ListBox</a>, <a class="el" href="classButton.html#a3967f9ee39205cc575980e87fa6b8406">Button</a>, <a class="el" href="classTableHeaderComponent.html#aacaa015bac5a61a92136250a752c6cb7">TableHeaderComponent</a>, <a class="el" href="classComboBox.html#a2cb99db20f64898f597015fa3fe1011e">ComboBox</a>, <a class="el" href="classScrollBar.html#ab87813c334f9df71538212ba00e6eb55">ScrollBar</a>, <a class="el" href="classResizableWindow.html#a9fa6ed7d0c4ad350327816c559b3468b">ResizableWindow</a>, <a class="el" href="classCodeEditorComponent.html#aa9e63b9be7c5fdd5f2e90ed73740b8eb">CodeEditorComponent</a>, <a class="el" href="classLabel.html#a714eeb3f14b09c6b09ceb20c046a6e8f">Label</a>, <a class="el" href="classMidiKeyboardComponent.html#a1d96697550d0fdc899c0224b2402d158">MidiKeyboardComponent</a>, <a class="el" href="classResizableBorderComponent.html#a436bf6a9d3ffec969a550c9d9d80d33f">ResizableBorderComponent</a>, <a class="el" href="classResizableEdgeComponent.html#a68289d2190f909c884436cb663fae6e8">ResizableEdgeComponent</a>, <a class="el" href="classMenuBarComponent.html#a945b3ef7d65148defdb87a90fe0ebf11">MenuBarComponent</a>, and <a class="el" href="classResizableCornerComponent.html#a9917375d45f2c1947af0b2d7a620f749">ResizableCornerComponent</a>.</p>
<p>Referenced by <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, and <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="a90a5f41210643598f6fdd5013800e5d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90a5f41210643598f6fdd5013800e5d0">§ </a></span>mouseDoubleClick()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseDoubleClick </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when a mouse button has been double-clicked on a component. </p>
<p>The <a class="el" href="classMouseEvent.html" title="Contains position and status information about a mouse event. ">MouseEvent</a> object passed in contains lots of methods for finding out which button was pressed, as well as which modifier keys (e.g. shift, ctrl) were held down at the time.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the position and status of the mouse event, including the source component in which it occurred </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a8504490979c2b4a6fdf02471b03a78f6" title="Called when a mouse button is pressed. ">mouseDown</a>, <a class="el" href="classComponent.html#a9ef1d5efbd2b9c581c59ad75fb574fd4" title="Called when a mouse button is released. ">mouseUp</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classMouseListener.html#a7ef5d0993f3036233f458fc88f71462c">MouseListener</a>.</p>
<p>Reimplemented in <a class="el" href="classSlider.html#a51130e5125d8483fc45fe32c958bf0cc">Slider</a>, <a class="el" href="classTextEditor.html#a85bc41e6a8dcb730353ad1ac65c59e70">TextEditor</a>, <a class="el" href="classCodeEditorComponent.html#a883b27e657e54827bbf1abcf298ffd80">CodeEditorComponent</a>, and <a class="el" href="classLabel.html#ac8aa7b000471890ddfb5a9997b6ceb11">Label</a>.</p>
</div>
</div>
<a id="a1bb56b659ce36b629397da5837595ef8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bb56b659ce36b629397da5837595ef8">§ </a></span>mouseWheelMove()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseWheelMove </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="structMouseWheelDetails.html">MouseWheelDetails</a> & </td>
<td class="paramname"><em>wheel</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when the mouse-wheel is moved. </p>
<p>This callback is sent to the component that the mouse is over when the wheel is moved.</p>
<p>If not overridden, a component will forward this message to its parent, so that parent components can collect mouse-wheel messages that happen to child components which aren't interested in them. (Bear in mind that if you attach a component as a mouse-listener to other components, then those wheel moves will also end up calling this method and being passed up to the parents, which may not be what you intended to happen).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the mouse event </td></tr>
<tr><td class="paramname">wheel</td><td>details about the mouse wheel movement </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented from <a class="el" href="classMouseListener.html#afb5eae301f38f79acb6c13dcb8cb7532">MouseListener</a>.</p>
<p>Reimplemented in <a class="el" href="classSlider.html#a9b7ee511b24ee74065f92820423f0c46">Slider</a>, <a class="el" href="classTextEditor.html#ac5d9cb318b86e1661d39d65e4cc91aef">TextEditor</a>, <a class="el" href="classListBox.html#a2e80ef131eb8e538d1047c4545a63d52">ListBox</a>, <a class="el" href="classComboBox.html#a48d026065fbdd6822c1d2c07a72aa41b">ComboBox</a>, <a class="el" href="classScrollBar.html#a308b14576da7818ec9b1032745b33dc3">ScrollBar</a>, <a class="el" href="classCodeEditorComponent.html#a977b36773552d5304aa13cd3d77c1378">CodeEditorComponent</a>, <a class="el" href="classMidiKeyboardComponent.html#a270f042eb6b2eb022b97f8d0f926065d">MidiKeyboardComponent</a>, and <a class="el" href="classViewport.html#a80424caacc5b478b1904f3cfcda51cc9">Viewport</a>.</p>
<p>Referenced by <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, <a class="el" href="classViewport.html#a32ee4e893ff1d3b67ba91c5c275f2d21">Viewport::getHorizontalScrollBar()</a>, and <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="abde4246acd5f0289785daf92b8c87d81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abde4246acd5f0289785daf92b8c87d81">§ </a></span>mouseMagnify()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::mouseMagnify </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classMouseEvent.html">MouseEvent</a> & </td>
<td class="paramname"><em>event</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>scaleFactor</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when a pinch-to-zoom mouse-gesture is used. </p>
<p>If not overridden, a component will forward this message to its parent, so that parent components can collect gesture messages that are unused by child components.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>details about the mouse event </td></tr>
<tr><td class="paramname">scaleFactor</td><td>a multiplier to indicate by how much the size of the target should be changed. A value of 1.0 would indicate no change, values greater than 1.0 mean it should be enlarged. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a54a125231707956e740b295f2622787b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54a125231707956e740b295f2622787b">§ </a></span>beginDragAutoRepeat()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> Component::beginDragAutoRepeat </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>millisecondsBetweenCallbacks</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Ensures that a non-stop stream of mouse-drag events will be sent during the current mouse-drag operation. </p>
<p>This allows you to make sure that <a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag()</a> events are sent continuously, even when the mouse isn't moving. This can be useful for things like auto-scrolling components when the mouse is near an edge.</p>
<p>Call this method during a <a class="el" href="classComponent.html#a8504490979c2b4a6fdf02471b03a78f6" title="Called when a mouse button is pressed. ">mouseDown()</a> or <a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag()</a> callback, specifying the minimum interval between consecutive mouse drag callbacks. The callbacks will continue until the mouse is released, and then the interval will be reset, so you need to make sure it's called every time you begin a drag event. Passing an interval of 0 or less will cancel the auto-repeat.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag</a>, <a class="el" href="classDesktop.html#a484c8460c95255150aef4dbe1909ae9f" title="Ensures that a non-stop stream of mouse-drag events will be sent during the current mouse-drag operat...">Desktop::beginDragAutoRepeat</a> </dd></dl>
</div>
</div>
<a id="a7845e402a21d2b86d8c4ec48bc7c93b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7845e402a21d2b86d8c4ec48bc7c93b1">§ </a></span>setRepaintsOnMouseActivity()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Component::setRepaintsOnMouseActivity </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldRepaint</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Causes automatic repaints when the mouse enters or exits this component. </p>
<p>If turned on, then when the mouse enters/exits, or when the button is pressed/released on the component, it will trigger a repaint.</p>
<p>This is handy for things like buttons that need to draw themselves differently when the mouse moves over them, and it avoids having to override all the different mouse callbacks and call <a class="el" href="classComponent.html#af3ab3eabec93dd60faf983370f3a1206" title="Marks the whole component as needing to be redrawn. ">repaint()</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a525b16845ffacc71c7c37a72f68feccc" title="Called when the mouse first enters a component. ">mouseEnter</a>, <a class="el" href="classComponent.html#a16a0c88e82e5b71ed8cc7c7b3de37cb2" title="Called when the mouse moves out of a component. ">mouseExit</a>, <a class="el" href="classComponent.html#a8504490979c2b4a6fdf02471b03a78f6" title="Called when a mouse button is pressed. ">mouseDown</a>, <a class="el" href="classComponent.html#a9ef1d5efbd2b9c581c59ad75fb574fd4" title="Called when a mouse button is released. ">mouseUp</a> </dd></dl>
</div>
</div>
<a id="ae45db6bb7d7826eb7e936c21fec105ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae45db6bb7d7826eb7e936c21fec105ce">§ </a></span>addMouseListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::addMouseListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classMouseListener.html">MouseListener</a> * </td>
<td class="paramname"><em>newListener</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>wantsEventsForAllNestedChildComponents</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Registers a listener to be told when mouse events occur in this component. </p>
<p>If you need to get informed about mouse events in a component but can't or don't want to override its methods, you can attach any number of listeners to the component, and these will get told about the events in addition to the component's own callbacks being called.</p>
<p>Note that a <a class="el" href="classMouseListener.html" title="A MouseListener can be registered with a component to receive callbacks about mouse events that happe...">MouseListener</a> can also be attached to more than one component.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newListener</td><td>the listener to register </td></tr>
<tr><td class="paramname">wantsEventsForAllNestedChildComponents</td><td>if true, the listener will receive callbacks for events that happen to any child component within this component, including deeply-nested child components. If false, it will only be told about events that this component handles. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classMouseListener.html" title="A MouseListener can be registered with a component to receive callbacks about mouse events that happe...">MouseListener</a>, <a class="el" href="classComponent.html#a423c89ca5c8622712202c30cb7a5a69c" title="Deregisters a mouse listener. ">removeMouseListener</a> </dd></dl>
</div>
</div>
<a id="a423c89ca5c8622712202c30cb7a5a69c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a423c89ca5c8622712202c30cb7a5a69c">§ </a></span>removeMouseListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::removeMouseListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classMouseListener.html">MouseListener</a> * </td>
<td class="paramname"><em>listenerToRemove</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deregisters a mouse listener. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ae45db6bb7d7826eb7e936c21fec105ce" title="Registers a listener to be told when mouse events occur in this component. ">addMouseListener</a>, <a class="el" href="classMouseListener.html" title="A MouseListener can be registered with a component to receive callbacks about mouse events that happe...">MouseListener</a> </dd></dl>
</div>
</div>
<a id="a4ec1b609c39c54434f746cefffa6ce3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ec1b609c39c54434f746cefffa6ce3f">§ </a></span>addKeyListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::addKeyListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classKeyListener.html">KeyListener</a> * </td>
<td class="paramname"><em>newListener</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a listener that wants to hear about keypresses that this component receives. </p>
<p>The listeners that are registered with a component are called by its <a class="el" href="classComponent.html#ab063a5c631854864da09106abec78a86" title="Called when a key is pressed. ">keyPressed()</a> or <a class="el" href="classComponent.html#aeff4d2fdbae4d5974e43b62ab3c304f9" title="Called when a key is pressed or released. ">keyStateChanged()</a> methods (assuming these haven't been overridden to do something else).</p>
<p>If you add an object as a key listener, be careful to remove it when the object is deleted, or the component will be left with a dangling pointer.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ab063a5c631854864da09106abec78a86" title="Called when a key is pressed. ">keyPressed</a>, <a class="el" href="classComponent.html#aeff4d2fdbae4d5974e43b62ab3c304f9" title="Called when a key is pressed or released. ">keyStateChanged</a>, <a class="el" href="classComponent.html#a5287496e233768c197ad8d74484a85fc" title="Removes a previously-registered key listener. ">removeKeyListener</a> </dd></dl>
</div>
</div>
<a id="a5287496e233768c197ad8d74484a85fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5287496e233768c197ad8d74484a85fc">§ </a></span>removeKeyListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::removeKeyListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classKeyListener.html">KeyListener</a> * </td>
<td class="paramname"><em>listenerToRemove</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a previously-registered key listener. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a4ec1b609c39c54434f746cefffa6ce3f" title="Adds a listener that wants to hear about keypresses that this component receives. ...">addKeyListener</a> </dd></dl>
</div>
</div>
<a id="ab063a5c631854864da09106abec78a86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab063a5c631854864da09106abec78a86">§ </a></span>keyPressed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool Component::keyPressed </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classKeyPress.html">KeyPress</a> & </td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when a key is pressed. </p>
<p>When a key is pressed, the component that has the keyboard focus will have this method called. Remember that a component will only be given the focus if its <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus()</a> method has been used to enable this.</p>
<p>If your implementation returns true, the event will be consumed and not passed on to any other listeners. If it returns false, the key will be passed to any KeyListeners that have been registered with this component. As soon as one of these returns true, the process will stop, but if they all return false, the event will be passed upwards to this component's parent, and so on.</p>
<p>The default implementation of this method does nothing and returns false.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#aeff4d2fdbae4d5974e43b62ab3c304f9" title="Called when a key is pressed or released. ">keyStateChanged</a>, <a class="el" href="classComponent.html#a7030de7a58ec40e43ec902d6bb8aaf7a" title="Returns the component that currently has the keyboard focus. ">getCurrentlyFocusedComponent</a>, <a class="el" href="classComponent.html#a4ec1b609c39c54434f746cefffa6ce3f" title="Adds a listener that wants to hear about keypresses that this component receives. ...">addKeyListener</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classTreeView.html#a5906c1e51ba5de9e849c79015c48f3a0">TreeView</a>, <a class="el" href="classTextEditor.html#aeedd8eda4f9b64a9c1d71fe39890e1c7">TextEditor</a>, <a class="el" href="classListBox.html#a9e40ffc84bcf1fe7a036f7978b744c23">ListBox</a>, <a class="el" href="classAlertWindow.html#ac12c82883bc4d054f7eb5b793c6425e5">AlertWindow</a>, <a class="el" href="classButton.html#a2aa055e673435a6de2a2bf962bd28f03">Button</a>, <a class="el" href="classComboBox.html#a2f910fc3d45c137b18448bdb9d9b7ec5">ComboBox</a>, <a class="el" href="classScrollBar.html#aeb97c58ef66f2dd034f6b7bc9ecb7748">ScrollBar</a>, <a class="el" href="classCodeEditorComponent.html#a2bd64e5a434ab1eb2d66831843afb780">CodeEditorComponent</a>, <a class="el" href="classMidiKeyboardComponent.html#aff327756952b697c224fd3341ec7f376">MidiKeyboardComponent</a>, <a class="el" href="classViewport.html#ab7335754d3e520e1a128edc12447a8ee">Viewport</a>, <a class="el" href="classDialogWindow.html#aeb7649c419d4b031fd4967bfff3d09e0">DialogWindow</a>, <a class="el" href="classFileBrowserComponent.html#aa6335d52f0fb467156c3633026b7ee45">FileBrowserComponent</a>, <a class="el" href="classCallOutBox.html#a3e384979c98ee2be15c2e35db3e405bd">CallOutBox</a>, and <a class="el" href="classMenuBarComponent.html#aabe6d7c83703dc91c16970a3c6b43637">MenuBarComponent</a>.</p>
<p>Referenced by <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, <a class="el" href="classViewport.html#a32ee4e893ff1d3b67ba91c5c275f2d21">Viewport::getHorizontalScrollBar()</a>, and <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="aeff4d2fdbae4d5974e43b62ab3c304f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeff4d2fdbae4d5974e43b62ab3c304f9">§ </a></span>keyStateChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool Component::keyStateChanged </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>isKeyDown</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when a key is pressed or released. </p>
<p>Whenever a key on the keyboard is pressed or released (including modifier keys like shift and ctrl), this method will be called on the component that currently has the keyboard focus. Remember that a component will only be given the focus if its <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus()</a> method has been used to enable this.</p>
<p>If your implementation returns true, the event will be consumed and not passed on to any other listeners. If it returns false, then any KeyListeners that have been registered with this component will have their keyStateChanged methods called. As soon as one of these returns true, the process will stop, but if they all return false, the event will be passed upwards to this component's parent, and so on.</p>
<p>The default implementation of this method does nothing and returns false.</p>
<p>To find out which keys are up or down at any time, see the <a class="el" href="classKeyPress.html#a94c2aecc867e4dba1382c31c377523d2" title="Checks whether a particular key is held down, irrespective of modifiers. ">KeyPress::isKeyCurrentlyDown()</a> method.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">isKeyDown</td><td>true if a key has been pressed; false if it has been released</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ab063a5c631854864da09106abec78a86" title="Called when a key is pressed. ">keyPressed</a>, <a class="el" href="classKeyPress.html" title="Represents a key press, including any modifier keys that are needed. ">KeyPress</a>, <a class="el" href="classComponent.html#a7030de7a58ec40e43ec902d6bb8aaf7a" title="Returns the component that currently has the keyboard focus. ">getCurrentlyFocusedComponent</a>, <a class="el" href="classComponent.html#a4ec1b609c39c54434f746cefffa6ce3f" title="Adds a listener that wants to hear about keypresses that this component receives. ...">addKeyListener</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classTextEditor.html#a616706ad06c8a6a1c00f62a4c6e0d448">TextEditor</a>, <a class="el" href="classListBox.html#a84e49fbbf1ddf3af400f06e741ee0910">ListBox</a>, <a class="el" href="classComboBox.html#a35cf3423079da7b0605956fb9ec39174">ComboBox</a>, and <a class="el" href="classMidiKeyboardComponent.html#a6dd0d6d6b7a12124c1b9cd5d6b64c198">MidiKeyboardComponent</a>.</p>
<p>Referenced by <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>, and <a class="el" href="structButton_1_1LookAndFeelMethods.html#add9b7cc6398a726eaa4510ba8eb3742f">Button::LookAndFeelMethods::~LookAndFeelMethods()</a>.</p>
</div>
</div>
<a id="a4145c1c28dd2ae42b19c9c3e0a6aba7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4145c1c28dd2ae42b19c9c3e0a6aba7b">§ </a></span>modifierKeysChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::modifierKeysChanged </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classModifierKeys.html">ModifierKeys</a> & </td>
<td class="paramname"><em>modifiers</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when a modifier key is pressed or released. </p>
<p>Whenever the shift, control, alt or command keys are pressed or released, this method will be called on the component that currently has the keyboard focus. Remember that a component will only be given the focus if its <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus()</a> method has been used to enable this.</p>
<p>The default implementation of this method actually calls its parent's modifierKeysChanged method, so that focused components which aren't interested in this will give their parents a chance to act on the event instead.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#aeff4d2fdbae4d5974e43b62ab3c304f9" title="Called when a key is pressed or released. ">keyStateChanged</a>, <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classSlider.html#a50bfc1f4bc764cd7db7d25abed9e0198">Slider</a>.</p>
</div>
</div>
<a id="a408d41f1499a2ebdd4bbc8d4004c7727"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a408d41f1499a2ebdd4bbc8d4004c7727">§ </a></span>focusGained()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::focusGained </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">FocusChangeType</a> </td>
<td class="paramname"><em>cause</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called to indicate that this component has just acquired the keyboard focus. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a36456ea9d5a14172d6e96527ec1f59c8" title="Called to indicate that this component has just lost the keyboard focus. ">focusLost</a>, <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus</a>, <a class="el" href="classComponent.html#a7030de7a58ec40e43ec902d6bb8aaf7a" title="Returns the component that currently has the keyboard focus. ">getCurrentlyFocusedComponent</a>, <a class="el" href="classComponent.html#abf76cf5c3550c5c83bc585f86429b397" title="Returns true if this component currently has the keyboard focus. ">hasKeyboardFocus</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classTextEditor.html#a3243d2a2465fac6be33fdb9f9a38b9c0">TextEditor</a>, <a class="el" href="classButton.html#ad6fd650abdea0a360808786825172ecf">Button</a>, <a class="el" href="classComboBox.html#a919b2a14abca0da57d696b54b81d60f9">ComboBox</a>, <a class="el" href="classCodeEditorComponent.html#a33156862edc3b4fb2f02a396bdded184">CodeEditorComponent</a>, <a class="el" href="classLabel.html#a08684a511d241fd952e05dbc71ce06dc">Label</a>, and <a class="el" href="classWebBrowserComponent.html#af0353e28029daad4a95144e0a7706c84">WebBrowserComponent</a>.</p>
</div>
</div>
<a id="a36456ea9d5a14172d6e96527ec1f59c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36456ea9d5a14172d6e96527ec1f59c8">§ </a></span>focusLost()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::focusLost </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">FocusChangeType</a> </td>
<td class="paramname"><em>cause</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called to indicate that this component has just lost the keyboard focus. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a408d41f1499a2ebdd4bbc8d4004c7727" title="Called to indicate that this component has just acquired the keyboard focus. ">focusGained</a>, <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus</a>, <a class="el" href="classComponent.html#a7030de7a58ec40e43ec902d6bb8aaf7a" title="Returns the component that currently has the keyboard focus. ">getCurrentlyFocusedComponent</a>, <a class="el" href="classComponent.html#abf76cf5c3550c5c83bc585f86429b397" title="Returns true if this component currently has the keyboard focus. ">hasKeyboardFocus</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classTextEditor.html#a7272691f16e13dde9631397de63422db">TextEditor</a>, <a class="el" href="classButton.html#aa8b314d92085377b37dda3a3494afc9f">Button</a>, <a class="el" href="classComboBox.html#a254706d515cef8063b721522db8e41fc">ComboBox</a>, <a class="el" href="classCodeEditorComponent.html#a1035b8aae52d208e512bafd872bcd4ad">CodeEditorComponent</a>, and <a class="el" href="classMidiKeyboardComponent.html#a9c017397bbf82eebabc5985d5c2ac766">MidiKeyboardComponent</a>.</p>
<p>Referenced by <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>.</p>
</div>
</div>
<a id="a67ef76b8080b9abb7efa0df358598a01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67ef76b8080b9abb7efa0df358598a01">§ </a></span>focusOfChildComponentChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::focusOfChildComponentChanged </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html#a7fd775ea6b1190d5d694fdffa539dfac">FocusChangeType</a> </td>
<td class="paramname"><em>cause</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called to indicate a change in whether or not this component is the parent of the currently-focused component. </p>
<p>Essentially this is called when the return value of a call to hasKeyboardFocus (true) has changed. It happens when focus moves from one of this component's children (at any depth) to a component that isn't contained in this one, (or vice-versa). Note that this method does NOT get called to when focus simply moves from one of its child components to another.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a408d41f1499a2ebdd4bbc8d4004c7727" title="Called to indicate that this component has just acquired the keyboard focus. ">focusGained</a>, <a class="el" href="classComponent.html#a6a1f21a76b971d54870cb5c32c041055" title="Sets a flag to indicate whether this component needs keyboard focus or not. ">setWantsKeyboardFocus</a>, <a class="el" href="classComponent.html#a7030de7a58ec40e43ec902d6bb8aaf7a" title="Returns the component that currently has the keyboard focus. ">getCurrentlyFocusedComponent</a>, <a class="el" href="classComponent.html#abf76cf5c3550c5c83bc585f86429b397" title="Returns true if this component currently has the keyboard focus. ">hasKeyboardFocus</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classSlider.html#a23002c35f14b921ec01069536c0aaef3">Slider</a>, and <a class="el" href="classTopLevelWindow.html#a98d203f03113f827d4f711e6c0a00a73">TopLevelWindow</a>.</p>
<p>Referenced by <a class="el" href="classTopLevelWindow.html#a910577a0e16f9e80cca0ac41f61e6299">TopLevelWindow::isDropShadowEnabled()</a>.</p>
</div>
</div>
<a id="adf24c1e586677b3b2acddb71b4ca1ed9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf24c1e586677b3b2acddb71b4ca1ed9">§ </a></span>isMouseOver()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::isMouseOver </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>includeChildren</em> = <code>false</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the mouse is currently over this component. </p>
<p>If the mouse isn't over the component, this will return false, even if the mouse is currently being dragged - so you can use this in your mouseDrag method to find out whether it's really over the component or not.</p>
<p>Note that when the mouse button is being held down, then the only component for which this method will return true is the one that was originally clicked on.</p>
<p>If includeChildren is true, then this will also return true if the mouse is over any of the component's children (recursively) as well as the component itself.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a0ad6b60ebd6e2c5bdd20efbb3c2133a7" title="Returns true if the mouse button is currently held down in this component. ">isMouseButtonDown</a>. <a class="el" href="classComponent.html#a67566f891a0b688bfb6ee7b9cdc0b1c9" title="True if the mouse is over this component, or if it's being dragged in this component. ">isMouseOverOrDragging</a>, <a class="el" href="classComponent.html#a32ebd26be9c9bc56dd942071227d799d" title="Called when the mouse is moved while a button is held down. ">mouseDrag</a> </dd></dl>
</div>
</div>
<a id="a0ad6b60ebd6e2c5bdd20efbb3c2133a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ad6b60ebd6e2c5bdd20efbb3c2133a7">§ </a></span>isMouseButtonDown()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::isMouseButtonDown </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the mouse button is currently held down in this component. </p>
<p>Note that this is a test to see whether the mouse is being pressed in this component, so it'll return false if called on component A when the mouse is actually being dragged in component B.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ac3184a52027ad9106185d594c522d9d0" title="Returns true if a mouse button is currently down. ">isMouseButtonDownAnywhere</a>, <a class="el" href="classComponent.html#adf24c1e586677b3b2acddb71b4ca1ed9" title="Returns true if the mouse is currently over this component. ">isMouseOver</a>, <a class="el" href="classComponent.html#a67566f891a0b688bfb6ee7b9cdc0b1c9" title="True if the mouse is over this component, or if it's being dragged in this component. ">isMouseOverOrDragging</a> </dd></dl>
</div>
</div>
<a id="a67566f891a0b688bfb6ee7b9cdc0b1c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67566f891a0b688bfb6ee7b9cdc0b1c9">§ </a></span>isMouseOverOrDragging()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::isMouseOverOrDragging </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>includeChildren</em> = <code>false</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>True if the mouse is over this component, or if it's being dragged in this component. </p>
<p>This is a handy equivalent to (<a class="el" href="classComponent.html#adf24c1e586677b3b2acddb71b4ca1ed9" title="Returns true if the mouse is currently over this component. ">isMouseOver()</a> || <a class="el" href="classComponent.html#a0ad6b60ebd6e2c5bdd20efbb3c2133a7" title="Returns true if the mouse button is currently held down in this component. ">isMouseButtonDown()</a>). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#adf24c1e586677b3b2acddb71b4ca1ed9" title="Returns true if the mouse is currently over this component. ">isMouseOver</a>, <a class="el" href="classComponent.html#a0ad6b60ebd6e2c5bdd20efbb3c2133a7" title="Returns true if the mouse button is currently held down in this component. ">isMouseButtonDown</a>, <a class="el" href="classComponent.html#ac3184a52027ad9106185d594c522d9d0" title="Returns true if a mouse button is currently down. ">isMouseButtonDownAnywhere</a> </dd></dl>
</div>
</div>
<a id="ac3184a52027ad9106185d594c522d9d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3184a52027ad9106185d594c522d9d0">§ </a></span>isMouseButtonDownAnywhere()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> Component::isMouseButtonDownAnywhere </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if a mouse button is currently down. </p>
<p>Unlike isMouseButtonDown, this will test the current state of the buttons without regard to which component (if any) it has been pressed in.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a0ad6b60ebd6e2c5bdd20efbb3c2133a7" title="Returns true if the mouse button is currently held down in this component. ">isMouseButtonDown</a>, <a class="el" href="classModifierKeys.html" title="Represents the state of the mouse buttons and modifier keys. ">ModifierKeys</a> </dd></dl>
</div>
</div>
<a id="af8799a5d3868c0405829114874e9947a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8799a5d3868c0405829114874e9947a">§ </a></span>getMouseXYRelative()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><int> Component::getMouseXYRelative </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the mouse's current position, relative to this component. </p>
<p>The return value is relative to the component's top-left corner. </p>
</div>
</div>
<a id="ad896183a68d71daf5816982d1fefd960"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad896183a68d71daf5816982d1fefd960">§ </a></span>resized()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::resized </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when this component's size has been changed. </p>
<p>A component can implement this method to do things such as laying out its child components when its width or height changes.</p>
<p>The method is called synchronously as a result of the setBounds or setSize methods, so repeatedly changing a components size will repeatedly call its resized method (unlike things like repainting, where multiple calls to repaint are coalesced together).</p>
<p>If the component is a top-level window on the desktop, its size could also be changed by operating-system factors beyond the application's control.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246" title="Called when this component's position has been changed. ">moved</a>, <a class="el" href="classComponent.html#af7e0443344448fcbbefc2b3dd985e43f" title="Changes the size of the component. ">setSize</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classSlider.html#a1aaa7af33f6f90a40fbf70a2bbdebc6d">Slider</a>, <a class="el" href="classTreeView.html#a6653345fa423e3969cfecb804f8b1886">TreeView</a>, <a class="el" href="classTextEditor.html#abe670d0ecdbbf419f76631565bc2600b">TextEditor</a>, <a class="el" href="classListBox.html#aa74082b69e31dfea83fa83e65b7ccf52">ListBox</a>, <a class="el" href="classStandaloneFilterWindow.html#a029336e5ea7014d9a92d4cb712c50c38">StandaloneFilterWindow</a>, <a class="el" href="classComboBox.html#aaac698ef603e25f7e61ab510c74808eb">ComboBox</a>, <a class="el" href="classTableHeaderComponent.html#a2a203db8edd85f6b279ad206421d3389">TableHeaderComponent</a>, <a class="el" href="classScrollBar.html#a18ed7a67fa5a0641939c03a1186655d7">ScrollBar</a>, <a class="el" href="classResizableWindow.html#ae42aa18209b1d14e8441dce5b991cb07">ResizableWindow</a>, <a class="el" href="classCodeEditorComponent.html#a7fa2c81e022e85eb9400196a3c081c13">CodeEditorComponent</a>, <a class="el" href="classTableListBox.html#a55f8af174554cc757a6b8e8ad10260ad">TableListBox</a>, <a class="el" href="classTabbedButtonBar.html#ac5be05b934d9ceaef93729e8e8ac8597">TabbedButtonBar</a>, <a class="el" href="classLabel.html#a440739a97aa7875bb5311f96379c81ff">Label</a>, <a class="el" href="classToolbar.html#aab983263c74d1c1fe48d558a855c1f51">Toolbar</a>, <a class="el" href="classMultiDocumentPanel.html#aecbba36fe92fb871b3582d12cce807b7">MultiDocumentPanel</a>, <a class="el" href="classMidiKeyboardComponent.html#a4c7191a8e9e7b9f691ae660cb0f05ae2">MidiKeyboardComponent</a>, <a class="el" href="classViewport.html#ab9427d36852b58100df1160944195743">Viewport</a>, <a class="el" href="classDialogWindow.html#a495890fb9139e539f86190c7319da3ea">DialogWindow</a>, <a class="el" href="classFileBrowserComponent.html#a2be160fd2d593e77edd60b056160ca76">FileBrowserComponent</a>, <a class="el" href="classFilenameComponent.html#ab37d289009be54a5fd8fe34c0e30df0c">FilenameComponent</a>, <a class="el" href="classTabbedComponent.html#ae539255dc001ce506e0a9f1493be1a35">TabbedComponent</a>, <a class="el" href="classToolbarItemComponent.html#afc8e41938abc9d59ac9f471a9fe51209">ToolbarItemComponent</a>, <a class="el" href="classDrawableButton.html#a86aa54141e8e1117f979d87cc72cd2f2">DrawableButton</a>, <a class="el" href="classPropertyPanel.html#a18b47c93593de5405c8fe5e4c6445644">PropertyPanel</a>, <a class="el" href="classCallOutBox.html#af20578de71eec8f927c9386c0ae198c5">CallOutBox</a>, <a class="el" href="classPreferencesPanel.html#aa72d4e3b3798e6c966062de385a9b6d0">PreferencesPanel</a>, <a class="el" href="classTabBarButton.html#a4a2dcf3b22c2e54dc182cd67f616fa4a">TabBarButton</a>, <a class="el" href="classKeyMappingEditorComponent.html#a5a53bfe81621c258183660f6e748619d">KeyMappingEditorComponent</a>, <a class="el" href="classWebBrowserComponent.html#a5cb3ce4059be47375aa3e25836277ccc">WebBrowserComponent</a>, <a class="el" href="classPropertyComponent.html#a96ec6d515107ae96b8e7b8c154fbda67">PropertyComponent</a>, <a class="el" href="classAudioDeviceSelectorComponent.html#a4decb02c8e9f4815fcaf2b008048be98">AudioDeviceSelectorComponent</a>, <a class="el" href="classFileSearchPathListComponent.html#af317f2a16e3490434e882e25edf3fecd">FileSearchPathListComponent</a>, <a class="el" href="classToolbarButton.html#a62f9ef54d3dd2a234309250a2f75734d">ToolbarButton</a>, <a class="el" href="classMenuBarComponent.html#ade96b3d946c7edba58b71c58b5e03043">MenuBarComponent</a>, <a class="el" href="classOnlineUnlockForm.html#a9493276aee2d9b7c6efc5326e472f219">OnlineUnlockForm</a>, <a class="el" href="classToolbarItemPalette.html#aee1fa3f12b376dbb6ea451edff357477">ToolbarItemPalette</a>, and <a class="el" href="classGenericAudioProcessorEditor.html#a74a6e5cca9abdcdb34058de23e2b91d6">GenericAudioProcessorEditor</a>.</p>
<p>Referenced by <a class="el" href="classMultiDocumentPanel.html#ac86ed410df52f651903bf2641862bbe2">MultiDocumentPanel::getCurrentTabbedComponent()</a>, <a class="el" href="classToolbarItemComponent.html#a5fba464ee5eda6ba214de497cecbeb86">ToolbarItemComponent::getEditingMode()</a>, <a class="el" href="classTabBarButton.html#af889e5e2548f8da167c6b2dd751a4867">TabBarButton::getExtraComponentPlacement()</a>, <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, <a class="el" href="classViewport.html#a32ee4e893ff1d3b67ba91c5c275f2d21">Viewport::getHorizontalScrollBar()</a>, <a class="el" href="classAudioDeviceSelectorComponent.html#a37ab45ee4651bb9f12750a043b1659a8">AudioDeviceSelectorComponent::getItemHeight()</a>, <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>, <a class="el" href="classPropertyPanel.html#a21146431d1ef08fd5bc73a47eae9ecbb">PropertyPanel::getViewport()</a>, and <a class="el" href="classPropertyComponent.html#a7a1419d38e6281bc7fef79c89656024a">PropertyComponent::setPreferredHeight()</a>.</p>
</div>
</div>
<a id="a1b94f2816dc8bc20473620e0db0e8246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b94f2816dc8bc20473620e0db0e8246">§ </a></span>moved()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::moved </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when this component's position has been changed. </p>
<p>This is called when the position relative to its parent changes, not when its absolute position on the screen changes (so it won't be called for all child components when a parent component is moved).</p>
<p>The method is called synchronously as a result of the setBounds, setTopLeftPosition or any of the other repositioning methods, and like <a class="el" href="classComponent.html#ad896183a68d71daf5816982d1fefd960" title="Called when this component's size has been changed. ">resized()</a>, it will be called each time those methods are called.</p>
<p>If the component is a top-level window on the desktop, its position could also be changed by operating-system factors beyond the application's control.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ad896183a68d71daf5816982d1fefd960" title="Called when this component's size has been changed. ">resized</a>, <a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">setBounds</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classResizableWindow.html#acfb2ced15e476e78f9a71b0214414798">ResizableWindow</a>, and <a class="el" href="classCallOutBox.html#adbe7b39dc2d141143b8168aae6559bfe">CallOutBox</a>.</p>
</div>
</div>
<a id="a081b2618e5169d656167614bee91defe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a081b2618e5169d656167614bee91defe">§ </a></span>childBoundsChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::childBoundsChanged </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>child</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when one of this component's children is moved or resized. </p>
<p>If the parent wants to know about changes to its immediate children (not to children of its children), this is the method to override.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246" title="Called when this component's position has been changed. ">moved</a>, <a class="el" href="classComponent.html#ad896183a68d71daf5816982d1fefd960" title="Called when this component's size has been changed. ">resized</a>, <a class="el" href="classComponent.html#aefdce73a764c48363e82b22c32b0812e" title="Called when this component's immediate parent has been resized. ">parentSizeChanged</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classResizableWindow.html#acdb8203a8fa46c5e4cb5c2e57dcd00c0">ResizableWindow</a>, <a class="el" href="classCallOutBox.html#a54971e2cc9e7e0289b7ac2078ab34867">CallOutBox</a>, <a class="el" href="classTabBarButton.html#aaf1da44da33b47018a9693f6faa35764">TabBarButton</a>, and <a class="el" href="classDrawableComposite.html#a291bed1a9aef208e90ff3f8b6e726be8">DrawableComposite</a>.</p>
<p>Referenced by <a class="el" href="classTabBarButton.html#af889e5e2548f8da167c6b2dd751a4867">TabBarButton::getExtraComponentPlacement()</a>.</p>
</div>
</div>
<a id="aefdce73a764c48363e82b22c32b0812e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefdce73a764c48363e82b22c32b0812e">§ </a></span>parentSizeChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::parentSizeChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when this component's immediate parent has been resized. </p>
<p>If the component is a top-level window, this indicates that the screen size has changed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a081b2618e5169d656167614bee91defe" title="Called when one of this component's children is moved or resized. ">childBoundsChanged</a>, <a class="el" href="classComponent.html#a1b94f2816dc8bc20473620e0db0e8246" title="Called when this component's position has been changed. ">moved</a>, <a class="el" href="classComponent.html#ad896183a68d71daf5816982d1fefd960" title="Called when this component's size has been changed. ">resized</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classResizableWindow.html#a912b4576f868723bfe87bf7dbd68ed5d">ResizableWindow</a>.</p>
</div>
</div>
<a id="a4bf084bcf5b0e4398ee3a0007f803865"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bf084bcf5b0e4398ee3a0007f803865">§ </a></span>broughtToFront()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::broughtToFront </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when this component has been moved to the front of its siblings. </p>
<p>The component may have been brought to the front by the <a class="el" href="classComponent.html#ace6d99879585ba31a4212431d01d00f5" title="Brings the component to the front of its siblings. ">toFront()</a> method, or by the operating system if it's a top-level window.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ace6d99879585ba31a4212431d01d00f5" title="Brings the component to the front of its siblings. ">toFront</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classMultiDocumentPanelWindow.html#a20c72163daf02f9f777f1272f82c6d67">MultiDocumentPanelWindow</a>.</p>
</div>
</div>
<a id="a51cb09159299964cef7b975185cf400d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51cb09159299964cef7b975185cf400d">§ </a></span>addComponentListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::addComponentListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponentListener.html">ComponentListener</a> * </td>
<td class="paramname"><em>newListener</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a listener to be told about changes to the component hierarchy or position. </p>
<p><a class="el" href="classComponent.html" title="The base class for all JUCE user-interface objects. ">Component</a> listeners get called when this component's size, position or children change - see the <a class="el" href="classComponentListener.html" title="Gets informed about changes to a component's hierarchy or position. ">ComponentListener</a> class for more details.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newListener</td><td>the listener to register - if this is already registered, it will be ignored. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponentListener.html" title="Gets informed about changes to a component's hierarchy or position. ">ComponentListener</a>, <a class="el" href="classComponent.html#a7a74ad0359e05321223f1d09bcfddddd" title="Removes a component listener. ">removeComponentListener</a> </dd></dl>
</div>
</div>
<a id="a7a74ad0359e05321223f1d09bcfddddd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a74ad0359e05321223f1d09bcfddddd">§ </a></span>removeComponentListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::removeComponentListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponentListener.html">ComponentListener</a> * </td>
<td class="paramname"><em>listenerToRemove</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a component listener. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a51cb09159299964cef7b975185cf400d" title="Adds a listener to be told about changes to the component hierarchy or position. ">addComponentListener</a> </dd></dl>
</div>
</div>
<a id="a005628ba100dc23d179bff98bd419eb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a005628ba100dc23d179bff98bd419eb5">§ </a></span>postCommandMessage()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::postCommandMessage </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>commandId</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Dispatches a numbered message to this component. </p>
<p>This is a quick and cheap way of allowing simple asynchronous messages to be sent to components. It's also safe, because if the component that you send the message to is a null or dangling pointer, this won't cause an error.</p>
<p>The command ID is later delivered to the component's <a class="el" href="classComponent.html#a9ba6fa31d1397c7e90050b2cd4f2089b" title="Called to handle a command that was sent by postCommandMessage(). ">handleCommandMessage()</a> method by the application's message queue.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9ba6fa31d1397c7e90050b2cd4f2089b" title="Called to handle a command that was sent by postCommandMessage(). ">handleCommandMessage</a> </dd></dl>
</div>
</div>
<a id="a9ba6fa31d1397c7e90050b2cd4f2089b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ba6fa31d1397c7e90050b2cd4f2089b">§ </a></span>handleCommandMessage()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::handleCommandMessage </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>commandId</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called to handle a command that was sent by <a class="el" href="classComponent.html#a005628ba100dc23d179bff98bd419eb5" title="Dispatches a numbered message to this component. ">postCommandMessage()</a>. </p>
<p>This is called by the message thread when a command message arrives, and the component can override this method to process it in any way it needs to.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a005628ba100dc23d179bff98bd419eb5" title="Dispatches a numbered message to this component. ">postCommandMessage</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classButton.html#a1d4d66619c1d44412892ab73ce806c8f">Button</a>, <a class="el" href="classCallOutBox.html#a14c430dd12c4a9dcd5549a37a70bd6c7">CallOutBox</a>, and <a class="el" href="classMenuBarComponent.html#ae5c5569ad0b47c72e234328f08326dff">MenuBarComponent</a>.</p>
</div>
</div>
<a id="a363364f6ae4f1a20abd60493c6854829"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a363364f6ae4f1a20abd60493c6854829">§ </a></span>runModalLoop()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Component::runModalLoop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Runs a component modally, waiting until the loop terminates. </p>
<p>This method first makes the component visible, brings it to the front and gives it the keyboard focus.</p>
<p>It then runs a loop, dispatching messages from the system message queue, but blocking all mouse or keyboard messages from reaching any components other than this one and its children.</p>
<p>This loop continues until the component's <a class="el" href="classComponent.html#a686e2440370ff4a97c7a7851907be650" title="Ends a component's modal state. ">exitModalState()</a> method is called (or the component is deleted), and then this method returns, returning the value passed into <a class="el" href="classComponent.html#a686e2440370ff4a97c7a7851907be650" title="Ends a component's modal state. ">exitModalState()</a>.</p>
<p>Note that you SHOULD NEVER USE THIS METHOD! Modal loops are a dangerous construct because things that happen during the events that they dispatch could affect the state of objects which are currently in use somewhere on the stack, so when the loop finishes and the stack unwinds, horrible problems can occur. This is especially bad in plugins, where the host may choose to delete the plugin during <a class="el" href="classComponent.html#a363364f6ae4f1a20abd60493c6854829" title="Runs a component modally, waiting until the loop terminates. ">runModalLoop()</a>, so that when it returns, the entire DLL could have been unloaded from memory! Also, some OSes deliberately make it impossible to run modal loops (e.g. Android), so this method won't even exist on some platforms.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a0e7be8c456a663615eb389ecd10b2c04" title="Puts the component into a modal state. ">enterModalState</a>, <a class="el" href="classComponent.html#a686e2440370ff4a97c7a7851907be650" title="Ends a component's modal state. ">exitModalState</a>, <a class="el" href="classComponent.html#a489ebde1970d6a2571bae5152b396267" title="Returns true if this component is the modal one. ">isCurrentlyModal</a>, <a class="el" href="classComponent.html#af281d9bc711b70c43ae5891a35165cb3" title="Returns one of the components that are currently modal. ">getCurrentlyModalComponent</a>, <a class="el" href="classComponent.html#a70fc33489ec892d615452dfdbd4687db" title="Checks whether there's a modal component somewhere that's stopping this one from receiving messages...">isCurrentlyBlockedByAnotherModalComponent</a>, <a class="el" href="classModalComponentManager.html" title="Manages the system's stack of modal components. ">ModalComponentManager</a> </dd></dl>
</div>
</div>
<a id="a0e7be8c456a663615eb389ecd10b2c04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e7be8c456a663615eb389ecd10b2c04">§ </a></span>enterModalState()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::enterModalState </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>takeKeyboardFocus</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classModalComponentManager_1_1Callback.html">ModalComponentManager::Callback</a> * </td>
<td class="paramname"><em>callback</em> = <code>nullptr</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>deleteWhenDismissed</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Puts the component into a modal state. </p>
<p>This makes the component modal, so that messages are blocked from reaching any components other than this one and its children, but unlike <a class="el" href="classComponent.html#a363364f6ae4f1a20abd60493c6854829" title="Runs a component modally, waiting until the loop terminates. ">runModalLoop()</a>, this method returns immediately.</p>
<p>If takeKeyboardFocus is true, the component will use <a class="el" href="classComponent.html#a91886a0e276d27719fa8866a95306571" title="Tries to give keyboard focus to this component. ">grabKeyboardFocus()</a> to get the focus, which is usually what you'll want it to do. If not, it will leave the focus unchanged.</p>
<p>The callback is an optional object which will receive a callback when the modal component loses its modal status, either by being hidden or when <a class="el" href="classComponent.html#a686e2440370ff4a97c7a7851907be650" title="Ends a component's modal state. ">exitModalState()</a> is called. If you pass an object in here, the system will take care of deleting it later, after making the callback</p>
<p>If deleteWhenDismissed is true, then when it is dismissed, the component will be deleted and then the callback will be called. (This will safely handle the situation where the component is deleted before its <a class="el" href="classComponent.html#a686e2440370ff4a97c7a7851907be650" title="Ends a component's modal state. ">exitModalState()</a> method is called).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a686e2440370ff4a97c7a7851907be650" title="Ends a component's modal state. ">exitModalState</a>, <a class="el" href="classComponent.html#a363364f6ae4f1a20abd60493c6854829" title="Runs a component modally, waiting until the loop terminates. ">runModalLoop</a>, <a class="el" href="classModalComponentManager.html#a2ce962253cf2c8e42d5575ad2a41d888" title="Adds a new callback that will be called when the specified modal component is dismissed. ">ModalComponentManager::attachCallback</a> </dd></dl>
</div>
</div>
<a id="a686e2440370ff4a97c7a7851907be650"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a686e2440370ff4a97c7a7851907be650">§ </a></span>exitModalState()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::exitModalState </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>returnValue</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Ends a component's modal state. </p>
<p>If this component is currently modal, this will turn off its modalness, and return a value to the <a class="el" href="classComponent.html#a363364f6ae4f1a20abd60493c6854829" title="Runs a component modally, waiting until the loop terminates. ">runModalLoop()</a> method that might have be running its modal loop.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a363364f6ae4f1a20abd60493c6854829" title="Runs a component modally, waiting until the loop terminates. ">runModalLoop</a>, <a class="el" href="classComponent.html#a0e7be8c456a663615eb389ecd10b2c04" title="Puts the component into a modal state. ">enterModalState</a>, <a class="el" href="classComponent.html#a489ebde1970d6a2571bae5152b396267" title="Returns true if this component is the modal one. ">isCurrentlyModal</a> </dd></dl>
</div>
</div>
<a id="a489ebde1970d6a2571bae5152b396267"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a489ebde1970d6a2571bae5152b396267">§ </a></span>isCurrentlyModal()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Component::isCurrentlyModal </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlyConsiderForemostModalComponent</em> = <code>true</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this component is the modal one. </p>
<p>It's possible to have nested modal components, e.g. a pop-up dialog box that launches another pop-up. If onlyConsiderForemostModalComponent is true then isCurrentlyModal will only return true for the one at the top of the stack. If onlyConsiderForemostModalComponent is false then isCurrentlyModal will return true for any modal component in the stack.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#af281d9bc711b70c43ae5891a35165cb3" title="Returns one of the components that are currently modal. ">getCurrentlyModalComponent</a> </dd></dl>
</div>
</div>
<a id="ae58129a62eda13ca8987072cd9c62359"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae58129a62eda13ca8987072cd9c62359">§ </a></span>getNumCurrentlyModalComponents()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> Component::getNumCurrentlyModalComponents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of components that are currently in a modal state. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#af281d9bc711b70c43ae5891a35165cb3" title="Returns one of the components that are currently modal. ">getCurrentlyModalComponent</a> </dd></dl>
</div>
</div>
<a id="af281d9bc711b70c43ae5891a35165cb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af281d9bc711b70c43ae5891a35165cb3">§ </a></span>getCurrentlyModalComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classComponent.html">Component</a>* <a class="el" href="juce__PlatformDefs_8h.html#af0b3f78ca801d88a7912f4c6bbf50e58">JUCE_CALLTYPE</a> Component::getCurrentlyModalComponent </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em> = <code>0</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns one of the components that are currently modal. </p>
<p>The index specifies which of the possible modal components to return. The order of the components in this list is the reverse of the order in which they became modal - so the component at index 0 is always the active component, and the others are progressively earlier ones that are themselves now blocked by later ones.</p>
<dl class="section return"><dt>Returns</dt><dd>the modal component, or null if no components are modal (or if the index is out of range) </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#ae58129a62eda13ca8987072cd9c62359" title="Returns the number of components that are currently in a modal state. ">getNumCurrentlyModalComponents</a>, <a class="el" href="classComponent.html#a363364f6ae4f1a20abd60493c6854829" title="Runs a component modally, waiting until the loop terminates. ">runModalLoop</a>, <a class="el" href="classComponent.html#a489ebde1970d6a2571bae5152b396267" title="Returns true if this component is the modal one. ">isCurrentlyModal</a> </dd></dl>
</div>
</div>
<a id="a70fc33489ec892d615452dfdbd4687db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70fc33489ec892d615452dfdbd4687db">§ </a></span>isCurrentlyBlockedByAnotherModalComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::isCurrentlyBlockedByAnotherModalComponent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks whether there's a modal component somewhere that's stopping this one from receiving messages. </p>
<p>If there is a modal component, its <a class="el" href="classComponent.html#abec1d60cfacf16eab602dff06932fbca" title="When a component is modal, this callback allows it to choose which other components can still receive...">canModalEventBeSentToComponent()</a> method will be called to see if it will still allow this component to receive events.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a363364f6ae4f1a20abd60493c6854829" title="Runs a component modally, waiting until the loop terminates. ">runModalLoop</a>, <a class="el" href="classComponent.html#af281d9bc711b70c43ae5891a35165cb3" title="Returns one of the components that are currently modal. ">getCurrentlyModalComponent</a> </dd></dl>
</div>
</div>
<a id="abec1d60cfacf16eab602dff06932fbca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abec1d60cfacf16eab602dff06932fbca">§ </a></span>canModalEventBeSentToComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool Component::canModalEventBeSentToComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classComponent.html">Component</a> * </td>
<td class="paramname"><em>targetComponent</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>When a component is modal, this callback allows it to choose which other components can still receive events. </p>
<p>When a modal component is active and the user clicks on a non-modal component, this method is called on the modal component, and if it returns true, the event is allowed to reach its target. If it returns false, the event is blocked and the <a class="el" href="classComponent.html#a260e46fb72d4b3210bc46a658a21fbb5" title="Called when the user tries to click on a component that is blocked by another modal component...">inputAttemptWhenModal()</a> callback is made.</p>
<p>It called by the <a class="el" href="classComponent.html#a70fc33489ec892d615452dfdbd4687db" title="Checks whether there's a modal component somewhere that's stopping this one from receiving messages...">isCurrentlyBlockedByAnotherModalComponent()</a> method. The default implementation just returns false in all cases. </p>
</div>
</div>
<a id="a260e46fb72d4b3210bc46a658a21fbb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a260e46fb72d4b3210bc46a658a21fbb5">§ </a></span>inputAttemptWhenModal()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::inputAttemptWhenModal </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when the user tries to click on a component that is blocked by another modal component. </p>
<p>When a component is modal and the user clicks on one of the other components, the modal component will receive this callback.</p>
<p>The default implementation of this method will play a beep, and bring the currently modal component to the front, but it can be overridden to do other tasks.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a70fc33489ec892d615452dfdbd4687db" title="Checks whether there's a modal component somewhere that's stopping this one from receiving messages...">isCurrentlyBlockedByAnotherModalComponent</a>, <a class="el" href="classComponent.html#abec1d60cfacf16eab602dff06932fbca" title="When a component is modal, this callback allows it to choose which other components can still receive...">canModalEventBeSentToComponent</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classLabel.html#a4e7ed73ce2c147cf045731dc301d670d">Label</a>, and <a class="el" href="classCallOutBox.html#aca7bdf771e02f60f10f11671da033ffc">CallOutBox</a>.</p>
</div>
</div>
<a id="a23985453622396b6037eb5ec38dbd398"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23985453622396b6037eb5ec38dbd398">§ </a></span>getProperties() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classNamedValueSet.html">NamedValueSet</a>& Component::getProperties </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the set of properties that belong to this component. </p>
<p>Each component has a <a class="el" href="classNamedValueSet.html" title="Holds a set of named var objects. ">NamedValueSet</a> object which you can use to attach arbitrary items of data to it. </p>
</div>
</div>
<a id="adf32701df78ef2dd10793b11a979a696"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf32701df78ef2dd10793b11a979a696">§ </a></span>getProperties() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classNamedValueSet.html">NamedValueSet</a>& Component::getProperties </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the set of properties that belong to this component. </p>
<p>Each component has a <a class="el" href="classNamedValueSet.html" title="Holds a set of named var objects. ">NamedValueSet</a> object which you can use to attach arbitrary items of data to it. </p>
</div>
</div>
<a id="a202390cda00048f08ee80add476a0f3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a202390cda00048f08ee80add476a0f3c">§ </a></span>findColour()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classColour.html">Colour</a> Component::findColour </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>colourId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>inheritFromParent</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Looks for a colour that has been registered with the given colour ID number. </p>
<p>If a colour has been set for this ID number using <a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour()</a>, then it is returned. If none has been set, the method will try calling the component's <a class="el" href="classLookAndFeel.html" title="LookAndFeel objects define the appearance of all the JUCE widgets, and subclasses can be used to appl...">LookAndFeel</a> class's <a class="el" href="classComponent.html#a202390cda00048f08ee80add476a0f3c" title="Looks for a colour that has been registered with the given colour ID number. ">findColour()</a> method. If none has been registered with the look-and-feel either, it will just return black.</p>
<p>The colour IDs for various purposes are stored as enums in the components that they are relevant to - for an example, see <a class="el" href="classSlider.html#a1012002c53381ccc7c1fe7e604a75f44" title="A set of colour IDs to use to change the colour of various aspects of the slider. ...">Slider::ColourIds</a>, <a class="el" href="classLabel.html#a41756012394513222e1323bb432fa701" title="A set of colour IDs to use to change the colour of various aspects of the label. ">Label::ColourIds</a>, <a class="el" href="classTextEditor.html#aa805220923c93cd808a92fff0e3fb71d" title="A set of colour IDs to use to change the colour of various aspects of the editor. ...">TextEditor::ColourIds</a>, <a class="el" href="classTreeView.html#abeebe6dbdc6ae466495aabc64eb51d6a" title="A set of colour IDs to use to change the colour of various aspects of the treeview. ">TreeView::ColourIds</a>, etc.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour</a>, <a class="el" href="classComponent.html#a8040eedee0207c9352880e86e603a4d3" title="Returns true if the specified colour ID has been explicitly set for this component using the setColou...">isColourSpecified</a>, <a class="el" href="classComponent.html#adfab11b32c622b327a823c6565f637f4" title="This method is called when a colour is changed by the setColour() method. ">colourChanged</a>, <a class="el" href="classLookAndFeel.html#aa7f9faa480c9ec9d61b66672425f380b" title="Looks for a colour that has been registered with the given colour ID number. ">LookAndFeel::findColour</a>, <a class="el" href="classLookAndFeel.html#a167a1e914771f32e433a0d45aaba45e3" title="Registers a colour to be used for a particular purpose. ">LookAndFeel::setColour</a> </dd></dl>
</div>
</div>
<a id="a875e6cc05407cea2d6a04dced62e13cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a875e6cc05407cea2d6a04dced62e13cd">§ </a></span>setColour()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setColour </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>colourId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classColour.html">Colour</a> </td>
<td class="paramname"><em>newColour</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Registers a colour to be used for a particular purpose. </p>
<p>Changing a colour will cause a synchronous callback to the <a class="el" href="classComponent.html#adfab11b32c622b327a823c6565f637f4" title="This method is called when a colour is changed by the setColour() method. ">colourChanged()</a> method, which your component can override if it needs to do something when colours are altered.</p>
<p>For more details about colour IDs, see the comments for <a class="el" href="classComponent.html#a202390cda00048f08ee80add476a0f3c" title="Looks for a colour that has been registered with the given colour ID number. ">findColour()</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a202390cda00048f08ee80add476a0f3c" title="Looks for a colour that has been registered with the given colour ID number. ">findColour</a>, <a class="el" href="classComponent.html#a8040eedee0207c9352880e86e603a4d3" title="Returns true if the specified colour ID has been explicitly set for this component using the setColou...">isColourSpecified</a>, <a class="el" href="classComponent.html#adfab11b32c622b327a823c6565f637f4" title="This method is called when a colour is changed by the setColour() method. ">colourChanged</a>, <a class="el" href="classLookAndFeel.html#aa7f9faa480c9ec9d61b66672425f380b" title="Looks for a colour that has been registered with the given colour ID number. ">LookAndFeel::findColour</a>, <a class="el" href="classLookAndFeel.html#a167a1e914771f32e433a0d45aaba45e3" title="Registers a colour to be used for a particular purpose. ">LookAndFeel::setColour</a> </dd></dl>
<p>Referenced by <a class="el" href="classDrawableText.html#ab3a4ef75f8f80049d5bfc8016e4e67ac">DrawableText::getText()</a>.</p>
</div>
</div>
<a id="a7c3179a6a241477c590ea23ff99e867d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c3179a6a241477c590ea23ff99e867d">§ </a></span>removeColour()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::removeColour </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>colourId</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If a colour has been set with <a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour()</a>, this will remove it. </p>
<p>This allows you to make a colour revert to its default state. </p>
</div>
</div>
<a id="a8040eedee0207c9352880e86e603a4d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8040eedee0207c9352880e86e603a4d3">§ </a></span>isColourSpecified()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Component::isColourSpecified </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>colourId</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the specified colour ID has been explicitly set for this component using the <a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour()</a> method. </p>
</div>
</div>
<a id="adb859c49c36874ebdad85adf1c1f5ce9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb859c49c36874ebdad85adf1c1f5ce9">§ </a></span>copyAllExplicitColoursTo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::copyAllExplicitColoursTo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> & </td>
<td class="paramname"><em>target</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This looks for any colours that have been specified for this component, and copies them to the specified target component. </p>
</div>
</div>
<a id="adfab11b32c622b327a823c6565f637f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfab11b32c622b327a823c6565f637f4">§ </a></span>colourChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void Component::colourChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method is called when a colour is changed by the <a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour()</a> method. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a875e6cc05407cea2d6a04dced62e13cd" title="Registers a colour to be used for a particular purpose. ">setColour</a>, <a class="el" href="classComponent.html#a202390cda00048f08ee80add476a0f3c" title="Looks for a colour that has been registered with the given colour ID number. ">findColour</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classSlider.html#a35de5e477dd21199f8ed3eb9c0b05f72">Slider</a>, <a class="el" href="classTreeView.html#adb597c4a208016276c11da563f2e0672">TreeView</a>, <a class="el" href="classTextEditor.html#ab719d4a834d41483f4aa4f9474c0b889">TextEditor</a>, <a class="el" href="classListBox.html#aa032947d2e79144f4607cc61cda3f6bb">ListBox</a>, <a class="el" href="classComboBox.html#aa8c5d5d5d1a4bc61f06aa67dce85a762">ComboBox</a>, <a class="el" href="classLabel.html#a441417e0a0e0edfdc71702375f9bb939">Label</a>, <a class="el" href="classMidiKeyboardComponent.html#a87dd0407690c76449d25a3b9ffbaacb6">MidiKeyboardComponent</a>, <a class="el" href="classDrawableButton.html#a48127b72c69cce38ba8e56b33da22a10">DrawableButton</a>, <a class="el" href="classProgressBar.html#a04fd0878e48ed23707c018ae5f9ad6c1">ProgressBar</a>, <a class="el" href="classTextButton.html#ac645180416be13b11736806b082e34dc">TextButton</a>, <a class="el" href="classGroupComponent.html#a858bea5ba1c4f9f1082a1be9ce93e209">GroupComponent</a>, <a class="el" href="classTextPropertyComponent.html#a3ecc7288dcf67497a8ab463d37951fc2">TextPropertyComponent</a>, <a class="el" href="classHyperlinkButton.html#a79670643a7d6e57c2db3cc39bc3b2ad6">HyperlinkButton</a>, and <a class="el" href="classToggleButton.html#ae39d1bac0e55a11e4f355d5b14a8f7f6">ToggleButton</a>.</p>
<p>Referenced by <a class="el" href="classListBox.html#aa3198592cab0552b2924b4e8499c9810">ListBox::getHeaderComponent()</a>, <a class="el" href="classMidiKeyboardComponent.html#a4409af4c9ef645c3c1d91027c98a87d0">MidiKeyboardComponent::getOctaveForMiddleC()</a>, and <a class="el" href="classHyperlinkButton.html#ae0af7b706d9881125f005817a115307f">HyperlinkButton::getURL()</a>.</p>
</div>
</div>
<a id="a2c2b7f738ccfcf541b72a6ce8283fce0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c2b7f738ccfcf541b72a6ce8283fce0">§ </a></span>getMarkers()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classMarkerList.html">MarkerList</a>* Component::getMarkers </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>xAxis</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Components can implement this method to provide a <a class="el" href="classMarkerList.html" title="Holds a set of named marker points along a one-dimensional axis. ">MarkerList</a>. </p>
<p>The default implementation of this method returns nullptr, but you can override it to return a pointer to the component's marker list. If xAxis is true, it should return the X marker list; if false, it should return the Y markers. </p>
<p>Reimplemented in <a class="el" href="classDrawableComposite.html#a3e27579fe6e7d79e6084fdc70e10a5a3">DrawableComposite</a>.</p>
</div>
</div>
<a id="a1cc235734615109756110ca8423e3ac3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cc235734615109756110ca8423e3ac3">§ </a></span>getWindowHandle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* Component::getWindowHandle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the underlying native window handle for this component. </p>
<p>This is platform-dependent and strictly for power-users only! </p>
</div>
</div>
<a id="a4fb6cbf8dc543319c42a37590e0d0bd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fb6cbf8dc543319c42a37590e0d0bd8">§ </a></span>getPositioner()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classComponent_1_1Positioner.html">Positioner</a>* Component::getPositioner </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the <a class="el" href="classComponent_1_1Positioner.html" title="Base class for objects that can be used to automatically position a component according to some kind ...">Positioner</a> object that has been set for this component. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a27359d626e9ab896af71cd57c1ff0915" title="Sets a new Positioner object for this component. ">setPositioner()</a> </dd></dl>
</div>
</div>
<a id="a27359d626e9ab896af71cd57c1ff0915"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27359d626e9ab896af71cd57c1ff0915">§ </a></span>setPositioner()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setPositioner </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent_1_1Positioner.html">Positioner</a> * </td>
<td class="paramname"><em>newPositioner</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a new <a class="el" href="classComponent_1_1Positioner.html" title="Base class for objects that can be used to automatically position a component according to some kind ...">Positioner</a> object for this component. </p>
<p>If there's currently another positioner set, it will be deleted. The object that is passed in will be deleted automatically by this component when it's no longer required. Pass a null pointer to clear the current positioner. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a4fb6cbf8dc543319c42a37590e0d0bd8" title="Returns the Positioner object that has been set for this component. ">getPositioner()</a> </dd></dl>
</div>
</div>
<a id="a9a19c5cf59573243d77a94bb3abea722"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a19c5cf59573243d77a94bb3abea722">§ </a></span>setCachedComponentImage()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Component::setCachedComponentImage </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCachedComponentImage.html">CachedComponentImage</a> * </td>
<td class="paramname"><em>newCachedImage</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gives the component a <a class="el" href="classCachedComponentImage.html" title="Base class used internally for structures that can store cached images of component state...">CachedComponentImage</a> that should be used to buffer its painting. </p>
<p>The object that is passed-in will be owned by this component, and will be deleted automatically later on. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#af19bbc2186e3297ddd55c328e46c014b" title="Makes the component use an internal buffer to optimise its redrawing. ">setBufferedToImage</a> </dd></dl>
</div>
</div>
<a id="a9338014ab407f6b41c14495ab2a7fc4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9338014ab407f6b41c14495ab2a7fc4d">§ </a></span>getCachedComponentImage()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCachedComponentImage.html">CachedComponentImage</a>* Component::getCachedComponentImage </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the object that was set by <a class="el" href="classComponent.html#a9a19c5cf59573243d77a94bb3abea722" title="Gives the component a CachedComponentImage that should be used to buffer its painting. ">setCachedComponentImage()</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classComponent.html#a9a19c5cf59573243d77a94bb3abea722" title="Gives the component a CachedComponentImage that should be used to buffer its painting. ">setCachedComponentImage</a> </dd></dl>
<p>References <a class="el" href="juce__PlatformDefs_8h.html#af25d2cb3e6d1124146f7f1fcd8648016">JUCE_DEPRECATED</a>.</p>
</div>
</div>
<a id="acb33b4aed9d981ae1a477c09ffa78fc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb33b4aed9d981ae1a477c09ffa78fc7">§ </a></span>JUCE_DEPRECATED() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Component::JUCE_DEPRECATED </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > relativePositionToGlobal(<a class="el" href="classPoint.html">Point</a>< int >) </td>
<td class="paramname"><em>const</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ae1e72f4e27817c000eabe164fd55c7fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1e72f4e27817c000eabe164fd55c7fc">§ </a></span>JUCE_DEPRECATED() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Component::JUCE_DEPRECATED </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > globalPositionToRelative(<a class="el" href="classPoint.html">Point</a>< int >) </td>
<td class="paramname"><em>const</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a947f10bbb7a68691de5d3f8af394c5a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a947f10bbb7a68691de5d3f8af394c5a9">§ </a></span>JUCE_DEPRECATED() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Component::JUCE_DEPRECATED </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< int > relativePositionToOtherComponent(const <a class="el" href="classComponent.html">Component</a> *, <a class="el" href="classPoint.html">Point</a>< int >) </td>
<td class="paramname"><em>const</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__Component_8h.html">juce_Component.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|