Uses of Class
com.googlecode.lanterna.gui2.ComboBox
Packages that use ComboBox
-
Uses of ComboBox in com.googlecode.lanterna.gui2
Methods in com.googlecode.lanterna.gui2 that return ComboBoxModifier and TypeMethodDescriptionAdds a new item to the combo box, at a specific indexAdds a new item to the combo box, at the endComboBox.addListener
(ComboBox.Listener listener) Adds a new listener to theComboBox
that will be called on certain user actionsComboBox.clearItems()
Removes all items from the combo boxComboBox.removeItem
(int index) Removes an item from the combo box at a particular indexComboBox.removeItem
(V item) Removes a particular item from the combo box, if it is present, otherwise does nothingComboBox.removeListener
(ComboBox.Listener listener) Removes a listener from thisComboBox
so that if it had been added earlier, it will no longer be called on user actionsUpdates the combo box so the item at the specified index is swapped out with the supplied value in theitem
parameterComboBox.setReadOnly
(boolean readOnly) Sets the combo box to either read-only or writable.Methods in com.googlecode.lanterna.gui2 that return types with arguments of type ComboBoxModifier and TypeMethodDescriptionprotected InteractableRenderer
<ComboBox<V>> ComboBox.createDefaultRenderer()
Methods in com.googlecode.lanterna.gui2 with parameters of type ComboBoxModifier and TypeMethodDescriptionvoid
ComboBox.DefaultComboBoxRenderer.drawComponent
(TextGUIGraphics graphics, ComboBox<V> comboBox) ComboBox.DefaultComboBoxRenderer.getCursorLocation
(ComboBox<V> comboBox) ComboBox.DefaultComboBoxRenderer.getPreferredSize
(ComboBox<V> comboBox)