/trunk/src/org/tela_botanica/client/modeles/Menu.java |
---|
16,9 → 16,13 |
} |
public Menu(String n) { |
set("nom", n); |
public Menu(String nom) { |
set("nom", nom); |
} |
public Menu(String nom, String code) { |
set("nom", nom); |
set("code", code); |
} |
public Menu(String nom, BaseTreeModel[] enfant) { |
this(nom); |
28,8 → 32,12 |
} |
public String getNom() { |
return (String) get("nom"); |
return get("nom"); |
} |
public String getCode() { |
return get("code"); |
} |
public String toString() { |
return getNom(); |