@FunctionalInterface
public interface DataProvider
DataProvider
interface is queried for the data
until one of them returns the data. Data items can also be mapped to each other - for example,
if a data provider provides an item for CommonDataKeys.NAVIGATABLE
, an item for
CommonDataKeys.NAVIGATABLE_ARRAY
can be generated from it automatically.DataContext
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData(java.lang.String dataId)
Returns the object corresponding to the specified data identifier.
|
java.lang.Object getData(java.lang.String dataId)
PlatformDataKeys
class.dataId
- the data identifier for which the value is requested.