public class ColorThemePattern extends BaseBinder2<AbstractMapThemeOptions> implements Creator2<AbstractMapThemeOptions>
| Constructor and Description |
|---|
ColorThemePattern() |
| Modifier and Type | Method and Description |
|---|---|
BinderResult |
bind(BinderParams<AbstractMapThemeOptions> params)
To be implemented by subclasses.
|
CreatorResult |
create(CreatorParams<AbstractMapThemeOptions> params)
Creates nodes to be inserted into the DOM.
|
MapColorThemeOptions |
createOptions(CreatorParams<AbstractMapThemeOptions> params)
Creates a new empty MapColorThemeOptions class.
|
MapColorThemeOptions |
generateOptions(BinderParams<AbstractMapThemeOptions> params)
This method can be called whenever the user wants to rebind an already bound mapColorTheme
component.
|
canRebind, getSingleBindRootpublic CreatorResult create(CreatorParams<AbstractMapThemeOptions> params)
Creator2create in interface Creator2<AbstractMapThemeOptions>params - See CreatorParams for listingpublic BinderResult bind(BinderParams<AbstractMapThemeOptions> params)
BaseBinder2bind in interface Binder2<AbstractMapThemeOptions>bind in class BaseBinder2<AbstractMapThemeOptions>params - See BinderParams for a complete listpublic MapColorThemeOptions generateOptions(BinderParams<AbstractMapThemeOptions> params)
generateOptions in interface Binder2<AbstractMapThemeOptions>generateOptions in class BaseBinder2<AbstractMapThemeOptions>params - an instance of BinderParamspublic MapColorThemeOptions createOptions(CreatorParams<AbstractMapThemeOptions> params)
createOptions in interface Creator2<AbstractMapThemeOptions>params - an instance of CreatorParamsMapColorThemeOptions