Rev 1007 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.client.composants;
import java.util.HashMap;
import org.tela_botanica.client.modeles.Valeur;
import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.widget.form.ComboBox;
import com.extjs.gxt.ui.client.widget.form.DateField;
import com.extjs.gxt.ui.client.widget.form.LabelField;
import com.extjs.gxt.ui.client.widget.form.Radio;
import com.extjs.gxt.ui.client.widget.form.TextArea;
import com.extjs.gxt.ui.client.widget.form.TextField;
public class HashMapComposants extends HashMap {
public TextField getTextField(String name) {
return (TextField) get(name);
}
public DateField getDateField(String name) {
return (DateField) get(name);
}
public LabelField getLabelField(String name) {
return (LabelField) get(name);
}
public ChampMultiValeurs getChampMultiValeurs(String name) {
return (ChampMultiValeurs) get(name);
}
public ChampMultiValeursMultiTypes getChampMultiValeursMultiTypes(String name) {
return (ChampMultiValeursMultiTypes) get(name);
}
public ChampMultiValeursImage getChampMultiValeursImage(String name) {
return (ChampMultiValeursImage) get(name);
}
public Radio getRadio(String name) {
return (Radio) get(name);
}
public TextArea getTextArea(String name) {
return (TextArea) get(name);
}
public ComboBox<Valeur> getComboBoxValeur(String name) {
return (ComboBox<Valeur>) get(name);
}
public ComboBox getComboBox(String name) {
return (ComboBox<Valeur>) get(name);
}
}