Class DefaultsBuilder
- java.lang.Object
-
- org.pepstock.charba.client.defaults.globals.DefaultsBuilder
-
public final class DefaultsBuilder extends Object
Singleton builder of defaults options, with or without scales.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultsBuilder
get()
Singleton method to return the instanceDefaultOptions
getOptions()
Returns the default options without scales.DefaultScale
getScale()
Returns the default scale.DefaultScaledOptions
getScaledOptions()
Returns the default options with scales.
-
-
-
Method Detail
-
get
public static DefaultsBuilder get()
Singleton method to return the instance- Returns:
- default builder instance
-
getOptions
public DefaultOptions getOptions()
Returns the default options without scales.- Returns:
- the default options without scales.
-
getScaledOptions
public DefaultScaledOptions getScaledOptions()
Returns the default options with scales.- Returns:
- the default options with scales.
-
getScale
public DefaultScale getScale()
Returns the default scale.- Returns:
- the default scale.
-
-