3 * Namespace : System.Web.UI.MobileControls
4 * Class : MobileControl
5 * Author : Gaurav Vaish
7 * Copyright : 2003 with Gaurav Vaish, and with
12 using System.Collections;
14 using System.Web.Mobile;
16 namespace System.Web.UI.MobileControls
18 public abstract class MobileControl : Control//, IAttributeAccessor
21 private IControlAdapter adapter;
23 private bool enablePagination;
25 //public abstract string GetAttribute(string key);
26 //public abstract void SetAttribute(string key, string value);
28 protected MobileControl()
32 public IControlAdapter Adapter
36 IControlAdapter retVal = null;
39 else if(MobilePage != null)
40 retVal = MobilePage.GetControlAdapter(this);
45 public Alignment Alignment
49 throw new NotImplementedException();
53 throw new NotImplementedException();
57 public virtual Color BackColor
61 throw new NotImplementedException();
65 throw new NotImplementedException();
69 public virtual bool BreakAfter
73 throw new NotImplementedException();
77 throw new NotImplementedException();
81 public DeviceSpecific DeviceSpecific
85 throw new NotImplementedException();
89 throw new NotImplementedException();
97 throw new NotImplementedException();
101 throw new NotImplementedException();
105 public virtual FontInfo Font
109 throw new NotImplementedException();
113 public virtual Color ForeColor
117 throw new NotImplementedException();
121 throw new NotImplementedException();
129 throw new NotImplementedException();
133 public virtual bool IsTemplated
137 throw new NotImplementedException();
145 throw new NotImplementedException();
149 throw new NotImplementedException();
153 public MobilePage MobilePage
157 throw new NotImplementedException();
161 public virtual Style Style
165 if(this.style == null)
167 this.style = this.CreateStyle();
173 public virtual string StyleReference
177 throw new NotImplementedException();
181 throw new NotImplementedException();
185 public virtual int VisibleWeight
189 throw new NotImplementedException();
193 public virtual Wrapping Wrapping
197 throw new NotImplementedException();
201 throw new NotImplementedException();
205 protected string InnerText
209 throw new NotImplementedException();
213 throw new NotImplementedException();
217 protected virtual bool PaginateChildren
221 throw new NotImplementedException();
225 throw new NotImplementedException();
229 public virtual void AddLinkedForms(IList linkedForms)
231 throw new NotImplementedException();
234 public virtual void CreateDefaultTemplatedUI(bool doDataBind)
236 throw new NotImplementedException();
239 public virtual void EnsureTemplatedUI()
241 throw new NotImplementedException();
244 public virtual ITemplate GetTemplate(string templateName)
246 throw new NotImplementedException();
249 public bool IsVisibleOnPage(int pageNumber)
251 throw new NotImplementedException();
254 public virtual void PaginateRecursive(ControlPager pager)
256 throw new NotImplementedException();
259 public Form ResolveFormReference(string name)
261 throw new NotImplementedException();
264 protected virtual Style CreateStyle()
266 throw new NotImplementedException();
269 protected virtual void CreatedTempaltedUI(bool doDataBind)
271 throw new NotImplementedException();
274 protected virtual bool isFormSubmitControl()
276 throw new NotImplementedException();
279 protected virtual void LoadPrivateViewState(object state)
281 throw new NotImplementedException();
284 protected virtual void OnPageChange(int oldIndex, int newIndex)
286 throw new NotImplementedException();
289 protected virtual void OnRender(HtmlTextWriter writer)
291 throw new NotImplementedException();
294 protected virtual object SavePrivateViewState()
296 throw new NotImplementedException();
299 protected virtual void CreateTemplatedUI(bool doDataBind)
301 throw new NotImplementedException();
304 internal static void SetControlPageRecursive(Control ctrl, int page)
306 throw new NotImplementedException();
309 internal bool EnablePagination
313 return enablePagination;
317 enablePagination = value;
321 internal TemplateControl FindClosestTemplateControl()
323 throw new NotImplementedException();