public class JCarouselMenu.MenuItem extends Object
Modifier and Type | Field | Description |
---|---|---|
protected Action |
action |
An associated action
|
protected Component |
carouselComponent |
The component inside the caroulse
|
protected String |
label |
The text label
|
Constructor | Description |
---|---|
MenuItem(Component component,
String label,
Action action) |
Creates a new instance of the menu item
|
Modifier and Type | Method | Description |
---|---|---|
Action |
getAction() |
Gets the action associated with the entry
|
Component |
getCarouselComponent() |
Gets the component in the carousel associated with the entry
|
String |
getLabel() |
Retreives the label associated with the entry
|
protected Component carouselComponent
protected String label
protected Action action
public String getLabel()
public Action getAction()
public Component getCarouselComponent()