Interface TextItem
- All Superinterfaces:
DropdownButtonItem
- All Known Implementing Classes:
AbstractDropdownButton.TextItemImpl
Represents a text-based item that can be included in a dropdown button component.
The
TextItem
interface allows setting and retrieving the textual content
associated with an item in the dropdown menu.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.kit.component.dropdownbutton.DropdownButtonItem
DropdownButtonItem.ClickEvent
-
Method Summary
Methods inherited from interface io.jmix.flowui.kit.component.dropdownbutton.DropdownButtonItem
addClickListener, getId, getParent, isEnabled, isVisible, setEnabled, setVisible
-
Method Details
-
setText
Sets the text displayed on the component.- Parameters:
text
- the text to be displayed
-
getText
String getText()Returns the text associated with this component.- Returns:
- the current text of the component
-