public final class DynamicHierPattern extends BasePattern<DynamicHierOptions>
| Constructor and Description |
|---|
DynamicHierPattern() |
| Modifier and Type | Method and Description |
|---|---|
BinderResult |
bind(BinderParams<DynamicHierOptions> params)
Binds the dynamic heirarchy component widget.
|
boolean |
canRebind(org.w3c.dom.Node parent,
org.w3c.dom.Node toBind)
By default, Binders have the option of checking the DOM tree further to see if they
can be bound to it.
|
CreatorResult |
create(CreatorParams<DynamicHierOptions> params)
Creates the dynamic hierarchy Component, defers to bind for binding the attributes.
|
DynamicHierOptions |
createOptions(CreatorParams<DynamicHierOptions> params)
Returns a new options class where all attributes are initially null.
|
DynamicHierOptions |
generateOptions(BinderParams<DynamicHierOptions> params)
Generates an options class based on the bind root.
|
getSingleBindRootpublic CreatorResult create(CreatorParams<DynamicHierOptions> params)
create in interface Creator2<DynamicHierOptions>create in class BasePattern<DynamicHierOptions>params - See CreatorParams for listingpublic BinderResult bind(BinderParams<DynamicHierOptions> params)
bind in interface Binder2<DynamicHierOptions>bind in class BaseBinder2<DynamicHierOptions>params - See BinderParams for a complete listpublic DynamicHierOptions createOptions(CreatorParams<DynamicHierOptions> params)
createOptions in interface Creator2<DynamicHierOptions>createOptions in class BasePattern<DynamicHierOptions>params - See CreatorParams for a complete listpublic DynamicHierOptions generateOptions(BinderParams<DynamicHierOptions> params)
generateOptions in interface Binder2<DynamicHierOptions>generateOptions in class BaseBinder2<DynamicHierOptions>params - See BinderParams for a complete listpublic boolean canRebind(org.w3c.dom.Node parent,
org.w3c.dom.Node toBind)
BaseBinder2@SimpleRebindChecking(true)canRebind in interface Binder2<DynamicHierOptions>canRebind in class BaseBinder2<DynamicHierOptions>parent - The parent of the nodes to be boundtoBind - The nodes to bind. Typically either a DocumentFragment or Element