Packagecom.daveoncode.logging.io
Classpublic class DataLoader
InheritanceDataLoader Inheritance flash.events.EventDispatcher

This class has the duty to fill a DataGrid asynchronously by using data returned by LogReader's read() method



Public Methods
 MethodDefined by
  
DataLoader(grid:DataGrid, data:String, updateInterval:uint = 10)
DataLoader
  
load():void
Fill grid's dataProvider asynchronously.
DataLoader
Constructor detail
DataLoader()constructor
public function DataLoader(grid:DataGrid, data:String, updateInterval:uint = 10)

Parameters
grid:DataGridDataGrid to fill
 
data:StringLog file content returned by LogReader
 
updateInterval:uint (default = 10)Number of milliseconds between each update step
Method detail
load()method
public function load():void

Fill grid's dataProvider asynchronously. Dispatch a TimerEvent event when finished

See also