|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcontrib.com.blogofbug.swing.components.JCarouselMenu.MenuItem
public class JCarouselMenu.MenuItem
A menu item inside the carousel
Field Summary | |
---|---|
protected javax.swing.Action |
action
An associated action |
protected java.awt.Component |
carouselComponent
The component inside the caroulse |
protected java.lang.String |
label
The text label |
Constructor Summary | |
---|---|
JCarouselMenu.MenuItem(java.awt.Component component,
java.lang.String label,
javax.swing.Action action)
Creates a new instance of the menu item |
Method Summary | |
---|---|
javax.swing.Action |
getAction()
Gets the action associated with the entry |
java.awt.Component |
getCarouselComponent()
Gets the component in the carousel associated with the entry |
java.lang.String |
getLabel()
Retreives the label associated with the entry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.awt.Component carouselComponent
protected java.lang.String label
protected javax.swing.Action action
Constructor Detail |
---|
public JCarouselMenu.MenuItem(java.awt.Component component, java.lang.String label, javax.swing.Action action)
component
- The component to uselabel
- The text labelaction
- The associated actionMethod Detail |
---|
public java.lang.String getLabel()
public javax.swing.Action getAction()
public java.awt.Component getCarouselComponent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |