public class IlvChartConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
IlvChartConfiguration.IlvDataSourceXMLSerializer
The interface for
IlvDataSource serializer. |
Constructor and Description |
---|
IlvChartConfiguration()
Creates a new
IlvChartConfiguration object. |
Modifier and Type | Method and Description |
---|---|
void |
addDataSource(IlvDataSource dataSource)
Add the specified data source to this configuration.
|
void |
addStyleSheet(String ssheet)
Adds the specified style sheet to this configuration.
|
void |
addStyleSheets(String[] ssheets)
Adds the specified style sheets to this configuration.
|
void |
apply(IlvChart chart)
Apply this configuration on the specified chart.
|
void |
applyDataSource(IlvChart chart)
Apply the datasource of this configuration on the specified chart.
|
void |
applyStyling(IlvChart chart)
Applies the styling of this configuration to the specified chart.
|
IlvDataSource |
getDataSource(int idx)
Returns the data source at the given index.
|
int |
getDataSourceCount()
Returns the number of data sources handled by this configuration.
|
Iterator<IlvDataSource> |
getDataSourceIterator()
Returns an iterator over all the data sources handled by this
configuration.
|
static IlvChartConfiguration.IlvDataSourceXMLSerializer |
getDataSourceSerializer(Class<?> clazz)
Returns the data source serializer for the specified IlvDataSource class.
|
String[] |
getStyleSheets()
Returns the style sheets handled by this configuration.
|
void |
read(URL url)
Reads the configuration from the specified url.
|
void |
setDataSources(IlvDataSource[] dataSources)
Sets the datasources of this configuration.
|
static void |
setDataSourceSerializer(Class<?> clazz,
IlvChartConfiguration.IlvDataSourceXMLSerializer serializer)
Sets the data source serializer for the specified IlvDataSource class.
|
void |
setStyleSheets(String[] ssheets)
Sets the style sheets.
|
void |
write(URL url)
Writes this configuration to the specified URL.
|
public IlvChartConfiguration()
IlvChartConfiguration
object.public final Iterator<IlvDataSource> getDataSourceIterator()
public final int getDataSourceCount()
public final IlvDataSource getDataSource(int idx)
public final void setStyleSheets(String[] ssheets)
public final String[] getStyleSheets()
public final void setDataSources(IlvDataSource[] dataSources)
public final void addDataSource(IlvDataSource dataSource)
public final void addStyleSheet(String ssheet)
public final void addStyleSheets(String[] ssheets)
public void apply(IlvChart chart) throws IlvStylingException
IlvStylingException
public void applyDataSource(IlvChart chart)
public void applyStyling(IlvChart chart) throws IlvStylingException
IlvStylingException
public void read(URL url) throws IOException
IOException
public void write(URL url) throws IOException
IOException
public static void setDataSourceSerializer(Class<?> clazz, IlvChartConfiguration.IlvDataSourceXMLSerializer serializer)
public static IlvChartConfiguration.IlvDataSourceXMLSerializer getDataSourceSerializer(Class<?> clazz)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.