Uses of Class
com.googlecode.lanterna.gui2.ComboBox
Packages that use ComboBox
-
Uses of ComboBox in com.googlecode.lanterna.gui2
Subclasses with type arguments of type ComboBox in com.googlecode.lanterna.gui2Modifier and TypeClassDescriptionclassComboBox<V>This is a simple combo box implementation that allows the user to select one out of multiple items through a drop-down menu.Classes in com.googlecode.lanterna.gui2 that implement interfaces with type arguments of type ComboBoxModifier and TypeClassDescriptionstatic classHelper interface that doesn't add any new methods but makes coding new combo box renderers a little bit more clearMethods 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 theComboBoxthat 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 thisComboBoxso 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 theitemparameterComboBox.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 TypeMethodDescriptionvoidComboBox.DefaultComboBoxRenderer.drawComponent(TextGUIGraphics graphics, ComboBox<V> comboBox) ComboBox.DefaultComboBoxRenderer.getCursorLocation(ComboBox<V> comboBox) ComboBox.DefaultComboBoxRenderer.getPreferredSize(ComboBox<V> comboBox)