Class ResourceDataSource
- java.lang.Object
-
- com.adobe.granite.ui.components.ds.AbstractDataSource
-
- com.adobe.granite.ui.components.ds.SimpleDataSource
-
- com.adobe.granite.ui.components.ds.ResourceDataSource
-
- All Implemented Interfaces:
DataSource
public class ResourceDataSource extends SimpleDataSource
A datasource that takes a resource's children as its data. i.e. the data is fromResource.listChildren()
.
-
-
Constructor Summary
Constructors Constructor Description ResourceDataSource(Resource resource)
-
Method Summary
-
Methods inherited from class com.adobe.granite.ui.components.ds.SimpleDataSource
iterator
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.granite.ui.components.ds.DataSource
getGuessTotal, getLimit, getOffset
-
-
-
-
Constructor Detail
-
ResourceDataSource
public ResourceDataSource(@Nonnull Resource resource)
-
-