Interface DropDownComponent.ScrollablePopupMenuItem
- All Known Implementing Classes:
DropDownComponent.DefaultScrollablePopupMenuItem
- Enclosing class:
DropDownComponent
public static interface DropDownComponent.ScrollablePopupMenuItem
The scrollable pop up menu item.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptiongetText()Returns the item name.booleanChecks if the item is selected.voidsetEnabled(boolean enabled) Enables / disables the itemvoidsetSelected(boolean selected) Selects and deselects the item.voidSets the item name.
-
Method Details
-
setSelected
void setSelected(boolean selected) Selects and deselects the item.- Parameters:
selected- is selected
-
isSelected
boolean isSelected()Checks if the item is selected.- Returns:
- True if selected
-
getText
-
setText
-
setEnabled
void setEnabled(boolean enabled) Enables / disables the item- Parameters:
enabled- True - enables the item
-