code: private String buildSelectButtonStyle(String htmlAttributes, int selectedIndex) {
  
          List<String> options = new ArrayList<String>(3);
          options.add(key(Messages.GUI_PREF_BUTTONSTYLE_IMG_0));
          options.add(key(Messages.GUI_PREF_BUTTONSTYLE_IMGTXT_0));
          options.add(key(Messages.GUI_PREF_BUTTONSTYLE_TXT_0));
          String[] vals = new String[] {"0", "1", "2"};
          List<String> values = new ArrayList<String>(java.util.Arrays.asList(vals));
          return buildSelect(htmlAttributes, options, values, selectedIndex);
      }
docs: Builds the html for a common button style select box.<p>
  
  @param htmlAttributes optional html attributes for the &lgt;select&gt; tag
  @param selectedIndex the index of the selected option
  @return the html for the common button style select box