com.googlecode.wickedcharts.highcharts.options.processing
Class IdGeneratorProcessor
java.lang.Object
com.googlecode.wickedcharts.highcharts.options.processing.IdGeneratorProcessor
- All Implemented Interfaces:
- IOptionsProcessor
public class IdGeneratorProcessor
- extends Object
- implements IOptionsProcessor
This IOptionsProcessor assigns a unique ID to all Series,
Axis and Points that are contained in an Options
object.
After this processor has processed an Options object, you can
retrieve the assigned IDs by calling getWickedChartsId() on the
Series and Points.
- Author:
- Tom Hombergs (tom.hombergs@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdGeneratorProcessor
public IdGeneratorProcessor()
processOptions
public void processOptions(Options options,
OptionsProcessorContext context)
- Description copied from interface:
IOptionsProcessor
- Processes the given
Options. This method gives the opportunity to
modify an Options object before it is rendered as JSON. This
class is not part of the public API!
- Specified by:
processOptions in interface IOptionsProcessor
- Parameters:
options - the Options to process or modify.context - the context containing some context variables that may be accessed
and changed by the processor.
Copyright © 2013. All Rights Reserved.