public class TreemapPattern extends BaseBinder2<TreemapOptions> implements Creator2<TreemapOptions>
| Constructor and Description |
|---|
TreemapPattern() |
| Modifier and Type | Method and Description |
|---|---|
BinderResult |
bind(BinderParams<TreemapOptions> params)
Binds a Treemap component to its datasource.
|
CreatorResult |
create(CreatorParams<TreemapOptions> params)
Creates nodes to be inserted into the DOM.
|
TreemapOptions |
createOptions(CreatorParams<TreemapOptions> params)
Creates a new empty TreemapOptions class.
|
TreemapOptions |
generateOptions(BinderParams<TreemapOptions> params)
This method can be called whenever the user wants to rebind an already bound Treemap component.
|
canRebind, getSingleBindRootpublic CreatorResult create(CreatorParams<TreemapOptions> params)
Creator2create in interface Creator2<TreemapOptions>params - See CreatorParams for listingpublic BinderResult bind(BinderParams<TreemapOptions> params)
bind in interface Binder2<TreemapOptions>bind in class BaseBinder2<TreemapOptions>params - BinderParams instance that has a reference to the TreemapOptions class already set with relevant Treemap and binding properties.public TreemapOptions generateOptions(BinderParams<TreemapOptions> params)
generateOptions in interface Binder2<TreemapOptions>generateOptions in class BaseBinder2<TreemapOptions>params - an instance of BinderParamspublic TreemapOptions createOptions(CreatorParams<TreemapOptions> params)
createOptions in interface Creator2<TreemapOptions>params -