Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1239 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
7 changed files with 84 additions and 81 deletions
@ -1,56 +0,0 @@ |
|||||||
/* |
|
||||||
* Created by SharpDevelop. |
|
||||||
* User: Forstmeier Peter |
|
||||||
* Date: 08.10.2005 |
|
||||||
* Time: 17:03 |
|
||||||
* |
|
||||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
|
||||||
*/ |
|
||||||
|
|
||||||
namespace SharpReportCore { |
|
||||||
public interface IDataContainer { |
|
||||||
/// <summary>
|
|
||||||
/// Setup the Databinding, return true if databinding was ok
|
|
||||||
/// </summary>
|
|
||||||
bool DataBind(); |
|
||||||
// /// <summary>
|
|
||||||
// /// Move to next row
|
|
||||||
// /// </summary>
|
|
||||||
// /// <returns></returns>
|
|
||||||
// void Skip();
|
|
||||||
/// <summary>
|
|
||||||
/// reste Datasource,move to position 0
|
|
||||||
/// </summary>
|
|
||||||
void Reset (); |
|
||||||
|
|
||||||
// /// <summary>
|
|
||||||
// /// Reads one row of data and fill the
|
|
||||||
// /// <see cref="ReportItemCollection"></see>
|
|
||||||
// void FetchData (ReportItemCollection collection);
|
|
||||||
|
|
||||||
int Count { |
|
||||||
get; |
|
||||||
} |
|
||||||
/// <summary>
|
|
||||||
/// Get the Position in List
|
|
||||||
/// </summary>
|
|
||||||
int CurrentRow { |
|
||||||
get; |
|
||||||
} |
|
||||||
/// <summary>
|
|
||||||
/// Returns true when there are more Data to Read, false if we are on the end
|
|
||||||
/// or the list is empty
|
|
||||||
/// </summary>
|
|
||||||
bool HasMoreData { |
|
||||||
get; |
|
||||||
} |
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Set/read a valid FilterString, <see cref="System.Datat.DataView"></see>
|
|
||||||
/// </summary>
|
|
||||||
string Filter { |
|
||||||
get;set; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
@ -0,0 +1,42 @@ |
|||||||
|
/* |
||||||
|
* Created by SharpDevelop. |
||||||
|
* User: Forstmeier Peter |
||||||
|
* Date: 08.10.2005 |
||||||
|
* Time: 17:03 |
||||||
|
* |
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
||||||
|
*/ |
||||||
|
using System; |
||||||
|
using System.Collections; |
||||||
|
using System.ComponentModel; |
||||||
|
|
||||||
|
namespace SharpReportCore { |
||||||
|
public interface IDataNavigator { |
||||||
|
|
||||||
|
void Fill (ReportItemCollection collection); |
||||||
|
bool MoveNext () ; |
||||||
|
void Reset(); |
||||||
|
|
||||||
|
bool HasMoreData { |
||||||
|
get; |
||||||
|
} |
||||||
|
|
||||||
|
bool HasChilds { |
||||||
|
get; |
||||||
|
} |
||||||
|
|
||||||
|
int CurrentRow { |
||||||
|
get; |
||||||
|
} |
||||||
|
|
||||||
|
int Count { |
||||||
|
get; |
||||||
|
} |
||||||
|
|
||||||
|
object Current { |
||||||
|
get; |
||||||
|
} |
||||||
|
|
||||||
|
event EventHandler <ListChangedEventArgs> ListChanged; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue