|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuItem
Interface for MenuItems.
SimpleMenuItem
Method Summary | |
---|---|
String |
getIcon()
Returns the icon URL of this menu item. |
String |
getLink()
Returns the URL of this menu item. |
String |
getTooltip()
Returns the tooltip text. |
String |
getValue()
Returns the value (i.e. the visible part) of this menu item. |
void |
setIcon(String link)
Sets the icon URL of this menu item. |
void |
setLink(String link)
Sets the URL of this menu item. |
void |
setTooltip(String link)
Sets the tooltip text. |
void |
setValue(String value)
Sets the value (i.e. the visible part) of this menu item. |
Method Detail |
---|
void setValue(String value)
value
- The value of this item.String getValue()
void setLink(String link)
link
- The URL of this item.String getLink()
void setIcon(String link)
link
- The icon URL.String getIcon()
void setTooltip(String link)
link
- The tooltip text.String getTooltip()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |