|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChartGenerator
An interface to chart generators.
| Nested Class Summary | |
|---|---|
static class |
ChartGenerator.ModelOrder
The model order. |
static class |
ChartGenerator.Orientation
The orientation. |
| Method Summary | |
|---|---|
Encoder |
createEncoder(String type)
Creates a new empty encoder. |
ChartLayout |
generate(ChartModel[] data,
ChartLayout.ChartType type,
ChartGenerator.Orientation orientation)
Generates a layout from the specified models. |
ChartLayout |
generate(ChartModel[] data,
ChartLayout.ChartType type,
ChartGenerator.Orientation orientation,
ChartGenerator.ModelOrder order,
int index)
Generates an ordered layout from the specified models. |
ChartLayout |
generate(ChartModel data,
ChartLayout.ChartType type,
ChartGenerator.Orientation orientation)
Generates a layout from the specified model. |
ChartLayout |
generate(ChartModel data,
ChartLayout.ChartType type,
ChartGenerator.Orientation orientation,
ChartGenerator.ModelOrder order,
int index)
Generates an ordered layout from the specified model. |
String |
getEncoderClassName(String type)
Gets the class name of the specified encoder. |
void |
removeEncoderClassName(String type)
Removes the class name of the specified encoder. |
void |
setEncoderClassName(String type,
String className)
Sets the class name of the specified encoder. |
| Methods inherited from interface org.norther.tammi.core.config.Configurable |
|---|
addProperty, addProperty, addPropertyFilePath, addPropertyFilePath, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, getPropertyFilePaths, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, removePropertyFilePath, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, setPropertyFilePaths, setPropertyFilePaths, storeProperties |
| Method Detail |
|---|
ChartLayout generate(ChartModel data,
ChartLayout.ChartType type,
ChartGenerator.Orientation orientation)
throws LogException
data - the data model.type - the chart type.orientation - the orientation.
LogException - on errors.
ChartLayout generate(ChartModel[] data,
ChartLayout.ChartType type,
ChartGenerator.Orientation orientation)
throws LogException
data - the data models.type - the chart type.orientation - the orientation.
LogException - on errors.
ChartLayout generate(ChartModel data,
ChartLayout.ChartType type,
ChartGenerator.Orientation orientation,
ChartGenerator.ModelOrder order,
int index)
throws LogException
data - the data model.type - the chart type.orientation - the orientation.order - the model order.index - the model index.
LogException - on errors.
ChartLayout generate(ChartModel[] data,
ChartLayout.ChartType type,
ChartGenerator.Orientation orientation,
ChartGenerator.ModelOrder order,
int index)
throws LogException
data - the data models.type - the chart type.orientation - the orientation.order - the model order.index - the model index.
LogException - on errors.String getEncoderClassName(String type)
type - the content type.
void setEncoderClassName(String type,
String className)
type - the content type.className - the class name of the encoder.void removeEncoderClassName(String type)
type - the content type.
Encoder createEncoder(String type)
throws LogException
type - the content type.
LogException - on errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||