public class Combo extends ComboMultiSelect
ComboMultiSelect.ConcatenatingJList, ComboMultiSelect.PresetListEntry
KeyedItem.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_sort
DIFFERENT, 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, splitEscaped
determineBooleanUsage, determineTextUsage, getKeyTooltipText, isKeyRequired, matches, toString
fixPresetString, getLocaleText, getType, initAutoCompletionField, initAutoCompletionField, loadImageIcon, matches, parseInteger
public 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 ComboMultiSelect
protected java.lang.Object getSelectedItem()
getSelectedItem
in class ComboMultiSelect
protected java.lang.String getDisplayIfNull()
getDisplayIfNull
in class ComboMultiSelect