/usr/share/doc/liblaf-widget-java-doc/api/org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html is in liblaf-widget-java-doc 7.3+dfsg3-2.
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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html>
<head>
<title>JCarouselMenu (laf-widget 7.3 API)</title>
<meta name="date" content="2016-08-04">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JCarouselMenu (laf-widget 7.3 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":42,"i2":10,"i3":10,"i4":42,"i5":10,"i6":42,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarosel.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.CarouselListCellRenderer.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html" target="_top">Frames</a></li>
<li><a href="JCarouselMenu.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested.class.summary">Nested</a> | </li>
<li><a href="#fields.inherited.from.class.org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.GradientPanel">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.pushingpixels.lafwidget.contrib.blogofbug.swing.components</div>
<h2 title="Class JCarouselMenu" class="title">Class JCarouselMenu</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.awt.Component</li>
<li>
<ul class="inheritance">
<li>java.awt.Container</li>
<li>
<ul class="inheritance">
<li>javax.swing.JComponent</li>
<li>
<ul class="inheritance">
<li>javax.swing.JPanel</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components">org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.GradientPanel</a></li>
<li>
<ul class="inheritance">
<li>org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.JCarouselMenu</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.awt.event.ComponentListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseWheelListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.ChangeListener, javax.swing.event.ListSelectionListener</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">JCarouselMenu</span>
extends <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components">GradientPanel</a>
implements javax.swing.event.ListSelectionListener, java.awt.event.MouseListener, java.awt.event.KeyListener, javax.swing.event.ChangeListener, java.awt.event.MouseWheelListener</pre>
<div class="block">Shows a carousel offset to the left with a menu of actions on the right.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../serialized-form.html#org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.JCarouselMenu">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected class </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.CarouselListCellRenderer.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components">JCarouselMenu.CarouselListCellRenderer</a></span></code>
<div class="block">ListCellRenderer for the Carousel uses an image border to draw a nice border around the menu item when it is selected</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.MenuItem.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components">JCarouselMenu.MenuItem</a></span></code>
<div class="block">A menu item inside the carousel</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.javax.swing.JPanel">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class javax.swing.JPanel</h3>
<code>javax.swing.JPanel.AccessibleJPanel</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.javax.swing.JComponent">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class javax.swing.JComponent</h3>
<code>javax.swing.JComponent.AccessibleJComponent</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Container">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class java.awt.Container</h3>
<code>java.awt.Container.AccessibleAWTContainer</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.java.awt.Component">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class java.awt.Component</h3>
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.GradientPanel">
<!-- -->
</a>
<h3>Fields inherited from class org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.<a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components">GradientPanel</a></h3>
<code><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#cache">cache</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#end">end</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#gp">gp</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#start">start</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.javax.swing.JComponent">
<!-- -->
</a>
<h3>Fields inherited from class javax.swing.JComponent</h3>
<code>listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.java.awt.Component">
<!-- -->
</a>
<h3>Fields inherited from class java.awt.Component</h3>
<code>accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.java.awt.image.ImageObserver">
<!-- -->
</a>
<h3>Fields inherited from interface java.awt.image.ImageObserver</h3>
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#JCarouselMenu--">JCarouselMenu</a></span>()</code>
<div class="block">Creates a new instance</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#JCarouselMenu-org.pushingpixels.lafwidget.contrib.blogofbug.swing.borders.ImageBorder-">JCarouselMenu</a></span>(<a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/borders/ImageBorder.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.borders">ImageBorder</a> border)</code>
<div class="block">Creates a new instance of JCarouselMenu</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.awt.Component</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#add-javax.swing.Action-">add</a></span>(javax.swing.Action action)</code>
<div class="block">Adds an action to the list, creating a menu item and a carousel entry</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.awt.Component</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#add-javax.swing.Action-int-int-">add</a></span>(javax.swing.Action action,
int width,
int height)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="block"><span class="deprecationComment">Use add(imageURL) instead</span></div>
</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.awt.Component</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#add-java.awt.Component-java.lang.String-">add</a></span>(java.awt.Component component,
java.lang.String label)</code>
<div class="block">Adds a component to the carousel menu that will be brought into view when the user clicks
on the associated item</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.awt.Component</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#add-java.awt.Image-java.lang.String-">add</a></span>(java.awt.Image image,
java.lang.String label)</code>
<div class="block">Adds an image (with a label) and returns the component created to represent them</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.awt.Component</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#add-java.awt.Image-java.lang.String-int-int-">add</a></span>(java.awt.Image image,
java.lang.String label,
int width,
int height)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="block"><span class="deprecationComment">Use add(Image, String) instead</span></div>
</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.awt.Component</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#add-java.lang.String-java.lang.String-">add</a></span>(java.lang.String imageURL,
java.lang.String label)</code>
<div class="block">Adds an image based on the imageURL and a text label, returning the component that is created as a result</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.awt.Component</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#add-java.lang.String-java.lang.String-int-int-">add</a></span>(java.lang.String imageURL,
java.lang.String label,
int width,
int height)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="block"><span class="deprecationComment">Use add(imageURL, label) instead</span></div>
</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>javax.swing.JList</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#getList--">getList</a></span>()</code>
<div class="block">Returns the list part of the carousel menu</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.awt.Dimension</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#getPreferredSize--">getPreferredSize</a></span>()</code>
<div class="block">Return the preferred size of the component</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#keyPressed-java.awt.event.KeyEvent-">keyPressed</a></span>(java.awt.event.KeyEvent keyEvent)</code>
<div class="block">Listen for key events, when we see one that looks like it should wrap, set up the lastSelection variable to
trigger a change on release of the key</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#keyReleased-java.awt.event.KeyEvent-">keyReleased</a></span>(java.awt.event.KeyEvent keyEvent)</code>
<div class="block">If the wrap-around has detected the need to wrap, sets the selection to the value
calculated when the key was first pressed.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#keyTyped-java.awt.event.KeyEvent-">keyTyped</a></span>(java.awt.event.KeyEvent keyEvent)</code>
<div class="block">Don't Care *</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#mouseClicked-java.awt.event.MouseEvent-">mouseClicked</a></span>(java.awt.event.MouseEvent mouseEvent)</code>
<div class="block">Look to see if an item in the list is double clicked, and launch the action if it is</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#mouseEntered-java.awt.event.MouseEvent-">mouseEntered</a></span>(java.awt.event.MouseEvent mouseEvent)</code>
<div class="block">Don't Care *</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#mouseExited-java.awt.event.MouseEvent-">mouseExited</a></span>(java.awt.event.MouseEvent mouseEvent)</code>
<div class="block">Don't Care *</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#mousePressed-java.awt.event.MouseEvent-">mousePressed</a></span>(java.awt.event.MouseEvent mouseEvent)</code>
<div class="block">Don't Care *</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#mouseReleased-java.awt.event.MouseEvent-">mouseReleased</a></span>(java.awt.event.MouseEvent mouseEvent)</code>
<div class="block">Don't Care *</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#mouseWheelMoved-java.awt.event.MouseWheelEvent-">mouseWheelMoved</a></span>(java.awt.event.MouseWheelEvent mouseWheelEvent)</code>
<div class="block">Moves the selected menu up or down when the mouse wheel scrolls</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#processAction--">processAction</a></span>()</code>
<div class="block">Launch the action associated with the currently selected list item</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#remove-java.awt.Component-">remove</a></span>(java.awt.Component component)</code>
<div class="block">Removes a component from the menu</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#setCellImageBorder-org.pushingpixels.lafwidget.contrib.blogofbug.swing.borders.ImageBorder-">setCellImageBorder</a></span>(<a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/borders/ImageBorder.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.borders">ImageBorder</a> imageBorder)</code>
<div class="block">Sets the image border used to draw around the items in the menu</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#setCellRenderer-javax.swing.ListCellRenderer-">setCellRenderer</a></span>(javax.swing.ListCellRenderer cellRenderer)</code>
<div class="block">Specifies the list cell renderer used to draw the items in the menu</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#setMenuScrollColor-java.awt.Color-">setMenuScrollColor</a></span>(java.awt.Color color)</code>
<div class="block">Allows the background color to the menu (left side) to be set</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#setSelectedIndex-int-">setSelectedIndex</a></span>(int i)</code>
<div class="block">Sets the selected item in the menu</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#setUpDownColor-java.awt.Color-">setUpDownColor</a></span>(java.awt.Color color)</code>
<div class="block">Sets the color the up and down buttons are drawn</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#setUpDownIcons-javax.swing.Icon-javax.swing.Icon-">setUpDownIcons</a></span>(javax.swing.Icon upIcon,
javax.swing.Icon downIcon)</code>
<div class="block">Sets icons to use to show the up and down buttons</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#stateChanged-javax.swing.event.ChangeEvent-">stateChanged</a></span>(javax.swing.event.ChangeEvent e)</code>
<div class="block">Detect when the list selection changes, and respond by updating the state
of the two "arrow" buttons.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html#valueChanged-javax.swing.event.ListSelectionEvent-">valueChanged</a></span>(javax.swing.event.ListSelectionEvent listSelectionEvent)</code>
<div class="block">Detect when the list selection changes, and respond by rotating the carousel to show
that item</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.GradientPanel">
<!-- -->
</a>
<h3>Methods inherited from class org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.<a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components">GradientPanel</a></h3>
<code><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#componentHidden-java.awt.event.ComponentEvent-">componentHidden</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#componentMoved-java.awt.event.ComponentEvent-">componentMoved</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#componentResized-java.awt.event.ComponentEvent-">componentResized</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#componentShown-java.awt.event.ComponentEvent-">componentShown</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#paintComponent-java.awt.Graphics-">paintComponent</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#setBackground-java.awt.Color-">setBackground</a>, <a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/GradientPanel.html#setBackground-java.awt.Color-java.awt.Color-">setBackground</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javax.swing.JPanel">
<!-- -->
</a>
<h3>Methods inherited from class javax.swing.JPanel</h3>
<code>getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javax.swing.JComponent">
<!-- -->
</a>
<h3>Methods inherited from class javax.swing.JComponent</h3>
<code>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.awt.Container">
<!-- -->
</a>
<h3>Methods inherited from class java.awt.Container</h3>
<code>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.awt.Component">
<!-- -->
</a>
<h3>Methods inherited from class java.awt.Component</h3>
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="JCarouselMenu-org.pushingpixels.lafwidget.contrib.blogofbug.swing.borders.ImageBorder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JCarouselMenu</h4>
<pre>public JCarouselMenu(<a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/borders/ImageBorder.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.borders">ImageBorder</a> border)</pre>
<div class="block">Creates a new instance of JCarouselMenu</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>border</code> - The border to use to draw items in the menu</dd>
</dl>
</li>
</ul>
<a name="JCarouselMenu--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JCarouselMenu</h4>
<pre>public JCarouselMenu()</pre>
<div class="block">Creates a new instance</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setUpDownColor-java.awt.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUpDownColor</h4>
<pre>public void setUpDownColor(java.awt.Color color)</pre>
<div class="block">Sets the color the up and down buttons are drawn</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>color</code> - The desired color</dd>
</dl>
</li>
</ul>
<a name="getList--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getList</h4>
<pre>public javax.swing.JList getList()</pre>
<div class="block">Returns the list part of the carousel menu</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The JList object</dd>
</dl>
</li>
</ul>
<a name="setSelectedIndex-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSelectedIndex</h4>
<pre>public void setSelectedIndex(int i)</pre>
<div class="block">Sets the selected item in the menu</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>i</code> - The index of the item to select</dd>
</dl>
</li>
</ul>
<a name="add-java.awt.Component-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public java.awt.Component add(java.awt.Component component,
java.lang.String label)</pre>
<div class="block">Adds a component to the carousel menu that will be brought into view when the user clicks
on the associated item</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>component</code> - The component</dd>
<dd><code>label</code> - The text to appear in the menu</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The created component</dd>
</dl>
</li>
</ul>
<a name="remove-java.awt.Component-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public void remove(java.awt.Component component)</pre>
<div class="block">Removes a component from the menu</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>remove</code> in class <code>java.awt.Container</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>component</code> - The component to remove</dd>
</dl>
</li>
</ul>
<a name="add-java.awt.Image-java.lang.String-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public java.awt.Component add(java.awt.Image image,
java.lang.String label,
int width,
int height)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use add(Image, String) instead</span></div>
<div class="block">Adds an image to the menu.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>image</code> - The image</dd>
<dd><code>label</code> - The text</dd>
<dd><code>width</code> - Prefered width</dd>
<dd><code>height</code> - Prefered height</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The created component</dd>
</dl>
</li>
</ul>
<a name="add-java.awt.Image-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public java.awt.Component add(java.awt.Image image,
java.lang.String label)</pre>
<div class="block">Adds an image (with a label) and returns the component created to represent them</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>image</code> - The image to display</dd>
<dd><code>label</code> - The label to show</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The component created</dd>
</dl>
</li>
</ul>
<a name="add-javax.swing.Action-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public java.awt.Component add(javax.swing.Action action,
int width,
int height)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use add(imageURL) instead</span></div>
<div class="block">Adds an action to the menu</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>action</code> - The action to add</dd>
<dd><code>width</code> - The width</dd>
<dd><code>height</code> - The height</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The created component</dd>
</dl>
</li>
</ul>
<a name="add-javax.swing.Action-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public java.awt.Component add(javax.swing.Action action)</pre>
<div class="block">Adds an action to the list, creating a menu item and a carousel entry</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>action</code> - The action to add</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The resultant component</dd>
</dl>
</li>
</ul>
<a name="add-java.lang.String-java.lang.String-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public java.awt.Component add(java.lang.String imageURL,
java.lang.String label,
int width,
int height)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use add(imageURL, label) instead</span></div>
<div class="block">Adds an image (through a URL) to the menu</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>imageURL</code> - URL of the image</dd>
<dd><code>label</code> - Text message</dd>
<dd><code>width</code> - width</dd>
<dd><code>height</code> - height</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The created component</dd>
</dl>
</li>
</ul>
<a name="add-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public java.awt.Component add(java.lang.String imageURL,
java.lang.String label)</pre>
<div class="block">Adds an image based on the imageURL and a text label, returning the component that is created as a result</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>imageURL</code> - The URL of the image</dd>
<dd><code>label</code> - Text label to be shown in the menu</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The created component</dd>
</dl>
</li>
</ul>
<a name="getPreferredSize--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferredSize</h4>
<pre>public java.awt.Dimension getPreferredSize()</pre>
<div class="block">Return the preferred size of the component</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getPreferredSize</code> in class <code>javax.swing.JComponent</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The prefered dimensions of the component</dd>
</dl>
</li>
</ul>
<a name="stateChanged-javax.swing.event.ChangeEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stateChanged</h4>
<pre>public void stateChanged(javax.swing.event.ChangeEvent e)</pre>
<div class="block">Detect when the list selection changes, and respond by updating the state
of the two "arrow" buttons. Contributed by Sebastian Charpentier.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>stateChanged</code> in interface <code>javax.swing.event.ChangeListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>e</code> - The state changed event</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>ChangeListener.stateChanged(javax.swing.event.ChangeEvent)</code></dd>
</dl>
</li>
</ul>
<a name="valueChanged-javax.swing.event.ListSelectionEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueChanged</h4>
<pre>public void valueChanged(javax.swing.event.ListSelectionEvent listSelectionEvent)</pre>
<div class="block">Detect when the list selection changes, and respond by rotating the carousel to show
that item</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>valueChanged</code> in interface <code>javax.swing.event.ListSelectionListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listSelectionEvent</code> - The list selection change event</dd>
</dl>
</li>
</ul>
<a name="processAction--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>processAction</h4>
<pre>protected void processAction()</pre>
<div class="block">Launch the action associated with the currently selected list item</div>
</li>
</ul>
<a name="mouseClicked-java.awt.event.MouseEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mouseClicked</h4>
<pre>public void mouseClicked(java.awt.event.MouseEvent mouseEvent)</pre>
<div class="block">Look to see if an item in the list is double clicked, and launch the action if it is</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>mouseClicked</code> in interface <code>java.awt.event.MouseListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mouseEvent</code> - The mouse event</dd>
</dl>
</li>
</ul>
<a name="mousePressed-java.awt.event.MouseEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mousePressed</h4>
<pre>public void mousePressed(java.awt.event.MouseEvent mouseEvent)</pre>
<div class="block">Don't Care *</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>mousePressed</code> in interface <code>java.awt.event.MouseListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mouseEvent</code> - The mouse event</dd>
</dl>
</li>
</ul>
<a name="mouseReleased-java.awt.event.MouseEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mouseReleased</h4>
<pre>public void mouseReleased(java.awt.event.MouseEvent mouseEvent)</pre>
<div class="block">Don't Care *</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>mouseReleased</code> in interface <code>java.awt.event.MouseListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mouseEvent</code> - The mouse event</dd>
</dl>
</li>
</ul>
<a name="mouseEntered-java.awt.event.MouseEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mouseEntered</h4>
<pre>public void mouseEntered(java.awt.event.MouseEvent mouseEvent)</pre>
<div class="block">Don't Care *</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>mouseEntered</code> in interface <code>java.awt.event.MouseListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mouseEvent</code> - The mouse event</dd>
</dl>
</li>
</ul>
<a name="mouseExited-java.awt.event.MouseEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mouseExited</h4>
<pre>public void mouseExited(java.awt.event.MouseEvent mouseEvent)</pre>
<div class="block">Don't Care *</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>mouseExited</code> in interface <code>java.awt.event.MouseListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mouseEvent</code> - The mouse event</dd>
</dl>
</li>
</ul>
<a name="keyTyped-java.awt.event.KeyEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keyTyped</h4>
<pre>public void keyTyped(java.awt.event.KeyEvent keyEvent)</pre>
<div class="block">Don't Care *</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>keyTyped</code> in interface <code>java.awt.event.KeyListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keyEvent</code> - The key event</dd>
</dl>
</li>
</ul>
<a name="keyPressed-java.awt.event.KeyEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keyPressed</h4>
<pre>public void keyPressed(java.awt.event.KeyEvent keyEvent)</pre>
<div class="block">Listen for key events, when we see one that looks like it should wrap, set up the lastSelection variable to
trigger a change on release of the key</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>keyPressed</code> in interface <code>java.awt.event.KeyListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keyEvent</code> - The key event</dd>
</dl>
</li>
</ul>
<a name="setCellImageBorder-org.pushingpixels.lafwidget.contrib.blogofbug.swing.borders.ImageBorder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCellImageBorder</h4>
<pre>public void setCellImageBorder(<a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/borders/ImageBorder.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.borders">ImageBorder</a> imageBorder)</pre>
<div class="block">Sets the image border used to draw around the items in the menu</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>imageBorder</code> - The desired image border</dd>
</dl>
</li>
</ul>
<a name="setCellRenderer-javax.swing.ListCellRenderer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCellRenderer</h4>
<pre>public void setCellRenderer(javax.swing.ListCellRenderer cellRenderer)</pre>
<div class="block">Specifies the list cell renderer used to draw the items in the menu</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cellRenderer</code> - The list cell renderer</dd>
</dl>
</li>
</ul>
<a name="keyReleased-java.awt.event.KeyEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keyReleased</h4>
<pre>public void keyReleased(java.awt.event.KeyEvent keyEvent)</pre>
<div class="block">If the wrap-around has detected the need to wrap, sets the selection to the value
calculated when the key was first pressed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>keyReleased</code> in interface <code>java.awt.event.KeyListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keyEvent</code> - The key event</dd>
</dl>
</li>
</ul>
<a name="mouseWheelMoved-java.awt.event.MouseWheelEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mouseWheelMoved</h4>
<pre>public void mouseWheelMoved(java.awt.event.MouseWheelEvent mouseWheelEvent)</pre>
<div class="block">Moves the selected menu up or down when the mouse wheel scrolls</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>mouseWheelMoved</code> in interface <code>java.awt.event.MouseWheelListener</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>mouseWheelEvent</code> - The mouse wheel event</dd>
</dl>
</li>
</ul>
<a name="setUpDownIcons-javax.swing.Icon-javax.swing.Icon-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUpDownIcons</h4>
<pre>public void setUpDownIcons(javax.swing.Icon upIcon,
javax.swing.Icon downIcon)</pre>
<div class="block">Sets icons to use to show the up and down buttons</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>upIcon</code> - The icon to use for up</dd>
<dd><code>downIcon</code> - The icon to use for down</dd>
</dl>
</li>
</ul>
<a name="setMenuScrollColor-java.awt.Color-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setMenuScrollColor</h4>
<pre>public void setMenuScrollColor(java.awt.Color color)</pre>
<div class="block">Allows the background color to the menu (left side) to be set</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>color</code> - Sets the background color to the menu</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarosel.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../../../../org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.CarouselListCellRenderer.html" title="class in org.pushingpixels.lafwidget.contrib.blogofbug.swing.components"><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/pushingpixels/lafwidget/contrib/blogofbug/swing/components/JCarouselMenu.html" target="_top">Frames</a></li>
<li><a href="JCarouselMenu.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested.class.summary">Nested</a> | </li>
<li><a href="#fields.inherited.from.class.org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.GradientPanel">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
|