Exemple #1
0
 @Override
 public void render(Renderer r) throws IOException {
   r.print("<tr");
   if (mId != null) {
     r.print(" id=\"" + mId + "\"");
   }
   if (mStyle != null) {
     r.print(" class=\"" + mStyle + "\"");
   }
   r.println(">");
   super.render(r);
   r.println("</tr>");
 }
Exemple #2
0
  @Override
  public void render(Renderer r) throws IOException {
    String tblCls = mStyles;
    if (0 != (mTableFlags & FLAG_SORT)) {
      tblCls += " tablesorter";
    }
    if (0 != (mTableFlags & FLAG_DND)) {
      tblCls += " tablednd";
    }
    if (0 != (mTableFlags & FLAG_COL_RESIZE)) {
      tblCls += " colResizable";
    }

    r.println("<table class=\"" + tblCls + "\">");
    super.render(r);
    r.println("</table>");
  }
Exemple #3
0
 @Override
 public void render(Renderer r) throws IOException {
   r.print("<td");
   if (mStyle != null) {
     r.print(" class=\"");
     r.print(mStyle);
     r.print("\"");
   }
   if (mHint != null) {
     r.print(" title=\"");
     r.print(mHint);
     r.print("\"");
   }
   r.print(">");
   if (mText != null) {
     r.print(mText);
   } else {
     super.render(r);
   }
   r.print("</td>");
 }
Exemple #4
0
 @Override
 public void render(Renderer r) throws IOException {
   r.println("<tbody>");
   super.render(r);
   r.println("</tbody>");
 }