01: /*
02: * MyGWT Widget Library
03: * Copyright(c) 2007, MyGWT.
04: * licensing@mygwt.net
05: *
06: * http://mygwt.net/license
07: */
08: package net.mygwt.ui.client.data;
09:
10: /**
11: * Defines the interface for objects that can retrieve data.
12: */
13: public interface DataProxy {
14:
15: /**
16: * Data should be retrived using the specified load config.
17: *
18: * @param reader the reader instance
19: * @param config the config
20: * @param cb the data callback
21: */
22: public void load(DataReader reader, LoadConfig config,
23: DataCallback cb);
24:
25: }
|