Package com.vladsch.plugin.util.ui
Interface ComboBoxAdapter<E extends ComboBoxAdaptable<E>>
-
- All Known Subinterfaces:
ComboBoxBooleanAdapter<E>
- All Known Implementing Classes:
ComboBoxAdaptable.Static,ComboBoxAdaptable.StaticBoolean,ComboBoxAdapterImpl,ComboBoxBooleanAdapterImpl
public interface ComboBoxAdapter<E extends ComboBoxAdaptable<E>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfillComboBox(@NotNull javax.swing.JComboBox<java.lang.String> comboBox, @NotNull ComboBoxAdaptable<?>... exclude)EfindEnum(int intValue)EfindEnum(java.lang.String displayName)EfindEnumName(java.lang.String name)EfindEnumNameOrNull(java.lang.String name)Eget(@NotNull javax.swing.JComboBox<java.lang.String> comboBox)EgetDefault()booleanisAdaptable(@NotNull ComboBoxAdaptable<?> type)booleanisBoolean()booleanonAll(int intValue, OnMap map)booleanonFirst(int intValue, OnMap map)booleansetComboBoxSelection(@NotNull javax.swing.JComboBox<java.lang.String> comboBox, @Nullable ComboBoxAdaptable<?> selection)voidsetDefaultValue(E defaultValue)EvalueOf(java.lang.String name)
-
-
-
Method Detail
-
isAdaptable
boolean isAdaptable(@NotNull @NotNull ComboBoxAdaptable<?> type)
-
setDefaultValue
void setDefaultValue(@NotNull E defaultValue)
-
onFirst
boolean onFirst(int intValue, OnMap map)
-
onAll
boolean onAll(int intValue, OnMap map)
-
fillComboBox
void fillComboBox(@NotNull @NotNull javax.swing.JComboBox<java.lang.String> comboBox, @NotNull @NotNull ComboBoxAdaptable<?>... exclude)
-
setComboBoxSelection
boolean setComboBoxSelection(@NotNull @NotNull javax.swing.JComboBox<java.lang.String> comboBox, @Nullable @Nullable ComboBoxAdaptable<?> selection)
-
findEnum
@NotNull E findEnum(int intValue)
-
findEnum
@NotNull E findEnum(java.lang.String displayName)
-
findEnumName
@NotNull E findEnumName(java.lang.String name)
-
findEnumNameOrNull
@Nullable E findEnumNameOrNull(java.lang.String name)
-
get
@NotNull E get(@NotNull @NotNull javax.swing.JComboBox<java.lang.String> comboBox)
-
valueOf
@NotNull E valueOf(java.lang.String name)
-
getDefault
@NotNull E getDefault()
-
isBoolean
boolean isBoolean()
-
-