Class JCarouselMenu.MenuItem
java.lang.Object
org.pushingpixels.lafwidget.contrib.blogofbug.swing.components.JCarouselMenu.MenuItem
- Enclosing class:
- JCarouselMenu
A menu item inside the carousel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
carouselComponent
The component inside the caroulse -
label
The text label -
action
An associated action
-
-
Constructor Details
-
MenuItem
Creates a new instance of the menu item- Parameters:
component
- The component to uselabel
- The text labelaction
- The associated action
-
-
Method Details
-
getLabel
Retreives the label associated with the entry- Returns:
- The label
-
getAction
Gets the action associated with the entry- Returns:
- The action associated with the entry
-
getCarouselComponent
Gets the component in the carousel associated with the entry- Returns:
- The component
-