code: public String buttonBar(int segment, String attributes) {
  
          if (segment == HTML_START) {
              String result = "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\"";
              if (attributes != null) {
                  result += " " + attributes;
              }
              return result + "><tr>\n";
          } else {
              return "</tr></table>";
          }
      }
docs: Returns the html for a button bar.<p>
  
  @param segment the HTML segment (START / END)
  @param attributes optional attributes for the table tag
  
  @return a button bar html start / end segment