--- a/tool/src/www/Table.java
+++ b/tool/src/www/Table.java
@@ -38,6 +38,31 @@
itemData = "",
headerData = "";
+
+ /**
+ * Creates a simplified table where the two elements are centered
+ * @param value1
+ * @param size1
+ * @param value2
+ * @param size2
+ * @return
+ */
+ public static String simple(String value1, int size1, String value2, int size2){
+ return "<table style=\"text-align: left; \" border=\"0\"\n" +
+ " cellpadding=\"0\" cellspacing=\"0\">\n" +
+ " <tbody>\n" +
+ " <tr>\n" +
+ " <td style=\"width: " + size1 + "px;\">"
+ + value1
+ + "</td>\n" +
+ " <td style=\"width: " + size2 + "px;\">"
+ + value2
+ + "</td>\n" +
+ " </tr>\n" +
+ " </tbody>\n" +
+ "</table>";
+ }
+
/**
* Public constructor, important to define the array
* @param header
@@ -60,7 +85,8 @@
}
- /**
+
+ /**
* Public constructor, important to define the array
* @param header
* @param length