public class Config extends Object
set(java.lang.String, java.lang.Object)
method. The list of supported properties is available at
Global Chart Configuration.Modifier and Type | Method and Description |
---|---|
Config |
callback(String name,
Runnable run)
Assigns a callback to the config object.
|
static Config |
create()
Creates new generic configuration object.
|
Config |
set(String propertyName,
Object value)
Assigns a value to the config object.
|
public static Config create()
public final Config set(String propertyName, Object value)
propertyName
- name of the propertyvalue
- value for the property (String
, int
,
double
or boolean
)this
public final Config callback(String name, Runnable run)
name
- the name of the property to assignrun
- the function to callback when that property is triggeredthis
Copyright © 2017. All rights reserved.