**** Merged from MCS ****
[mono-project.git] / mcs / class / System.Windows.Forms / System.Windows.Forms / StatusBarPanelCollection.cs
blobc0d5973eba2294539f66c703b43c63a846aa0713
1 //
2 // System.Windows.Forms.StatusBarPanelCollection
3 //
4 // Author:
5 // stubbed out by Richard Baumann (biochem333@nyc.rr.com)
6 // Dennis Hayes (dennish@Raytek.com)
7 //
8 // (C) Ximian, Inc., 2002
9 //
12 // Permission is hereby granted, free of charge, to any person obtaining
13 // a copy of this software and associated documentation files (the
14 // "Software"), to deal in the Software without restriction, including
15 // without limitation the rights to use, copy, modify, merge, publish,
16 // distribute, sublicense, and/or sell copies of the Software, and to
17 // permit persons to whom the Software is furnished to do so, subject to
18 // the following conditions:
19 //
20 // The above copyright notice and this permission notice shall be
21 // included in all copies or substantial portions of the Software.
22 //
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
27 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
28 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
29 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 using System.Collections;
33 namespace System.Windows.Forms {
35 // <summary>
36 // Represents the collection of panels in a StatusBar control.
37 // </summary>
39 public class StatusBarPanelCollection : IList, ICollection, IEnumerable {
42 // --- Public Methods
44 [MonoTODO]
45 StatusBarPanelCollection(StatusBar owner)
47 throw new NotImplementedException ();
49 [MonoTODO]
50 public virtual int Add(StatusBarPanel panel)
52 throw new NotImplementedException ();
54 [MonoTODO]
55 public virtual StatusBarPanel Add(string s)
57 throw new NotImplementedException ();
59 [MonoTODO]
60 public virtual void AddRange(StatusBarPanel[] panels)
62 throw new NotImplementedException ();
64 [MonoTODO]
65 public virtual void Clear()
67 throw new NotImplementedException ();
69 [MonoTODO]
70 public bool Contains(StatusBarPanel panel)
72 throw new NotImplementedException ();
74 [MonoTODO]
75 public IEnumerator GetEnumerator()
77 throw new NotImplementedException ();
79 [MonoTODO]
80 public int IndexOf(StatusBarPanel panel)
82 throw new NotImplementedException ();
84 [MonoTODO]
85 public virtual void Insert(int index, StatusBarPanel panel)
87 throw new NotImplementedException ();
89 [MonoTODO]
90 public virtual void Remove(StatusBarPanel panel)
92 throw new NotImplementedException ();
94 [MonoTODO]
95 public virtual void RemoveAt(int index)
97 throw new NotImplementedException ();
101 // --- Protected Methods
103 [MonoTODO]
104 ~StatusBarPanelCollection()
106 throw new NotImplementedException ();
110 // --- Public Properties
112 [MonoTODO]
113 public int Count {
115 get{ throw new NotImplementedException (); }
117 [MonoTODO]
118 public bool IsReadOnly {
122 return false; // for this collection, this is always false
125 [MonoTODO]
126 public virtual StatusBarPanel this[int index] {
128 get{ throw new NotImplementedException (); }
129 set{ throw new NotImplementedException (); }
131 /// <summary>
132 /// IList Interface implmentation.
133 /// </summary>
134 bool IList.IsReadOnly{
135 get{
136 // We allow addition, removeal, and editing of items after creation of the list.
137 return false;
140 bool IList.IsFixedSize{
141 get{
142 // We allow addition and removeal of items after creation of the list.
143 return false;
147 //[MonoTODO]
148 object IList.this[int index]{
149 get{
150 throw new NotImplementedException ();
152 set{
153 throw new NotImplementedException ();
157 [MonoTODO]
158 void IList.Clear(){
159 throw new NotImplementedException ();
162 [MonoTODO]
163 int IList.Add( object value){
164 throw new NotImplementedException ();
167 [MonoTODO]
168 bool IList.Contains( object value){
169 throw new NotImplementedException ();
172 [MonoTODO]
173 int IList.IndexOf( object value){
174 throw new NotImplementedException ();
177 [MonoTODO]
178 void IList.Insert(int index, object value){
179 throw new NotImplementedException ();
182 [MonoTODO]
183 void IList.Remove( object value){
184 throw new NotImplementedException ();
187 [MonoTODO]
188 void IList.RemoveAt( int index){
189 throw new NotImplementedException ();
191 // End of IList interface
192 /// <summary>
193 /// ICollection Interface implmentation.
194 /// </summary>
195 int ICollection.Count{
196 get{
197 throw new NotImplementedException ();
200 bool ICollection.IsSynchronized{
201 get{
202 throw new NotImplementedException ();
205 object ICollection.SyncRoot{
206 get{
207 throw new NotImplementedException ();
210 void ICollection.CopyTo(Array array, int index){
211 throw new NotImplementedException ();
213 // End Of ICollection