A general interface for data provision.
Remarks
Type Details
- yfiles module
- algorithms
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.algorithms.IDataProvider
See Also
Methods
Returns an object value associated with the given data holder.
Remarks
Returns a boolean value associated with the given data holder.
Remarks
Returns an integer value associated with the given data holder.
Remarks
Returns a double value associated with the given data holder.
Remarks
Static Methods
Creates an implementation of the interface IDataProvider from the given definition.
Remarks
Parameters
A map of options to pass to the method.
- get - function(any):any
Returns an object value associated with the given data holder.
This property holds the implementation for get.
- getInt - function(any):number
Returns an integer value associated with the given data holder.
This property holds the implementation for getInt.
- getNumber - function(any):number
Returns a double value associated with the given data holder.
This property holds the implementation for getNumber.
- getBoolean - function(any):boolean
Returns a boolean value associated with the given data holder.
This property holds the implementation for getBoolean.
Returns
- ↪IDataProvider
- An instance of the IDataProvider interface based on the given definition.