public class TimeAxisPattern extends BaseBinder2<TimeAxisOptions> implements Creator2<TimeAxisOptions>
TimeAxisPattern, the databinding pattern for configuring DVT Time Axis.
| Constructor and Description |
|---|
TimeAxisPattern() |
| Modifier and Type | Method and Description |
|---|---|
BinderResult |
bind(BinderParams<TimeAxisOptions> params)
To be implemented by subclasses.
|
CreatorResult |
create(CreatorParams<TimeAxisOptions> params)
Creates nodes to be inserted into the DOM.
|
TimeAxisOptions |
createOptions(CreatorParams<TimeAxisOptions> creatorParams)
If supported by the Creator, can create an pattern options resembling the default options for this creator.
|
TimeAxisOptions |
generateOptions(BinderParams<TimeAxisOptions> binderParams)
Binders can provide an options class that can be used to configure the environment based on what is already there.
|
protected org.w3c.dom.Element |
getSingleBindRoot(org.w3c.dom.Node bindRoots)
Convenience method to return a single element from the set of bind roots.
|
canRebindpublic CreatorResult create(CreatorParams<TimeAxisOptions> params)
Creator2create in interface Creator2<TimeAxisOptions>params - See CreatorParams for listingpublic BinderResult bind(BinderParams<TimeAxisOptions> params)
BaseBinder2bind in interface Binder2<TimeAxisOptions>bind in class BaseBinder2<TimeAxisOptions>params - See BinderParams for a complete listpublic TimeAxisOptions generateOptions(BinderParams<TimeAxisOptions> binderParams)
BaseBinder2generateOptions in interface Binder2<TimeAxisOptions>generateOptions in class BaseBinder2<TimeAxisOptions>binderParams - See BinderParams for a complete listpublic TimeAxisOptions createOptions(CreatorParams<TimeAxisOptions> creatorParams)
Creator2createOptions in interface Creator2<TimeAxisOptions>creatorParams - See CreatorParams for a complete listprotected org.w3c.dom.Element getSingleBindRoot(org.w3c.dom.Node bindRoots)
getSingleBindRoot in class BaseBinder2<TimeAxisOptions>