public static interface DropDownComponent.ScrollablePopupMenuItem
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Returns the item name.
|
boolean |
isSelected()
Checks if the item is selected.
|
void |
setEnabled(boolean enabled)
Enables / disables the item
|
void |
setSelected(boolean selected)
Selects and deselects the item.
|
void |
setText(java.lang.String text)
Sets the item name.
|
void setSelected(boolean selected)
selected
- is selectedboolean isSelected()
java.lang.String getText()
void setText(java.lang.String text)
text
- The new item namevoid setEnabled(boolean enabled)
enabled
- True - enables the itemCopyright © 2022 Apache Software Foundation. All Rights Reserved.