|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.blogofbug.swing.components.JCarouselMenu.MenuItem
public class JCarouselMenu.MenuItem
A menu item inside the carousel
| Field Summary | |
|---|---|
protected Action |
action
An associated action |
protected Component |
carouselComponent
The component inside the caroulse |
protected String |
label
The text label |
| Constructor Summary | |
JCarouselMenu.MenuItem(Component component, String label, Action action)
Creates a new instance of the menu item |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
protected Action action
protected Component carouselComponent
protected String label
| Constructor Detail |
|---|
public JCarouselMenu.MenuItem(Component component, String label, Action action)
component - The component to uselabel - The text labelaction - The associated action
| Method Detail |
|---|
public Action getAction()
public Component getCarouselComponent()
public String getLabel()
Groovy Documentation