**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Windows.Forms / Gtk / CurrencyManager.cs
blobf28039e02639a56ac425a1376692599965c340df
1 //
2 // System.Windows.Forms.CurrencyManager.cs
3 //
4 // Author:
5 // stubbed out by Jaak Simm (jaaksimm@firm.ee)
6 // Dennis Hayes (dennish@Raytek.com)
7 //
8 // (C) 2002 Ximian, Inc
9 //
11 using System.ComponentModel;
12 using System.Collections;
14 namespace System.Windows.Forms {
16 /// <summary>
17 /// Manages a list of Binding objects.
18 /// </summary>
19 [MonoTODO]
20 public class CurrencyManager : BindingManagerBase {
22 #region Fields
23 /* uncomment if needed
24 protected Type finalType;
25 protected int listposition;
27 internal int count = 0;
28 internal object current = null;
29 internal int position = 0;
30 #endregion
32 #region Properties
33 [MonoTODO]
34 public override int Count {
35 get {
36 return count;
40 [MonoTODO]
41 public override object Current {
42 get {
43 //FIXME:
44 return current;
48 [MonoTODO]
49 public IList List {
50 get {
51 throw new NotImplementedException ();
55 [MonoTODO]
56 public override int Position {
58 get {
59 //FIXME:
60 return position;
62 set {
63 //FIXME:
64 position = value;
67 #endregion
69 #region Methods
70 [MonoTODO]
71 public override void AddNew()
73 //FIXME:
74 throw new NotImplementedException ();
77 [MonoTODO]
78 public override void CancelCurrentEdit()
80 //FIXME:
81 throw new NotImplementedException ();
84 [MonoTODO]
85 protected void CheckEmpty()
87 //FIXME:
88 throw new NotImplementedException ();
91 [MonoTODO]
92 public override void EndCurrentEdit()
94 //FIXME:
95 throw new NotImplementedException ();
98 [MonoTODO]
99 public override PropertyDescriptorCollection GetItemProperties()
101 //FIXME:
102 throw new NotImplementedException ();
105 [MonoTODO]
106 protected internal override string GetListName(ArrayList listAccessors)
108 //FIXME:
109 throw new NotImplementedException ();
112 /// <methods for events>
113 [MonoTODO]
114 protected internal override void OnCurrentChanged(EventArgs e)
116 //FIXME:
117 throw new NotImplementedException ();
120 [MonoTODO]
121 protected virtual void OnItemChanged(ItemChangedEventArgs e)
123 throw new NotImplementedException ();
126 /* this method only supports .NET framework
127 [MonoTODO]
128 protected virtual void OnPositionChanged(EventArgs e)
130 throw new NotImplementedException ();
132 /// </methods for events>
134 [MonoTODO]
135 public void Refresh()
137 throw new NotImplementedException ();
140 [MonoTODO]
141 public override void RemoveAt(int index)
143 //FIXME:
144 throw new NotImplementedException ();
147 [MonoTODO]
148 public override void ResumeBinding()
150 //FIXME:
151 throw new NotImplementedException ();
154 [MonoTODO]
155 public override void SuspendBinding()
157 //FIXME:
158 throw new NotImplementedException ();
161 [MonoTODO]
162 protected override void UpdateIsBinding()
164 //FIXME:
165 throw new NotImplementedException ();
167 #endregion
169 #region Events
170 [MonoTODO]
171 public event ItemChangedEventHandler ItemChanged;
172 public event EventHandler MetaDataChanged; // .NET V1.1 Beta
173 #endregion