public static interface Technology.BatchInit<D> extends Technology<D>
Technology.expose(org.netbeans.html.json.spi.FunctionBinding, java.lang.Object, java.lang.Object)
and
Technology.bind(org.netbeans.html.json.spi.PropertyBinding, java.lang.Object, java.lang.Object)
.
In such case implement the Technology.BatchInit.wrapModel(java.lang.Object, org.netbeans.html.json.spi.PropertyBinding[], org.netbeans.html.json.spi.FunctionBinding[])
method of this interface and it will be called instead of the
previous two ones.Technology.ApplyId<D>, Technology.BatchCopy<D>, Technology.BatchInit<D>, Technology.ToJavaScript<D>, Technology.ValueMutated<D>
Modifier and Type | Method and Description |
---|---|
D |
wrapModel(Object model,
PropertyBinding[] propArr,
FunctionBinding[] funcArr)
Wrap the given model into rendering technology appropriate object
D and expose given properties and functions on it. |
applyBindings, bind, expose, runSafe, toModel, valueHasMutated, wrapArray, wrapModel
D wrapModel(Object model, PropertyBinding[] propArr, FunctionBinding[] funcArr)
D
and expose given properties and functions on it.model
- the model
in JavapropArr
- array of property bindings to exposefuncArr
- array of functions to exposeCopyright © 2018 NetBeans. All rights reserved.