public class TimelinePattern extends BaseBinder2<TimelineOptions> implements Creator2<TimelineOptions>
TimelinePattern
, the databinding pattern for configuring DVT Timeline
Constructor and Description |
---|
TimelinePattern() |
Modifier and Type | Method and Description |
---|---|
BinderResult |
bind(BinderParams<TimelineOptions> params)
To be implemented by subclasses.
|
CreatorResult |
create(CreatorParams<TimelineOptions> params)
Creates nodes to be inserted into the DOM.
|
TimelineOptions |
createOptions(CreatorParams<TimelineOptions> params)
If supported by the Creator, can create an pattern options resembling the default options
for this creator.
|
TimelineOptions |
generateOptions(BinderParams<TimelineOptions> params)
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.
|
canRebind
public CreatorResult create(CreatorParams<TimelineOptions> params)
Creator2
create
in interface Creator2<TimelineOptions>
params
- See CreatorParams for listingpublic BinderResult bind(BinderParams<TimelineOptions> params)
BaseBinder2
bind
in interface Binder2<TimelineOptions>
bind
in class BaseBinder2<TimelineOptions>
params
- See BinderParams for a complete listpublic TimelineOptions generateOptions(BinderParams<TimelineOptions> params)
BaseBinder2
generateOptions
in interface Binder2<TimelineOptions>
generateOptions
in class BaseBinder2<TimelineOptions>
params
- See BinderParams for a complete listpublic TimelineOptions createOptions(CreatorParams<TimelineOptions> params)
Creator2
createOptions
in interface Creator2<TimelineOptions>
params
- See CreatorParams for a complete listprotected org.w3c.dom.Element getSingleBindRoot(org.w3c.dom.Node bindRoots)
getSingleBindRoot
in class BaseBinder2<TimelineOptions>
bindRoots
- binding roots