I want to create a class that inherits from the Combobox <BaseModeData>
Code:
public class extends ComboBox MyComboBox <BaseModelData> {
public MyComboBox (String text) {
}
}
Just comes to me an error:
no suitable constructor found for ComboBox(no arguments)
constructor ComboBox.ComboBox(ComboBoxCell<BaseModelData>) is not applicable
(actual and formal argument lists differ in length)
constructor ComboBox.ComboBox(ListStore<BaseModelData>,LabelProvider<? super BaseModelData>) is not applicable
(actual and formal argument lists differ in length)
constructor ComboBox.ComboBox(ListStore<BaseModelData>,LabelProvider<? super BaseModelData>,ListView<BaseModelData,?>) is not applicable
(actual and formal argument lists differ in length)
constructor ComboBox.ComboBox(ListStore<BaseModelData>,LabelProvider<? super BaseModelData>,ListView<BaseModelData,?>,TriggerFieldAppearance) is not applicable
(actual and formal argument lists differ in length)
constructor ComboBox.ComboBox(ListStore<BaseModelData>,LabelProvider<? super BaseModelData>,SafeHtmlRenderer<BaseModelData>) is not applicable
(actual and formal argument lists differ in length)
constructor ComboBox.ComboBox(ListStore<BaseModelData>,LabelProvider<? super BaseModelData>,SafeHtmlRenderer<BaseModelData>,TriggerFieldAppearance) is not applicable
(actual and formal argument lists differ in length)
constructor ComboBox.ComboBox(ListStore<BaseModelData>,LabelProvider<? super BaseModelData>,TriggerFieldAppearance) is not applicable
(actual and formal argument lists differ in length)
----
MyCombobox extends Combobox problem
Aucun commentaire:
Enregistrer un commentaire