/** * Represents a property of an event. Does not represent an evaluation. * @param type {String} Ex: "CHP Radio" * @param data Array(text) OR Array(label1, text1, label2, text2, ...) */ function Property(type, data) { //========== public read-only members ==========// this.type = type; this.data = data; //========== public methods ==========// this.html = html; //========== method definitions ==========// /** * @return The html representation of this property. */ function html() { var text = "
| " + type + " | " + "
|---|
| " + this.data[0] + " | " + "" + this.data[i] + " | " + "" + this.data[i+1] + " | " + ""; } } text += "