public interface IOptionsProcessor
Options before they are renderer.| Modifier and Type | Method and Description |
|---|---|
void |
processOptions(Options options,
OptionsProcessorContext context)
Processes the given
Options. |
void processOptions(Options options, OptionsProcessorContext context)
Options. This method gives the opportunity to
modify an Options object before it is rendered as JSON.
Example usage of this interface:
Options
object, that object calls
Options.markForProcessing(com.googlecode.wickedcharts.highcharts.options.IProcessableOption)
to mark itself for later processing by an IOptionsProcessor.IOptionsProcessor calls
Options.getMarkedForProcessing(String) to get a list of all option
objects marked this way.IOptionsProcessor modifies the Options object based
on the information it gets from the marked objects.options - the Options to process or modify.context - the context containing some context variables that may be accessed
and changed by the processor.Copyright © 2012. All Rights Reserved.