Affichage des articles dont le libellé est MyCombobox extends Combobox problem. Afficher tous les articles
Affichage des articles dont le libellé est MyCombobox extends Combobox problem. Afficher tous les articles

dimanche 5 octobre 2014

MyCombobox extends Combobox problem

Hello,

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