public class Combo extends ComboMultiSelect
ComboMultiSelect.ConcatenatingJList, ComboMultiSelect.PresetListEntryKeyedItem.MatchType, KeyedItem.Usage| Modifier and Type | Field and Description |
|---|---|
protected JosmComboBox<ComboMultiSelect.PresetListEntry> |
combobox |
boolean |
editable
Whether the combo box is editable, which means that the user can add other values as text.
|
java.lang.String |
length
The length of the combo box (number of characters allowed).
|
component, default_, delimiter, display_values, lhm, locale_display_values, locale_short_descriptions, locale_text, originalValue, short_descriptions, usage, use_last_as_default, values, values_context, values_from, values_no_i18n, values_searchable, values_sortDIFFERENT, key, LAST_VALUES, match, PROP_FILL_DEFAULT, text, text_context| Constructor and Description |
|---|
Combo()
Constructs a new
Combo. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToPanelAnchor(javax.swing.JPanel p,
java.lang.String def,
boolean presetInitiallyMatches) |
protected java.lang.String |
getDisplayIfNull() |
protected java.lang.Object |
getSelectedItem() |
addCommands, addListEntries, addListEntry, addToPanel, getDefaultMatch, getDelChar, getDisplayValues, getListCellRenderer, getValues, splitEscapeddetermineBooleanUsage, determineTextUsage, getKeyTooltipText, isKeyRequired, matches, toStringfixPresetString, getLocaleText, getType, initAutoCompletionField, initAutoCompletionField, loadImageIcon, matches, parseIntegerpublic boolean editable
true. If false it is readonly, which means that the user can only select an item in the list.public java.lang.String length
protected JosmComboBox<ComboMultiSelect.PresetListEntry> combobox
public Combo()
Combo.protected void addToPanelAnchor(javax.swing.JPanel p, java.lang.String def, boolean presetInitiallyMatches)
addToPanelAnchor in class ComboMultiSelectprotected java.lang.Object getSelectedItem()
getSelectedItem in class ComboMultiSelectprotected java.lang.String getDisplayIfNull()
getDisplayIfNull in class ComboMultiSelect