public class TextBindingStrategy extends Object implements BindingStrategy<elemental.dom.Text>
Node.| Constructor and Description |
|---|
TextBindingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(StateNode stateNode,
elemental.dom.Text htmlNode,
BinderContext nodeFactory)
Binds a DOM node to the
stateNode using context to create
and bind nodes of other types. |
elemental.dom.Text |
create(StateNode node)
Creates a DOM node for the
node. |
boolean |
isApplicable(StateNode node)
Returns
true is the strategy is applicable to the node. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTagpublic elemental.dom.Text create(StateNode node)
BindingStrategynode.create in interface BindingStrategy<elemental.dom.Text>node - the state node for which to create a DOM node, not
nullnullpublic boolean isApplicable(StateNode node)
BindingStrategytrue is the strategy is applicable to the node.isApplicable in interface BindingStrategy<elemental.dom.Text>node - the state node to check against oftrue if the strategy is applicable to the nodepublic void bind(StateNode stateNode, elemental.dom.Text htmlNode, BinderContext nodeFactory)
BindingStrategystateNode using context to create
and bind nodes of other types.bind in interface BindingStrategy<elemental.dom.Text>stateNode - the state node to bind, not nullhtmlNode - the DOM node, not nullnodeFactory - binder context to create and construct HTML nodes of other
typesCopyright © 2000–2025 Vaadin Ltd. All rights reserved.