|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.base.Adaptee
org.norther.tammi.core.config.DefaultConfigurable
org.norther.tammi.sprig.chart.AbstractChartGenerator
public abstract class AbstractChartGenerator
An abstract implementation of the ChartGenerator.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.core.config.DefaultConfigurable |
|---|
MODIFIED, SYNCHRONIZED, UNMODIFIED |
| Fields inherited from class org.norther.tammi.core.base.Adaptee |
|---|
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS |
| Fields inherited from interface org.norther.tammi.sprig.chart.ChartGenerator |
|---|
BY_COLUMN, BY_ROW |
| Fields inherited from interface org.norther.tammi.core.base.MBeanDelegate |
|---|
ARRAY_TYPE, OBJECT_TYPE, PRIMITIVE_TYPE, STRING_TYPE |
| Constructor Summary | |
|---|---|
AbstractChartGenerator()
Constructs a new generator. |
|
| Method Summary | |
|---|---|
Encoder |
createEncoder(String extension)
Creates a new empty encoder. |
ChartLayout |
generate(ChartModel[] data,
int type,
int orientation)
Generates a layout from the specified models. |
ChartLayout |
generate(ChartModel data,
int type,
int orientation)
Generates a layout from the specified model. |
ChartLayout |
generate(ChartModel data,
int type,
int orientation,
int order,
int index)
Generates an ordered layout from the specified model. |
String |
getEncoderClassName(String extension)
Gets the class name of the specified encoder. |
void |
removeEncoderClassName(String extension)
Removes the class name of the specified encoder. |
void |
setEncoderClassName(String extension,
String className)
Sets the class name of the specified encoder. |
| Methods inherited from class org.norther.tammi.core.config.DefaultConfigurable |
|---|
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getConfiguration, getModifiedState, getProperties, getProperty, getPropertyFilePath, indexOfProperty, loadConfiguration, loadConfiguration, loadConfiguration, modified, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setModifiedState, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
|---|
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.sprig.chart.ChartGenerator |
|---|
generate |
| Methods inherited from interface org.norther.tammi.core.config.Configurable |
|---|
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
| Constructor Detail |
|---|
public AbstractChartGenerator()
| Method Detail |
|---|
public ChartLayout generate(ChartModel data,
int type,
int orientation)
throws LogException
ChartGenerator
generate in interface ChartGeneratordata - the data model.type - the chart type.orientation - the orientation.
LogException - on errors.
public ChartLayout generate(ChartModel[] data,
int type,
int orientation)
throws LogException
ChartGenerator
generate in interface ChartGeneratordata - the data models.type - the chart type.orientation - the orientation.
LogException - on errors.
public ChartLayout generate(ChartModel data,
int type,
int orientation,
int order,
int index)
throws LogException
ChartGenerator
generate in interface ChartGeneratordata - the data model.type - the chart type.orientation - the orientation.order - the model order.index - the model index.
LogException - on errors.public String getEncoderClassName(String extension)
ChartGenerator
getEncoderClassName in interface ChartGeneratorextension - the file name or extension.
public void setEncoderClassName(String extension,
String className)
ChartGenerator
setEncoderClassName in interface ChartGeneratorextension - the file name or extension.className - the class name of the encoder.public void removeEncoderClassName(String extension)
ChartGenerator
removeEncoderClassName in interface ChartGeneratorextension - the file name or extension.
public Encoder createEncoder(String extension)
throws LogException
ChartGenerator
createEncoder in interface ChartGeneratorextension - the file name or extension.
LogException - on errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||