1 7 package javax.swing.plaf.synth; 8 9 import java.awt.*; 10 import javax.swing.*; 11 12 46 public abstract class SynthPainter { 47 50 static SynthPainter NULL_PAINTER = new SynthPainter () {}; 51 52 53 65 public void paintArrowButtonBackground(SynthContext context, 66 Graphics g, int x, int y, 67 int w, int h) { 68 } 69 70 82 public void paintArrowButtonBorder(SynthContext context, 83 Graphics g, int x, int y, 84 int w, int h) { 85 } 86 87 103 public void paintArrowButtonForeground(SynthContext context, 104 Graphics g, int x, int y, 105 int w, int h, 106 int direction) { 107 } 108 109 120 public void paintButtonBackground(SynthContext context, 121 Graphics g, int x, int y, 122 int w, int h) { 123 } 124 125 136 public void paintButtonBorder(SynthContext context, 137 Graphics g, int x, int y, 138 int w, int h) { 139 } 140 141 152 public void paintCheckBoxMenuItemBackground(SynthContext context, 153 Graphics g, int x, int y, 154 int w, int h) { 155 } 156 157 168 public void paintCheckBoxMenuItemBorder(SynthContext context, 169 Graphics g, int x, int y, 170 int w, int h) { 171 } 172 173 184 public void paintCheckBoxBackground(SynthContext context, 185 Graphics g, int x, int y, 186 int w, int h) { 187 } 188 189 200 public void paintCheckBoxBorder(SynthContext context, 201 Graphics g, int x, int y, 202 int w, int h) { 203 } 204 205 216 public void paintColorChooserBackground(SynthContext context, 217 Graphics g, int x, int y, 218 int w, int h) { 219 } 220 221 232 public void paintColorChooserBorder(SynthContext context, 233 Graphics g, int x, int y, 234 int w, int h) { 235 } 236 237 248 public void paintComboBoxBackground(SynthContext context, 249 Graphics g, int x, int y, 250 int w, int h) { 251 } 252 253 264 public void paintComboBoxBorder(SynthContext context, 265 Graphics g, int x, int y, 266 int w, int h) { 267 } 268 269 280 public void paintDesktopIconBackground(SynthContext context, 281 Graphics g, int x, int y, 282 int w, int h) { 283 } 284 285 296 public void paintDesktopIconBorder(SynthContext context, 297 Graphics g, int x, int y, 298 int w, int h) { 299 } 300 301 312 public void paintDesktopPaneBackground(SynthContext context, 313 Graphics g, int x, int y, 314 int w, int h) { 315 } 316 317 328 public void paintDesktopPaneBorder(SynthContext context, 329 Graphics g, int x, int y, 330 int w, int h) { 331 } 332 333 344 public void paintEditorPaneBackground(SynthContext context, 345 Graphics g, int x, int y, 346 int w, int h) { 347 } 348 349 360 public void paintEditorPaneBorder(SynthContext context, 361 Graphics g, int x, int y, 362 int w, int h) { 363 } 364 365 376 public void paintFileChooserBackground(SynthContext context, 377 Graphics g, int x, int y, 378 int w, int h) { 379 } 380 381 392 public void paintFileChooserBorder(SynthContext context, 393 Graphics g, int x, int y, 394 int w, int h) { 395 } 396 397 408 public void paintFormattedTextFieldBackground(SynthContext context, 409 Graphics g, int x, int y, 410 int w, int h) { 411 } 412 413 424 public void paintFormattedTextFieldBorder(SynthContext context, 425 Graphics g, int x, int y, 426 int w, int h) { 427 } 428 429 440 public void paintInternalFrameTitlePaneBackground(SynthContext context, 441 Graphics g, int x, int y, 442 int w, int h) { 443 } 444 445 456 public void paintInternalFrameTitlePaneBorder(SynthContext context, 457 Graphics g, int x, int y, 458 int w, int h) { 459 } 460 461 472 public void paintInternalFrameBackground(SynthContext context, 473 Graphics g, int x, int y, 474 int w, int h) { 475 } 476 477 488 public void paintInternalFrameBorder(SynthContext context, 489 Graphics g, int x, int y, 490 int w, int h) { 491 } 492 493 504 public void paintLabelBackground(SynthContext context, 505 Graphics g, int x, int y, 506 int w, int h) { 507 } 508 509 520 public void paintLabelBorder(SynthContext context, 521 Graphics g, int x, int y, 522 int w, int h) { 523 } 524 525 536 public void paintListBackground(SynthContext context, 537 Graphics g, int x, int y, 538 int w, int h) { 539 } 540 541 552 public void paintListBorder(SynthContext context, 553 Graphics g, int x, int y, 554 int w, int h) { 555 } 556 557 568 public void paintMenuBarBackground(SynthContext context, 569 Graphics g, int x, int y, 570 int w, int h) { 571 } 572 573 584 public void paintMenuBarBorder(SynthContext context, 585 Graphics g, int x, int y, 586 int w, int h) { 587 } 588 589 600 public void paintMenuItemBackground(SynthContext context, 601 Graphics g, int x, int y, 602 int w, int h) { 603 } 604 605 616 public void paintMenuItemBorder(SynthContext context, 617 Graphics g, int x, int y, 618 int w, int h) { 619 } 620 621 632 public void paintMenuBackground(SynthContext context, 633 Graphics g, int x, int y, 634 int w, int h) { 635 } 636 637 648 public void paintMenuBorder(SynthContext context, 649 Graphics g, int x, int y, 650 int w, int h) { 651 } 652 653 664 public void paintOptionPaneBackground(SynthContext context, 665 Graphics g, int x, int y, 666 int w, int h) { 667 } 668 669 680 public void paintOptionPaneBorder(SynthContext context, 681 Graphics g, int x, int y, 682 int w, int h) { 683 } 684 685 696 public void paintPanelBackground(SynthContext context, 697 Graphics g, int x, int y, 698 int w, int h) { 699 } 700 701 712 public void paintPanelBorder(SynthContext context, 713 Graphics g, int x, int y, 714 int w, int h) { 715 } 716 717 728 public void paintPasswordFieldBackground(SynthContext context, 729 Graphics g, int x, int y, 730 int w, int h) { 731 } 732 733 744 public void paintPasswordFieldBorder(SynthContext context, 745 Graphics g, int x, int y, 746 int w, int h) { 747 } 748 749 760 public void paintPopupMenuBackground(SynthContext context, 761 Graphics g, int x, int y, 762 int w, int h) { 763 } 764 765 776 public void paintPopupMenuBorder(SynthContext context, 777 Graphics g, int x, int y, 778 int w, int h) { 779 } 780 781 792 public void paintProgressBarBackground(SynthContext context, 793 Graphics g, int x, int y, 794 int w, int h) { 795 } 796 797 808 public void paintProgressBarBorder(SynthContext context, 809 Graphics g, int x, int y, 810 int w, int h) { 811 } 812 813 827 public void paintProgressBarForeground(SynthContext context, 828 Graphics g, int x, int y, 829 int w, int h, int orientation) { 830 } 831 832 843 public void paintRadioButtonMenuItemBackground(SynthContext context, 844 Graphics g, int x, int y, 845 int w, int h) { 846 } 847 848 859 public void paintRadioButtonMenuItemBorder(SynthContext context, 860 Graphics g, int x, int y, 861 int w, int h) { 862 } 863 864 875 public void paintRadioButtonBackground(SynthContext context, 876 Graphics g, int x, int y, 877 int w, int h) { 878 } 879 880 891 public void paintRadioButtonBorder(SynthContext context, 892 Graphics g, int x, int y, 893 int w, int h) { 894 } 895 896 907 public void paintRootPaneBackground(SynthContext context, 908 Graphics g, int x, int y, 909 int w, int h) { 910 } 911 912 923 public void paintRootPaneBorder(SynthContext context, 924 Graphics g, int x, int y, 925 int w, int h) { 926 } 927 928 939 public void paintScrollBarBackground(SynthContext context, 940 Graphics g, int x, int y, 941 int w, int h) { 942 } 943 944 955 public void paintScrollBarBorder(SynthContext context, 956 Graphics g, int x, int y, 957 int w, int h) { 958 } 959 960 976 public void paintScrollBarThumbBackground(SynthContext context, 977 Graphics g, int x, int y, 978 int w, int h, int orientation) { 979 } 980 981 997 public void paintScrollBarThumbBorder(SynthContext context, 998 Graphics g, int x, int y, 999 int w, int h, int orientation) { 1000 } 1001 1002 1014 public void paintScrollBarTrackBackground(SynthContext context, 1015 Graphics g, int x, int y, 1016 int w, int h) { 1017 } 1018 1019 1031 public void paintScrollBarTrackBorder(SynthContext context, 1032 Graphics g, int x, int y, 1033 int w, int h) { 1034 } 1035 1036 1047 public void paintScrollPaneBackground(SynthContext context, 1048 Graphics g, int x, int y, 1049 int w, int h) { 1050 } 1051 1052 1063 public void paintScrollPaneBorder(SynthContext context, 1064 Graphics g, int x, int y, 1065 int w, int h) { 1066 } 1067 1068 1079 public void paintSeparatorBackground(SynthContext context, 1080 Graphics g, int x, int y, 1081 int w, int h) { 1082 } 1083 1084 1095 public void paintSeparatorBorder(SynthContext context, 1096 Graphics g, int x, int y, 1097 int w, int h) { 1098 } 1099 1100 1113 public void paintSeparatorForeground(SynthContext context, 1114 Graphics g, int x, int y, 1115 int w, int h, int orientation) { 1116 } 1117 1118 1129 public void paintSliderBackground(SynthContext context, 1130 Graphics g, int x, int y, 1131 int w, int h) { 1132 } 1133 1134 1145 public void paintSliderBorder(SynthContext context, 1146 Graphics g, int x, int y, 1147 int w, int h) { 1148 } 1149 1150 1163 public void paintSliderThumbBackground(SynthContext context, 1164 Graphics g, int x, int y, 1165 int w, int h, int orientation) { 1166 } 1167 1168 1181 public void paintSliderThumbBorder(SynthContext context, 1182 Graphics g, int x, int y, 1183 int w, int h, int orientation) { 1184 } 1185 1186 1197 public void paintSliderTrackBackground(SynthContext context, 1198 Graphics g, int x, int y, 1199 int w, int h) { 1200 } 1201 1202 1213 public void paintSliderTrackBorder(SynthContext context, 1214 Graphics g, int x, int y, 1215 int w, int h) { 1216 } 1217 1218 1229 public void paintSpinnerBackground(SynthContext context, 1230 Graphics g, int x, int y, 1231 int w, int h) { 1232 } 1233 1234 1245 public void paintSpinnerBorder(SynthContext context, 1246 Graphics g, int x, int y, 1247 int w, int h) { 1248 } 1249 1250 1261 public void paintSplitPaneDividerBackground(SynthContext context, 1262 Graphics g, int x, int y, 1263 int w, int h) { 1264 } 1265 1266 1279 public void paintSplitPaneDividerForeground(SynthContext context, 1280 Graphics g, int x, int y, 1281 int w, int h, int orientation) { 1282 } 1283 1284 1298 public void paintSplitPaneDragDivider(SynthContext context, 1299 Graphics g, int x, int y, 1300 int w, int h, int orientation) { 1301 } 1302 1303 1314 public void paintSplitPaneBackground(SynthContext context, 1315 Graphics g, int x, int y, 1316 int w, int h) { 1317 } 1318 1319 1330 public void paintSplitPaneBorder(SynthContext context, 1331 Graphics g, int x, int y, 1332 int w, int h) { 1333 } 1334 1335 1346 public void paintTabbedPaneBackground(SynthContext context, 1347 Graphics g, int x, int y, 1348 int w, int h) { 1349 } 1350 1351 1362 public void paintTabbedPaneBorder(SynthContext context, 1363 Graphics g, int x, int y, 1364 int w, int h) { 1365 } 1366 1367 1378 public void paintTabbedPaneTabAreaBackground(SynthContext context, 1379 Graphics g, int x, int y, 1380 int w, int h) { 1381 } 1382 1383 1394 public void paintTabbedPaneTabAreaBorder(SynthContext context, 1395 Graphics g, int x, int y, 1396 int w, int h) { 1397 } 1398 1399 1411 public void paintTabbedPaneTabBackground(SynthContext context, Graphics g, 1412 int x, int y, int w, int h, 1413 int tabIndex) { 1414 } 1415 1416 1428 public void paintTabbedPaneTabBorder(SynthContext context, Graphics g, 1429 int x, int y, int w, int h, 1430 int tabIndex) { 1431 } 1432 1433 1445 public void paintTabbedPaneContentBackground(SynthContext context, 1446 Graphics g, int x, int y, int w, 1447 int h) { 1448 } 1449 1450 1462 public void paintTabbedPaneContentBorder(SynthContext context, Graphics g, 1463 int x, int y, int w, int h) { 1464 } 1465 1466 1477 public void paintTableHeaderBackground(SynthContext context, 1478 Graphics g, int x, int y, 1479 int w, int h) { 1480 } 1481 1482 1493 public void paintTableHeaderBorder(SynthContext context, 1494 Graphics g, int x, int y, 1495 int w, int h) { 1496 } 1497 1498 1509 public void paintTableBackground(SynthContext context, 1510 Graphics g, int x, int y, 1511 int w, int h) { 1512 } 1513 1514 1525 public void paintTableBorder(SynthContext context, 1526 Graphics g, int x, int y, 1527 int w, int h) { 1528 } 1529 1530 1541 public void paintTextAreaBackground(SynthContext context, 1542 Graphics g, int x, int y, 1543 int w, int h) { 1544 } 1545 1546 1557 public void paintTextAreaBorder(SynthContext context, 1558 Graphics g, int x, int y, 1559 int w, int h) { 1560 } 1561 1562 1573 public void paintTextPaneBackground(SynthContext context, 1574 Graphics g, int x, int y, 1575 int w, int h) { 1576 } 1577 1578 1589 public void paintTextPaneBorder(SynthContext context, 1590 Graphics g, int x, int y, 1591 int w, int h) { 1592 } 1593 1594 1605 public void paintTextFieldBackground(SynthContext context, 1606 Graphics g, int x, int y, 1607 int w, int h) { 1608 } 1609 1610 1621 public void paintTextFieldBorder(SynthContext context, 1622 Graphics g, int x, int y, 1623 int w, int h) { 1624 } 1625 1626 1637 public void paintToggleButtonBackground(SynthContext context, 1638 Graphics g, int x, int y, 1639 int w, int h) { 1640 } 1641 1642 1653 public void paintToggleButtonBorder(SynthContext context, 1654 Graphics g, int x, int y, 1655 int w, int h) { 1656 } 1657 1658 1669 public void paintToolBarBackground(SynthContext context, 1670 Graphics g, int x, int y, 1671 int w, int h) { 1672 } 1673 1674 1685 public void paintToolBarBorder(SynthContext context, 1686 Graphics g, int x, int y, 1687 int w, int h) { 1688 } 1689 1690 1701 public void paintToolBarContentBackground(SynthContext context, 1702 Graphics g, int x, int y, 1703 int w, int h) { 1704 } 1705 1706 1717 public void paintToolBarContentBorder(SynthContext context, 1718 Graphics g, int x, int y, 1719 int w, int h) { 1720 } 1721 1722 1734 public void paintToolBarDragWindowBackground(SynthContext context, 1735 Graphics g, int x, int y, 1736 int w, int h) { 1737 } 1738 1739 1751 public void paintToolBarDragWindowBorder(SynthContext context, 1752 Graphics g, int x, int y, 1753 int w, int h) { 1754 } 1755 1756 1767 public void paintToolTipBackground(SynthContext context, 1768 Graphics g, int x, int y, 1769 int w, int h) { 1770 } 1771 1772 1783 public void paintToolTipBorder(SynthContext context, 1784 Graphics g, int x, int y, 1785 int w, int h) { 1786 } 1787 1788 1799 public void paintTreeBackground(SynthContext context, 1800 Graphics g, int x, int y, 1801 int w, int h) { 1802 } 1803 1804 1815 public void paintTreeBorder(SynthContext context, 1816 Graphics g, int x, int y, 1817 int w, int h) { 1818 } 1819 1820 1831 public void paintTreeCellBackground(SynthContext context, 1832 Graphics g, int x, int y, 1833 int w, int h) { 1834 } 1835 1836 1847 public void paintTreeCellBorder(SynthContext context, 1848 Graphics g, int x, int y, 1849 int w, int h) { 1850 } 1851 1852 1863 public void paintTreeCellFocus(SynthContext context, 1864 Graphics g, int x, int y, 1865 int w, int h) { 1866 } 1867 1868 1879 public void paintViewportBackground(SynthContext context, 1880 Graphics g, int x, int y, 1881 int w, int h) { 1882 } 1883 1884 1895 public void paintViewportBorder(SynthContext context, 1896 Graphics g, int x, int y, 1897 int w, int h) { 1898 } 1899} 1900 | Popular Tags |