2 // System.Windows.Forms.LinkLabel.cs
5 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
6 // stub ammended by Jaak Simm (jaaksimm@firm.ee)
7 // Dennis Hayes (dennish@raytek.com)
8 // (C) 2002 Ximian, Inc
10 using System
.Collections
;
12 using System
.ComponentModel
;
14 namespace System
.Windows
.Forms
{
17 // This is only a template. Nothing is implemented yet.
21 public class LinkLabel
: Label
, IButtonControl
{
29 throw new NotImplementedException ();
33 // --- Public Properties
36 public Color ActiveLinkcolor
{
38 throw new NotImplementedException ();
41 throw new NotImplementedException ();
45 public Color DisabledLinkColor
{
47 throw new NotImplementedException ();
50 throw new NotImplementedException ();
54 public LinkArea LinkArea
{
56 throw new NotImplementedException ();
59 throw new NotImplementedException ();
63 public LinkBehavior LinkBehavior
{
65 throw new NotImplementedException ();
68 throw new NotImplementedException ();
72 public Color LinkColor
{
74 throw new NotImplementedException ();
77 throw new NotImplementedException ();
81 public LinkLabel
.LinkCollection Links
{
83 throw new NotImplementedException ();
87 public bool LinkVisited
{
89 throw new NotImplementedException ();
92 throw new NotImplementedException ();
96 public override ISite Site
{
98 throw new NotImplementedException ();
101 throw new NotImplementedException ();
105 public override string Text
{
107 throw new NotImplementedException ();
110 throw new NotImplementedException ();
114 public Color VisitedLinkColor
{
116 throw new NotImplementedException ();
119 throw new NotImplementedException ();
124 // --- Public Methods
126 //public IAsyncResult BeginInvoke(Delegate del)
128 // throw new NotImplementedException ();
130 //public IAsyncResult BeginInvoke(Delegate del, object[] objs)
132 // throw new NotImplementedException ();
134 //public void Dispose()
136 // throw new NotImplementedException ();
139 public override bool Equals(object o
)
141 throw new NotImplementedException ();
144 //public static bool Equals(object o1, object o2)
146 // throw new NotImplementedException ();
149 public override int GetHashCode() {
150 //FIXME add our proprities
151 return base.GetHashCode();
153 //public void Invalidate()
155 // throw new NotImplementedException ();
157 //public void Invalidate(bool val)
159 // throw new NotImplementedException ();
161 //public void Invalidate(Rectangle rect)
163 // throw new NotImplementedException ();
165 //public void Invalidate(Region reg)
167 // throw new NotImplementedException ();
169 //public object Invoke(Delegate del)
171 // throw new NotImplementedException ();
173 //public object Invoke(Delegate del, object[] objs)
175 // throw new NotImplementedException ();
177 //public void PerformLayout()
179 // throw new NotImplementedException ();
181 //public void PerformLayout(Control ctl, string str)
183 // throw new NotImplementedException ();
185 //public void ResumeLayout()
187 // throw new NotImplementedException ();
189 //public void ResumeLayout(bool val)
191 // throw new NotImplementedException ();
193 //public void Scale(float val)
195 // throw new NotImplementedException ();
197 //public void Scale(float val1, float val2)
199 // throw new NotImplementedException ();
201 //public override void Select()
203 // throw new NotImplementedException ();
205 //public override void Select(bool directed, bool forward)
207 // throw new NotImplementedException ();
209 //public void SetBounds(int b1, int b2, int b3, int b4)
211 // throw new NotImplementedException ();
213 //public void SetBounds(int b1, int b2, int b3, int b4, int b5, int b6)
215 // throw new NotImplementedException ();
218 // --- IButtonControl members:
219 DialogResult IButtonControl
.DialogResult
{
220 [MonoTODO
] get { throw new NotImplementedException (); }
221 [MonoTODO
] set { throw new NotImplementedException (); }
225 void IButtonControl
.NotifyDefault(bool value)
227 throw new NotImplementedException ();
231 void IButtonControl
.PerformClick()
233 throw new NotImplementedException ();
235 // --- end of IButtonControl members
241 public event LinkLabelLinkClickedEventHandler LinkClicked
;
244 // --- Protected Properties
247 protected override ImeMode DefaultImeMode
{
249 throw new NotImplementedException ();
254 // --- Protected Methods
257 protected override AccessibleObject
CreateAccessibilityInstance()
259 throw new NotImplementedException ();
262 protected override void CreateHandle()
264 throw new NotImplementedException ();
268 //protected override virtual void Dispose(bool val)
270 // throw new NotImplementedException ();
275 protected override void OnEnabledChanged(EventArgs e
)
277 throw new NotImplementedException ();
280 protected override void OnFontChanged( EventArgs e
)
282 throw new NotImplementedException ();
285 protected override void OnGotFocus( EventArgs e
)
287 throw new NotImplementedException ();
290 protected override void OnKeyDown (KeyEventArgs e
)
292 throw new NotImplementedException ();
295 protected override void OnLostFocus (EventArgs e
)
297 throw new NotImplementedException ();
300 protected override void OnMouseDown (MouseEventArgs e
)
302 throw new NotImplementedException ();
304 // I think that this should be 'MouseEventArgs'
305 // but the documentation says EventArgs.
307 protected override void OnMouseLeave(EventArgs e
)
309 throw new NotImplementedException ();
312 protected override void OnMouseMove (MouseEventArgs e
)
314 throw new NotImplementedException ();
317 protected override void OnMouseUp (MouseEventArgs e
)
319 throw new NotImplementedException ();
322 protected override void OnPaint (PaintEventArgs e
)
324 throw new NotImplementedException ();
327 protected override void OnPaintBackground(PaintEventArgs e
)
329 throw new NotImplementedException ();
332 protected override void OnTextAlignChanged( EventArgs e
)
334 throw new NotImplementedException ();
337 protected override void OnTextChanged( EventArgs e
)
339 throw new NotImplementedException ();
343 protected override bool ProcessDialogKey(Keys keyData
)
345 throw new NotImplementedException ();
347 //protected ContentAlignment RtlTranslateAlignment(ContentAlignment align)
349 // throw new NotImplementedException ();
351 //protected HorizontalAlignment RtlTranslateAlignment( HorizontalAlignment align)
353 // throw new NotImplementedException ();
355 //protected LeftRightAlignment RtlTranslateAlignment( LeftRightAlignment align)
357 // throw new NotImplementedException ();
360 protected override void Select(bool val1
, bool val2
)
362 throw new NotImplementedException ();
365 protected override void SetBoundsCore(
370 BoundsSpecified specified
) {
372 throw new NotImplementedException ();
374 //protected void UpdateBounds()
376 // throw new NotImplementedException ();
378 //protected void UpdateBounds(int val1, int val2, int val3, int val4)
380 // throw new NotImplementedException ();
382 //protected void UpdateBounds(int val1, int val2, int val3, int val4, int val5, int val6)
384 // throw new NotImplementedException ();
387 protected override void WndProc(ref Message msg
)
389 throw new NotImplementedException ();
395 /// System.Windows.Forms.LinkLabel.Link
396 /// <summary>Represents a link within a LinkLabel control.</summary>
398 /// stubbed out by Jaak Simm (jaaksimm@firm.ee)
407 public bool Enabled
{
408 get { return enabled; }
409 set { enabled=value; }
413 get { return length; }
414 set { length=value; }
417 public object LinkData
{
418 get { return linkData; }
419 set { linkData=value; }
423 get { return start; }
427 public bool Visited
{
428 get { return visited; }
429 set { visited=value; }
434 // System.Windows.Forms.LinkLabel.LinkCollection.cs
437 // stubbed out by Daniel Carrera (dcarrera@math.toronto.edu)
439 // (C) 2002 Ximian, Inc
443 // This is only a template. Nothing is implemented yet.
447 public class LinkCollection
: IList
, ICollection
, IEnumerable
{
453 public LinkCollection(LinkLabel owner
)
455 throw new NotImplementedException ();
459 // --- Public Properties
464 throw new NotImplementedException ();
468 public bool IsReadOnly
{
470 throw new NotImplementedException ();
474 public virtual LinkLabel
.Link
this[ int index
] {
476 throw new NotImplementedException ();
479 throw new NotImplementedException ();
484 // --- Public Methods
487 public Link
Add(int val1
, int val2
)
489 throw new NotImplementedException ();
492 public Link
Add(int val1
, int val2
, object o
)
494 throw new NotImplementedException ();
497 public virtual void Clear()
499 throw new NotImplementedException ();
502 //public override bool Contains(LinkLabel.Link link)
504 // throw new NotImplementedException ();
507 public override bool Equals(object o
)
509 throw new NotImplementedException ();
512 //public static bool Equals(object o1, object o2)
514 // throw new NotImplementedException ();
517 public override int GetHashCode() {
518 //FIXME add our proprities
519 return base.GetHashCode();
522 public IEnumerator
GetEnumerator()
524 throw new NotImplementedException ();
527 public int IndexOf(LinkLabel
.Link link
)
529 throw new NotImplementedException ();
532 public void Remove(LinkLabel
.Link
value)
534 throw new NotImplementedException ();
537 public void RemoveAt(int index
)
539 throw new NotImplementedException ();
542 /// --- LinkLabel.IList properties ---
543 bool IList
.IsFixedSize
{
544 [MonoTODO
] get { throw new NotImplementedException (); }
547 object IList
.this[int index
] {
549 [MonoTODO
] get { throw new NotImplementedException (); }
550 [MonoTODO
] set { throw new NotImplementedException (); }
553 object ICollection
.SyncRoot
{
555 [MonoTODO
] get { throw new NotImplementedException (); }
558 bool ICollection
.IsSynchronized
{
560 [MonoTODO
] get { throw new NotImplementedException (); }
564 void ICollection
.CopyTo(Array dest
,int index
)
566 throw new NotImplementedException ();
569 /// --- LinkLabel.IList methods ---
571 int IList
.Add(object control
)
573 throw new NotImplementedException ();
577 bool IList
.Contains(object control
)
579 throw new NotImplementedException ();
583 int IList
.IndexOf(object control
)
585 throw new NotImplementedException ();
589 void IList
.Insert(int index
,object value)
591 throw new NotImplementedException ();
595 void IList
.Remove(object control
)
597 throw new NotImplementedException ();