2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing / FontConverter.cs
1 //
2 // System.Drawing.FontConverter.cs
3 //
4 // Authors:
5 //      Dennis Hayes (dennish@Raytek.com)
6 //      Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 //
8 // (C) 2002,2003 Ximian, Inc
9 //
10 using System;
11 using System.Collections;
12 using System.ComponentModel;
13 using System.Globalization;
14
15 namespace System.Drawing
16 {
17         public class FontConverter : TypeConverter
18         {
19                 public FontConverter()
20                 {
21                 }
22
23                 [MonoTODO]
24                 public override bool CanConvertFrom (ITypeDescriptorContext context, Type sourceType)
25                 {
26                         throw new NotImplementedException ();
27                 }
28
29                 [MonoTODO]
30                 public override bool CanConvertTo (ITypeDescriptorContext context, Type destinationType)
31                 {
32                         throw new NotImplementedException ();
33                 }
34
35                 [MonoTODO]
36                 public override object ConvertTo (ITypeDescriptorContext context,
37                                                   CultureInfo culture,
38                                                   object value,
39                                                   Type destinationType)
40                 {
41                         throw new NotImplementedException ();
42                 }
43
44                 [MonoTODO]
45                 public override object ConvertFrom (ITypeDescriptorContext context,
46                                                     CultureInfo culture,
47                                                     object value)
48                 {
49                         throw new NotImplementedException ();
50                 }
51
52                 [MonoTODO]
53                 public override object CreateInstance (ITypeDescriptorContext context,
54                                                        IDictionary propertyValues)
55                 {
56                         throw new NotImplementedException ();
57                 }
58
59                 public override bool GetCreateInstanceSupported (ITypeDescriptorContext context)
60                 {
61                         return true;
62                 }
63
64                 [MonoTODO]
65                 public override PropertyDescriptorCollection GetProperties (ITypeDescriptorContext context,
66                                                                             object value,
67                                                                             Attribute [] attributes)
68                 {
69                         throw new NotImplementedException ();
70                 }
71
72                 public override bool GetPropertiesSupported (ITypeDescriptorContext context)
73                 {
74                         return true;
75                 }
76
77                 public sealed class FontNameConverter : TypeConverter
78                 {
79                         public FontNameConverter ()
80                         {
81                         }
82
83                         [MonoTODO]
84                         public override bool CanConvertFrom (ITypeDescriptorContext context, Type sourceType)
85                         {
86                                 throw new NotImplementedException ();
87                         }
88
89                         [MonoTODO]
90                         public override object ConvertFrom (ITypeDescriptorContext context,
91                                                             CultureInfo culture,
92                                                             object value)
93                         {
94                                 throw new NotImplementedException ();
95                         }
96
97                         [MonoTODO]
98                         public override StandardValuesCollection GetStandardValues (ITypeDescriptorContext context)
99                         {
100                                 throw new NotImplementedException ();
101                         }
102
103                         [MonoTODO]
104                         public override bool GetStandardValuesExclusive (ITypeDescriptorContext context)
105                         {
106                                 throw new NotImplementedException ();
107                         }
108
109                         public override bool GetStandardValuesSupported (ITypeDescriptorContext context)
110                         {
111                                 return true;
112                         }
113                 }
114         }
115 }
116