java.lang.Object
io.github.palexdev.virtualizedfx.utils.ListChangeHelper.ReplaceBean
- 封闭类:
- ListChangeHelper
Bean to represent a replacement change.
In JavaFX replacements are a particular type of change because they can signal both replacements and removals at the same time.
For example if you useObservableList.setAll(Collection) the change will carry the new
items as a replacement and all the others as a removal.-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
ReplaceBean
-
-
方法详细资料
-
gerFrom
public int gerFrom()- 返回:
- the index at which the change started
-
getTo
public int getTo()- 返回:
- the index at which the change ended
-
isEmpty
public boolean isEmpty()- 返回:
- checks whether both 'changed' and 'removed' Sets are empty
-