/[classpath]/classpath/javax/swing/UIDefaults.java
ViewVC logotype

Diff of /classpath/javax/swing/UIDefaults.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mkoch, Sun Jun 8 14:14:51 2003 UTC revision 1.6 by mkoch, Sun Oct 12 16:44:39 2003 UTC
# Line 56  import javax.swing.plaf.ComponentUI; Line 56  import javax.swing.plaf.ComponentUI;
56   */   */
57  public class UIDefaults extends Hashtable  public class UIDefaults extends Hashtable
58  {  {
59    public interface ActiveValue    interface ActiveValue
60    {    {
61      Object createValue(UIDefaults table);      Object createValue(UIDefaults table);
62    } // interface ActiveValue    } // interface ActiveValue
# Line 72  public class UIDefaults extends Hashtabl Line 72  public class UIDefaults extends Hashtabl
72      }      }
73    } // class LazyInputMap    } // class LazyInputMap
74    
75    public interface LazyValue    interface LazyValue
76    {    {
77      Object createValue(UIDefaults table);      Object createValue(UIDefaults table);
78    } // interface LazyValue    } // interface LazyValue
# Line 193  public class UIDefaults extends Hashtabl Line 193  public class UIDefaults extends Hashtabl
193      return o instanceof String ? (String) o : null;      return o instanceof String ? (String) o : null;
194    }    }
195    
196    public int getInt(Object key)    int getInt(Object key)
197    {    {
198      Object o = get(key);      Object o = get(key);
199      return o instanceof Integer ? ((Integer) o).intValue() : 0;      return o instanceof Integer ? ((Integer) o).intValue() : 0;
200    }    }
201    
202    public int getInt(Object key, Locale l)    int getInt(Object key, Locale l)
203    {    {
204      Object o = get(key, l);      Object o = get(key, l);
205      return o instanceof Integer ? ((Integer) o).intValue() : 0;      return o instanceof Integer ? ((Integer) o).intValue() : 0;
# Line 263  public class UIDefaults extends Hashtabl Line 263  public class UIDefaults extends Hashtabl
263      return p;      return p;
264    }    }
265    
266    public void addPropertyChangeListener(PropertyChangeListener l)    void addPropertyChangeListener(PropertyChangeListener l)
267    {    {
268      throw new Error("not implemented");      throw new Error("not implemented");
269    }    }
270    
271    public void removePropertyChangeListener(PropertyChangeListener l)    void removePropertyChangeListener(PropertyChangeListener l)
272    {    {
273      throw new Error("not implemented");      throw new Error("not implemented");
274    }    }
# Line 283  public class UIDefaults extends Hashtabl Line 283  public class UIDefaults extends Hashtabl
283      throw new Error("not implemented");      throw new Error("not implemented");
284    }    }
285    
286    public void addResourceBundle(String name)    void addResourceBundle(String name)
287    {    {
288      throw new Error("not implemented");      throw new Error("not implemented");
289    }    }
290    
291    public void removeResourceBundle(String name)    void removeResourceBundle(String name)
292    {    {
293      throw new Error("not implemented");      throw new Error("not implemented");
294    }    }
295    
296    public void setDefaultLocale(Locale l)    void setDefaultLocale(Locale l)
297    {    {
298      throw new Error("not implemented");      throw new Error("not implemented");
299    }    }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26