com.github.dandelion.datatables.core.generator.configuration
Class DatatablesGenerator
java.lang.Object
com.github.dandelion.datatables.core.generator.configuration.AbstractConfigurationGenerator
com.github.dandelion.datatables.core.generator.configuration.DatatablesGenerator
public class DatatablesGenerator
- extends AbstractConfigurationGenerator
Generator for the Datatables configuration.
- Author:
- Thibault Duchateau
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatatablesGenerator
public DatatablesGenerator()
generateConfig
public Map<String,Object> generateConfig(HtmlTable table)
- If no custom config is specified with table attributes, DataTables will
internally use default one.
- Specified by:
generateConfig in class AbstractConfigurationGenerator
- Parameters:
table - The POJO containing the HTML table.
- Returns:
- MainConf The main configuration file associated with the HTML
table.
Copyright © 2013–2014 Dandelion Project. All rights reserved.