public static interface SectionTree.Target
Modifier and Type | Interface and Description |
---|---|
static class |
SectionTree.Target.DynamicConfig |
Modifier and Type | Method and Description |
---|---|
void |
changeConfig(SectionTree.Target.DynamicConfig dynamicConfig)
Notify this target that a new set of configurations is applied.
|
void |
delete(int index)
Notify that the
Component at index was deleted. |
void |
deleteRange(int index,
int count) |
void |
insert(int index,
RenderInfo renderInfo)
Notify that a
Component was added at index. |
void |
insertRange(int index,
int count,
java.util.List<RenderInfo> renderInfos) |
void |
move(int fromPosition,
int toPosition)
Notify that a
Component was moved fromPosition toPosition. |
void |
notifyChangeSetComplete(boolean isDataChanged,
ChangeSetCompleteCallback changeSetCompleteCallback)
Called when a changeset has finished being applied.
|
void |
requestFocus(int index)
Request focus on the item with the given index.
|
void |
requestFocusWithOffset(int index,
int offset)
Request focus on the item with the given index, plus some additional offset.
|
void |
requestFocusWithOffset(java.lang.Object id,
int offset)
Request focus on the item with the given id, plus some additional offset.
|
void |
requestSmoothFocus(int index,
int offset,
SmoothScrollAlignmentType type)
Request smooth focus on the item with the given index.
|
void |
requestSmoothFocus(java.lang.Object id,
int offset,
SmoothScrollAlignmentType type)
Request smooth focus on the item with the given Handle.
|
boolean |
supportsBackgroundChangeSets() |
void |
update(int index,
RenderInfo renderInfo)
Notify that a
Component was updated at index. |
void |
updateRange(int index,
int count,
java.util.List<RenderInfo> renderInfos) |
void insert(int index, RenderInfo renderInfo)
Component
was added at index.void insertRange(int index, int count, java.util.List<RenderInfo> renderInfos)
void update(int index, RenderInfo renderInfo)
Component
was updated at index.void updateRange(int index, int count, java.util.List<RenderInfo> renderInfos)
void delete(int index)
Component
at index was deleted.void deleteRange(int index, int count)
void move(int fromPosition, int toPosition)
Component
was moved fromPosition toPosition.void notifyChangeSetComplete(boolean isDataChanged, ChangeSetCompleteCallback changeSetCompleteCallback)
void requestFocus(int index)
void requestSmoothFocus(int index, int offset, SmoothScrollAlignmentType type)
void requestSmoothFocus(java.lang.Object id, int offset, SmoothScrollAlignmentType type)
void requestFocusWithOffset(int index, int offset)
void requestFocusWithOffset(java.lang.Object id, int offset)
boolean supportsBackgroundChangeSets()
void changeConfig(SectionTree.Target.DynamicConfig dynamicConfig)