< prev index next >

make/jdk/src/classes/build/tools/jdwpgen/AbstractTypeListNode.java

Print this page

        

@@ -38,25 +38,24 @@
         }
     }
 
     void document(PrintWriter writer) {
         writer.println("<dt>" + name() + " Data");
-        writer.println("<dd>");
         if (components.isEmpty()) {
-            writer.println("(None)");
+            writer.println("<dd>(None)");
         } else {
-            writer.println("<table><tr>");
-            writer.println("<th class=\"bold\" style=\"width: 20%\" scope=\"col\">Type");
-            writer.println("<th class=\"bold\" style=\"width: 15%\" scope=\"col\">Name");
-            writer.println("<th class=\"bold\" style=\"width: 65%\" scope=\"col\">Description");
-            writer.println("</tr>");
+            writer.println("<dd><table><tr>");
+            for (int i = maxStructIndent; i > 0; --i) {
+                writer.print("<th style=\"width: 4%\">");
+            }
+            writer.println("<th style=\"width: 15%\"><th style=\"width: 65%\">");
+            writer.println("");
             for (Node node : components) {
                 node.document(writer);
             }
             writer.println("</table>");
         }
-        writer.println("</dd>");
     }
 
     void genJavaClassBodyComponents(PrintWriter writer, int depth) {
         for (Node node : components) {
             TypeNode tn = (TypeNode)node;
< prev index next >