|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ikokoon.serenity.hudson.modeller.HighchartsModeller
public class HighchartsModeller
This class takes the composites and generates the data arrays for the Highcharts model, and makes a big string that can be inserted into the Highcharts object on the front end.
| Constructor Summary | |
|---|---|
HighchartsModeller(java.lang.String modelName,
java.lang.Integer... buildNumbers)
Constructor takes the name of the model file, either the floating box model which is smaller or the graph model. |
|
| Method Summary | |
|---|---|
java.lang.String |
getModel()
Accesses the model in a base64 string representation. |
void |
visit(java.lang.Class<?> klass,
Composite<?,?>... composites)
Visits the composites and generates a model string for the Highcharts javaScript graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HighchartsModeller(java.lang.String modelName,
java.lang.Integer... buildNumbers)
modelName - the name of the model filebuildNumbers - the numbers that should be on the x-axis| Method Detail |
|---|
public java.lang.String getModel()
getModel in interface IModeller
public void visit(java.lang.Class<?> klass,
Composite<?,?>... composites)
visit in interface IModellerklass - the class of the compositecomposites - the list of composites to generate the model from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||