public static class ComboMultiSelect.PresetListEntry extends Object implements Comparable<ComboMultiSelect.PresetListEntry>
| Modifier and Type | Field and Description |
|---|---|
String |
display_value |
String |
icon
The location of icon file to display
|
String |
icon_size
The size of displayed icon.
|
String |
locale_display_value
The localized version of
display_value. |
String |
locale_short_description
The localized version of
short_description. |
int |
prefferedHeight |
int |
prefferedWidth |
String |
short_description |
String |
value |
String |
value_context
The context used for translating
value |
private File |
zipIcons |
| Constructor and Description |
|---|
PresetListEntry()
Constructs a new
PresetListEntry, uninitialized. |
PresetListEntry(String value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ComboMultiSelect.PresetListEntry o) |
String |
getDisplayValue(boolean translated) |
ImageIcon |
getIcon()
Returns the entry icon, if any.
|
String |
getListDisplay() |
String |
getShortDescription(boolean translated) |
String |
toString() |
public String value_context
valuepublic String display_value
public String short_description
public String icon_size
public String locale_display_value
display_value.public String locale_short_description
short_description.public int prefferedWidth
public int prefferedHeight
public PresetListEntry()
PresetListEntry, uninitialized.public PresetListEntry(String value)
public String getListDisplay()
public String getDisplayValue(boolean translated)
public String getShortDescription(boolean translated)
public int compareTo(ComboMultiSelect.PresetListEntry o)
compareTo in interface Comparable<ComboMultiSelect.PresetListEntry>