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