public static interface Technology.BatchCopy<D> extends Technology<D>
Technology.BatchInit
with enhanced support for
copying values. Technologies that support this interface provide a
guarantee that result Models.toRaw(java.lang.Object)
wrapped by Models.fromRaw(net.java.html.BrwsrCtx, java.lang.Class, java.lang.Object)
will share essential properties (and not just values) of the original object.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,
Object copyFrom,
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, Object copyFrom, PropertyBinding[] propArr, FunctionBinding[] funcArr)
D
and expose given properties and functions on it.model
- the model
in JavacopyFrom
- the object to copy data from
(expectably of type D, but that isn't guaranteed) or null
propArr
- array of property bindings to exposefuncArr
- array of functions to exposeCopyright © 2018 NetBeans. All rights reserved.