| Package | Description |
|---|---|
| com.zavtech.morpheus.viz.chart | |
| com.zavtech.morpheus.viz.google | |
| com.zavtech.morpheus.viz.jfree | |
| com.zavtech.morpheus.viz.js |
| Modifier and Type | Method and Description |
|---|---|
void |
Chart.accept(JsCode jsCode,
String functionName,
String divId)
Writes a Javascript function with the name specified that will render this chart
|
| Modifier and Type | Method and Description |
|---|---|
void |
GXyDataset.accept(JsCode script) |
void |
GPieModel.accept(JsCode script) |
void |
GChart.accept(JsCode jsCode,
String functionName,
String divId) |
| Modifier and Type | Method and Description |
|---|---|
void |
JFChartBase.accept(JsCode jsCode,
String functionName,
String divId) |
| Modifier and Type | Field and Description |
|---|---|
private JsCode |
JsObject.script |
private JsCode |
JsArray.script |
| Modifier and Type | Method and Description |
|---|---|
JsCode |
JsCode.clear()
Deletes the entire code buffer
|
JsCode |
JsCode.indent(int count)
Increases the indentation for the current line by a certain number of spaces
|
JsCode |
JsCode.newArray(boolean inline,
Consumer<JsArray> consumer)
Writes a new array, optionally in one line, based ont he consuner specified
|
JsCode |
JsCode.newArray(Consumer<JsArray> consumer)
Writes a new array to the code buffer based on the consumer
|
JsCode |
JsCode.newFunction(String name,
Consumer<JsCode> consumer) |
JsCode |
JsCode.newFunction(String name,
String args,
Consumer<JsCode> consumer) |
JsCode |
JsCode.newLine()
Starts a new line and indents the new line based on current indentation
|
JsCode |
JsCode.newLine(int count)
Starts a new line and indents the new line based on current indentation
|
JsCode |
JsCode.newObject(boolean inline,
Consumer<JsObject> consumer)
Writes a new object, optionally on one line, based on the consumer
|
JsCode |
JsCode.newObject(Consumer<JsObject> consumer)
Writes a new object to the code buffer based on the consumer
|
JsCode |
JsCode.unident(int count)
Removes spaces from the current indentation
|
JsCode |
JsCode.write(String code,
Object... args)
Writes formatted code string to the output buffer
|
| Modifier and Type | Method and Description |
|---|---|
static String |
JsCode.create(Consumer<JsCode> consumer)
Returns a Javascript string generated by the consumer logic
|
JsCode |
JsCode.newFunction(String name,
Consumer<JsCode> consumer) |
JsCode |
JsCode.newFunction(String name,
String args,
Consumer<JsCode> consumer) |
| Constructor and Description |
|---|
JsArray(JsCode script,
boolean inline)
Constructor
|
JsObject(JsCode script,
boolean inline)
Constructor
|
Copyright 2014-2017, Xavier Witdouck