Lots of implementations.
authorBob Smith <bobsmith@mono-cvs.ximian.com>
Tue, 28 Aug 2001 03:43:43 +0000 (03:43 -0000)
committerBob Smith <bobsmith@mono-cvs.ximian.com>
Tue, 28 Aug 2001 03:43:43 +0000 (03:43 -0000)
svn path=/trunk/mcs/; revision=648

21 files changed:
mcs/class/System.Web/System.Web.UI/BuildMethod.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/BuildTemplateMethod.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/ChangeLog
mcs/class/System.Web/System.Web.UI/HtmlTextWriterAttribute.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/HtmlTextWriterStyle.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/HtmlTextWriterTag.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/IAttributeAccessor.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/IDataBindingsAccessor.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/INamingContainer.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/IParserAccessor.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/IPostBackDataHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/IPostBackEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/IStateManager.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/ITagNameToTypeMapper.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/ITemplate.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/IValidator.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/ImageClickEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/OutputCacheLocation.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/PersistanceMode.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/StateItem.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI/TODO [new file with mode: 0644]

diff --git a/mcs/class/System.Web/System.Web.UI/BuildMethod.cs b/mcs/class/System.Web/System.Web.UI/BuildMethod.cs
new file mode 100644 (file)
index 0000000..d06a402
--- /dev/null
@@ -0,0 +1,16 @@
+//
+// System.Web.UI.BuildMethod.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public delegate Control BuildMethod();
+}
diff --git a/mcs/class/System.Web/System.Web.UI/BuildTemplateMethod.cs b/mcs/class/System.Web/System.Web.UI/BuildTemplateMethod.cs
new file mode 100644 (file)
index 0000000..8d53ce4
--- /dev/null
@@ -0,0 +1,16 @@
+//
+// System.Web.UI.BuildTemplateMethod.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public delegate void BuildTemplateMethod(Control control);
+}
index c1449b48776bdc14080855bd33ea1fdbb300a099..c2a65ee5192c1bb5cfd849f00b6dcceafbe9267d 100644 (file)
@@ -1,3 +1,25 @@
+2001-08-28  Bob Smith  <bob@thestuff.net>
+        * Added TODO.
+        * BuildMethod.cs: Initial implementation.
+        * BuildTemplateMethod.cs: Initial implementation.
+        * HtmlTextWriterAttribute.cs: Initial implementation.
+        * HtmlTextWriterStyle.cs: Initial implementation.
+        * HtmlTextWriterTag.cs: Initial implementation.
+        * IAttributeAccessor.cs: Initial implementation.
+        * IDataBindingsAccessor.cs: Initial implementation.
+        * ImageClickEventHandler.cs: Initial implementation.
+        * INamingContainer.cs: Initial implementation.
+        * IParserAccessor.cs: Initial implementation.
+        * IPostBackDataHandler.cs: Initial implementation.
+        * IPostBackEventHandler.cs: Initial implementation.
+        * IStateManager.cs: Initial implementation.
+        * ITagNameToTypeMapper.cs: Initial implementation.
+        * ITemplate.cs: Initial implementation.
+        * IValidator.cs: Initial implementation.
+        * OutputCacheLocation.cs: Initial implementation.
+        * PersistanceMode.cs: Initial implementation.
+        * StateItem.cs: Initial implementation.
+
 2001-08-27  Bob Smith  <bob@thestuff.net>
 
         * Control.cs: Bug fixes and implementations.
@@ -22,4 +44,3 @@
 2001-08-17  Bob Smith  <bob@thestuff.net>
 
         * Control.cs: Partial implementation.
-
diff --git a/mcs/class/System.Web/System.Web.UI/HtmlTextWriterAttribute.cs b/mcs/class/System.Web/System.Web.UI/HtmlTextWriterAttribute.cs
new file mode 100644 (file)
index 0000000..43d122a
--- /dev/null
@@ -0,0 +1,58 @@
+//
+// System.Web.UI.HtmlTextWriterAttribute.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public enum HtmlTextWriterAttribute
+        {
+                Accesskey,
+                Align,
+                Alt,
+                Background,
+                Bgcolor,
+                Border,
+                Bordercolor,
+                Cellpadding,
+                Cellspacing,
+                Checked,
+                Class,
+                Cols,
+                Colspan,
+                Disabled,
+                For,
+                Height,
+                Href,
+                Id,
+                Maxlength,
+                Multiple,
+                Name,
+                Nowrap,
+                Onchange,
+                Onclick,
+                ReadOnly,
+                Rows,
+                Rowspan,
+                Rules,
+                Selected,
+                Size,
+                Src,
+                Style,
+                Tabindex,
+                Target,
+                Title,
+                Type,
+                Valign,
+                Value,
+                Width,
+                Wrap
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/HtmlTextWriterStyle.cs b/mcs/class/System.Web/System.Web.UI/HtmlTextWriterStyle.cs
new file mode 100644 (file)
index 0000000..7c45d75
--- /dev/null
@@ -0,0 +1,32 @@
+//
+// System.Web.UI.HtmlTextWriterStyle.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public enum HtmlTextWriterStyle
+        {
+                BackgroundColor,
+                BackgroundImage,
+                BorderCollapse,
+                BorderColor,
+                BorderStyle,
+                BorderWidth,
+                Color,
+                FontFamily,
+                FontSize,
+                FontStyle,
+                FontWeight,
+                Height,
+                TextDecoration,
+                Width
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/HtmlTextWriterTag.cs b/mcs/class/System.Web/System.Web.UI/HtmlTextWriterTag.cs
new file mode 100644 (file)
index 0000000..2cf2bc8
--- /dev/null
@@ -0,0 +1,115 @@
+//
+// System.Web.UI.HtmlTextWriterTag.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public enum HtmlTextWriterTag
+        {
+                A,
+                Acronym,
+                Address,
+                Area,
+                B,
+                Base,
+                Basefont,
+                Bdo,
+                Bgsound,
+                Big,
+                Blockquote,
+                Body,
+                Br,
+                Button,
+                Caption,
+                Center,
+                Cite,
+                Code,
+                Col,
+                Colgroup,
+                Dd,
+                Del,
+                Dfn,
+                Dir,
+                Div,
+                Dl,
+                Dt,
+                Em,
+                Embed,
+                Fieldset,
+                Font,
+                Form,
+                Frame,
+                Frameset,
+                H1,
+                H2,
+                H3,
+                H4,
+                H5,
+                H6,
+                Head,
+                Hr,
+                Html,
+                I,
+                Iframe,
+                Img,
+                Input,
+                Ins,
+                Isindex,
+                Kbd,
+                Label,
+                Legend,
+                Li,
+                Link,
+                Map,
+                Marquee,
+                Menu,
+                Meta,
+                Nobr,
+                Noframes,
+                Noscript,
+                Object,
+                Ol,
+                Option,
+                P,
+                Param,
+                Pre,
+                Q,
+                Rt,
+                Ruby,
+                S,
+                Samp,
+                Script,
+                Select,
+                Small,
+                Span,
+                Strike,
+                Strong,
+                Style,
+                Sub,
+                Sup,
+                Table,
+                Tbody,
+                Td,
+                Textarea,
+                Tfoot,
+                Th,
+                Thead,
+                Title,
+                Tr,
+                Tt,
+                U,
+                Ul,
+                Unknown,
+                Var,
+                Wbr,
+                Xml
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/IAttributeAccessor.cs b/mcs/class/System.Web/System.Web.UI/IAttributeAccessor.cs
new file mode 100644 (file)
index 0000000..be0984b
--- /dev/null
@@ -0,0 +1,20 @@
+//
+// System.Web.UI.IAttributeAccessor.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface IAttributeAccessor
+        {
+                string GetAttribute(string key);
+                void SetAttribute(string key, string value);
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/IDataBindingsAccessor.cs b/mcs/class/System.Web/System.Web.UI/IDataBindingsAccessor.cs
new file mode 100644 (file)
index 0000000..5ff7f00
--- /dev/null
@@ -0,0 +1,20 @@
+//
+// System.Web.UI.IDataBindingsAccessor.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface IDataBindingsAccessor
+        {
+                DataBindingCollection DataBindings {get;}
+                bool HasDataBindings {get;}
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/INamingContainer.cs b/mcs/class/System.Web/System.Web.UI/INamingContainer.cs
new file mode 100644 (file)
index 0000000..e1d3d17
--- /dev/null
@@ -0,0 +1,16 @@
+//
+// System.Web.UI.INamingContainer.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface INamingContainer;
+}
diff --git a/mcs/class/System.Web/System.Web.UI/IParserAccessor.cs b/mcs/class/System.Web/System.Web.UI/IParserAccessor.cs
new file mode 100644 (file)
index 0000000..cad2201
--- /dev/null
@@ -0,0 +1,19 @@
+//
+// System.Web.UI.IParserAccessor.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface IParserAccessor
+        {
+                void AddParsedSubObject(object obj);
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/IPostBackDataHandler.cs b/mcs/class/System.Web/System.Web.UI/IPostBackDataHandler.cs
new file mode 100644 (file)
index 0000000..3e7cf60
--- /dev/null
@@ -0,0 +1,20 @@
+//
+// System.Web.UI.IPostBackDataHandler.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface IPostBackDataHandler
+        {
+                bool LoadPostData(string postDataKey, NameValueCollection postCollection);
+                void RaisePostDataChangedEvent();
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/IPostBackEventHandler.cs b/mcs/class/System.Web/System.Web.UI/IPostBackEventHandler.cs
new file mode 100644 (file)
index 0000000..daa6f70
--- /dev/null
@@ -0,0 +1,19 @@
+//
+// System.Web.UI.IPostBackEventHandler.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface IPostBackEventHandler
+        {
+                void RaisePostBackEvent(string eventArgument);
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/IStateManager.cs b/mcs/class/System.Web/System.Web.UI/IStateManager.cs
new file mode 100644 (file)
index 0000000..8c194e0
--- /dev/null
@@ -0,0 +1,21 @@
+//
+// System.Web.UI.IStateManager.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface IStateManager
+        {
+                void LoadViewState(object state);
+                object SaveViewState();
+                void TrackViewState();
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/ITagNameToTypeMapper.cs b/mcs/class/System.Web/System.Web.UI/ITagNameToTypeMapper.cs
new file mode 100644 (file)
index 0000000..5a96441
--- /dev/null
@@ -0,0 +1,19 @@
+//
+// System.Web.UI.ITagNameToTypeMapper.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface ITagNameToTypeMapper
+        {
+                Type GetControlType(string tagName, IDictionary attribs);
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/ITemplate.cs b/mcs/class/System.Web/System.Web.UI/ITemplate.cs
new file mode 100644 (file)
index 0000000..c998185
--- /dev/null
@@ -0,0 +1,19 @@
+//
+// System.Web.UI.ITemplate.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface ITemplate
+        {
+                void InstantiateIn(Control container);
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/IValidator.cs b/mcs/class/System.Web/System.Web.UI/IValidator.cs
new file mode 100644 (file)
index 0000000..47b418a
--- /dev/null
@@ -0,0 +1,21 @@
+//
+// System.Web.UI.IValidator.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public interface IValidator
+        {
+                void Validate();
+                string ErrorMessage {get; set;}
+                bool IsValid {get; set;}
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/ImageClickEventHandler.cs b/mcs/class/System.Web/System.Web.UI/ImageClickEventHandler.cs
new file mode 100644 (file)
index 0000000..2bcc758
--- /dev/null
@@ -0,0 +1,16 @@
+//
+// System.Web.UI.ImageClickEventHandler.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public delegate void ImageClickEventHandler(object sender, ImageClickEventArgs e);
+}
diff --git a/mcs/class/System.Web/System.Web.UI/OutputCacheLocation.cs b/mcs/class/System.Web/System.Web.UI/OutputCacheLocation.cs
new file mode 100644 (file)
index 0000000..734131f
--- /dev/null
@@ -0,0 +1,23 @@
+//
+// System.Web.UI.OutputCacheLocation.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public enum OutputCacheLocation
+        {
+                Any,
+                Client,
+                Downstream,
+                None,
+                Server
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/PersistanceMode.cs b/mcs/class/System.Web/System.Web.UI/PersistanceMode.cs
new file mode 100644 (file)
index 0000000..4799d74
--- /dev/null
@@ -0,0 +1,22 @@
+//
+// System.Web.UI.PersistanceMode.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public enum PersistenceMode
+        {
+                Attribute,
+                EncodedInnerDefaultProperty,
+                InnerDefaultProperty,
+                InnerProperty
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/StateItem.cs b/mcs/class/System.Web/System.Web.UI/StateItem.cs
new file mode 100644 (file)
index 0000000..ed5e91e
--- /dev/null
@@ -0,0 +1,47 @@
+//
+// System.Web.UI.StateItem.cs
+//
+// Author:
+//   Bob Smith <bob@thestuff.net>
+//
+// (C) Bob Smith
+//
+
+using System;
+using System.Web;
+
+namespace System.Web.UI
+{
+        public sealed class StateItem
+        {
+                private bool _isDirty = false;
+                private object _value = null;
+                public bool IsDirty
+                {
+                        get
+                        {
+                                return _isDirty;
+                        }
+                        set
+                        {
+                                _isDirty = value;
+                        }
+                }
+                public object Value
+                {
+                        get
+                        {
+                                return _value;
+                        }
+                        set
+                        {
+                                _value = value;
+                        }
+                }
+                public StateItem() {}
+                public StateItem(Object value)
+                {
+                        _value = value;
+                }
+        }
+}
diff --git a/mcs/class/System.Web/System.Web.UI/TODO b/mcs/class/System.Web/System.Web.UI/TODO
new file mode 100644 (file)
index 0000000..de529b8
--- /dev/null
@@ -0,0 +1,42 @@
+AttributeCollection
+BaseParser
+BasePartialCachingControl
+CompiledTemplateBuilder
+ConstructorNeedsTagAttribute
+ControlBuilder
+ControlBuilderAttribute
+ControlCollection
+CssStyleCollection
+DataBinder
+DataBinding
+DataBindingCollection
+DataBindingHandlerAttribute
+DataBoundLiteralControl
+DesignTimeParseData
+DesignTimeTemplateParser
+EmptyControlCollection
+Html32TextWriter
+HtmlTextWriter
+ImageClickEventArgs
+LosFormatter
+Page
+PageParser
+ParseChildrenAttribute
+PartialCachingAttribute
+PartialCachingControl
+PersistChildrenAttribute
+PersistanceModeAttribute
+RootBuilder
+SimpleWebHandlerParser
+StateBag
+StaticPartialCachingControl
+TagPrefixAttribute
+TemplateBuilder
+TemplateContainerAttribute
+TemplateControl
+TemplateControlParser
+ToolboxDataAttribute
+UserControl
+ValidationPropertyAttribute
+ValidatorCollection
+WebServiceProvider