Package org.zkoss.zuti.zul.differ
Class ForEachDiffer
- java.lang.Object
-
- org.zkoss.zuti.zul.differ.ForEachDiffer
-
public class ForEachDiffer extends java.lang.Object
A diffing utility for ForEach shadow element to do component tree diffing. With this optimization, it aims to update client DOM Tree effortlessly by using diff & patch mechanism. Sometimes or saying worst case, the optimization cannot be done with a few update instructions then it replaces the old component with a new one instead. (i.e. detach and then insert)- Since:
- 10.0.0
- Author:
- jumperchen
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
merge(java.util.List<java.lang.Object> data)
static boolean
merge(Component host, ForEach owner, java.util.List<java.lang.Object> data)
-