TreeNodeCollection.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. //
  2. // System.Windows.Forms.TreeNodeCollection
  3. //
  4. // Author:
  5. // stubbed out by Jackson Harper ([email protected])
  6. // Dennis Hayes ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc
  9. //
  10. using System.Collections;
  11. namespace System.Windows.Forms {
  12. // <summary>
  13. // This is only a template. Nothing is implemented yet.
  14. //
  15. // </summary>
  16. public class TreeNodeCollection : IList, ICollection, IEnumerable {
  17. // --- Public Properties
  18. [MonoTODO]
  19. public int Count {
  20. get {
  21. throw new NotImplementedException ();
  22. }
  23. }
  24. [MonoTODO]
  25. public bool IsReadOnly {
  26. get {
  27. throw new NotImplementedException ();
  28. }
  29. }
  30. [MonoTODO]
  31. public virtual TreeNode this[int index] {
  32. get {
  33. throw new NotImplementedException ();
  34. }
  35. set {
  36. throw new NotImplementedException ();
  37. }
  38. }
  39. // --- Public Methods
  40. [MonoTODO]
  41. public virtual TreeNode Add(string text)
  42. {
  43. throw new NotImplementedException ();
  44. }
  45. [MonoTODO]
  46. public virtual int Add(TreeNode node)
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. [MonoTODO]
  51. public virtual void AddRange(TreeNode[] nodes)
  52. {
  53. throw new NotImplementedException ();
  54. }
  55. [MonoTODO]
  56. public virtual void Clear()
  57. {
  58. throw new NotImplementedException ();
  59. }
  60. [MonoTODO]
  61. public bool Contains(TreeNode node)
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. [MonoTODO]
  66. public void CopyTo(Array dest, int index)
  67. {
  68. throw new NotImplementedException ();
  69. }
  70. [MonoTODO]
  71. public IEnumerator GetEnumerator()
  72. {
  73. throw new NotImplementedException ();
  74. }
  75. [MonoTODO]
  76. public int IndexOf(TreeNode node)
  77. {
  78. throw new NotImplementedException ();
  79. }
  80. [MonoTODO]
  81. public virtual void Insert(int index, TreeNode node)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. [MonoTODO]
  86. public void Remove(TreeNode node)
  87. {
  88. throw new NotImplementedException ();
  89. }
  90. [MonoTODO]
  91. public virtual void RemoveAt(int index)
  92. {
  93. throw new NotImplementedException ();
  94. }
  95. /// <summary>
  96. /// IList Interface implmentation.
  97. /// </summary>
  98. bool IList.IsReadOnly{
  99. get{
  100. // We allow addition, removeal, and editing of items after creation of the list.
  101. return false;
  102. }
  103. }
  104. bool IList.IsFixedSize{
  105. get{
  106. // We allow addition and removeal of items after creation of the list.
  107. return false;
  108. }
  109. }
  110. //[MonoTODO]
  111. object IList.this[int index]{
  112. get{
  113. throw new NotImplementedException ();
  114. }
  115. set{
  116. throw new NotImplementedException ();
  117. }
  118. }
  119. [MonoTODO]
  120. void IList.Clear(){
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. int IList.Add( object value){
  125. throw new NotImplementedException ();
  126. }
  127. [MonoTODO]
  128. bool IList.Contains( object value){
  129. throw new NotImplementedException ();
  130. }
  131. [MonoTODO]
  132. int IList.IndexOf( object value){
  133. throw new NotImplementedException ();
  134. }
  135. [MonoTODO]
  136. void IList.Insert(int index, object value){
  137. throw new NotImplementedException ();
  138. }
  139. [MonoTODO]
  140. void IList.Remove( object value){
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. void IList.RemoveAt( int index){
  145. throw new NotImplementedException ();
  146. }
  147. // End of IList interface
  148. /// <summary>
  149. /// ICollection Interface implmentation.
  150. /// </summary>
  151. int ICollection.Count{
  152. get{
  153. throw new NotImplementedException ();
  154. }
  155. }
  156. bool ICollection.IsSynchronized{
  157. get{
  158. throw new NotImplementedException ();
  159. }
  160. }
  161. object ICollection.SyncRoot{
  162. get{
  163. throw new NotImplementedException ();
  164. }
  165. }
  166. void ICollection.CopyTo(Array array, int index){
  167. throw new NotImplementedException ();
  168. }
  169. // End Of ICollection
  170. }
  171. }