Class GridViewElement
java.lang.Object
com.ultikits.ultitools.abstracts.gui.declarative.core.Element
com.ultikits.ultitools.abstracts.gui.declarative.widgets.GridViewElement
GridView 对应的 Element。
- Since:
- 6.2.0
- Version:
- 1.0.0
- Author:
- UltiTools Team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription获取子 Element 列表。void将此 Element 挂载到树中。private voidvoid执行重建。voidunmount()从树中移除此 Element。void使用新的 Widget 更新此 Element。private voidMethods inherited from class com.ultikits.ultitools.abstracts.gui.declarative.core.Element
addChild, assignContext, canUpdate, clearDirty, getContext, getParent, getWidget, isDirty, isMounted, markChildNeedsBuild, markNeedsBuild, toString, updateChild
-
Field Details
-
childElements
-
-
Constructor Details
-
GridViewElement
-
-
Method Details
-
mount
Description copied from class:Element将此 Element 挂载到树中。这个方法在 Element 首次插入树中时调用。 子类应该在此处执行初始化工作,并挂载子 Element。
-
update
Description copied from class:Element使用新的 Widget 更新此 Element。这个方法在 Widget 重建时被调用。 子类应该更新对 Widget 的引用,并执行必要的更新。
-
performRebuild
public void performRebuild()Description copied from class:Element执行重建。子类应该实现此方法来构建或重建 Widget 树。
- Specified by:
performRebuildin classElement
-
unmount
public void unmount()Description copied from class:Element从树中移除此 Element。这个方法在 Element 不再需要时被调用。 子类应该在此处执行清理工作,并卸载子 Element。
-
getChildren
Description copied from class:Element获取子 Element 列表。- Overrides:
getChildrenin classElement- Returns:
- 子 Element 列表,如果没有则返回空列表
-
mountChildren
private void mountChildren() -
updateChildren
private void updateChildren()
-