package de.lessvoid.nifty.controls.dropdown.builder;

import de.lessvoid.nifty.builder.ControlBuilder;

public class DropDownBuilder extends ControlBuilder {
  public DropDownBuilder(final String id) {
    super(id, "dropDown");
  }

  public void viewConverterClass(final Class<?> clazz) {
    set("viewConverterClass", clazz.getName());
  }
}

@@ -335,11 +335,124 @@
 ());%0A  %7D
+%0A%0A  public void displayItems(final int displayItems) %7B%0A    set(%22displayItems%22, String.valueOf(displayItems));%0A  %7D
 %0A%7D%0A

Add displayItems method to DropDownBuilder.