- All Superinterfaces:
- All Known Implementing Classes:
- See Also:
Method SummaryModifier and TypeMethodDescription
voidCalled by a job run in a separate thread to fetch the children of this adapter.Returns the rule used to schedule the deferred fetching of children for this adapter.
booleanReturns whether this adapter may have children.
fetchDeferredChildrenCalled by a job run in a separate thread to fetch the children of this adapter. The adapter should in return notify of new children via the collector. This is generally used when a content provider is getting elements.
It is good practice to check the passed in monitor for cancellation. This will provide good responsiveness for cancellation requests made by the user.
object- the object to fetch the children for
collector- the collector to notify about new children. Should not be
monitor- a progress monitor that will never be
nullto support reporting and cancellation.
isContainerboolean isContainer()Returns whether this adapter may have children. This is an optimized method used by content providers to allow showing the [+] expand icon without having yet fetched the children for the element.
falseis returned, then the content provider may assume that this adapter has no children. If
trueis returned, then the job manager may assume that this adapter may have children.
trueif the adapter may have childen, and
getRuleReturns the rule used to schedule the deferred fetching of children for this adapter.
object- the object whose children are being fetched
- the scheduling rule. May be
- See Also: