// build form
FormBuilder f = new FormBuilder("diamant.tile.detail");
// add all
for (TYPE t : CTileset.TYPE.values()) {
final TYPE t2 = t;
f.addElement("basic." + t,
new FormCheckbox(t.toString(), tileset.getTypes(index, t)).addChangeListener(new FormElementChangeListener() {
@Override
public void stateChanged(FormElement form) {