org.relayirc.swingutil.propsheet
Class DefaultPropModel

java.lang.Object
  |
  +--org.relayirc.swingutil.propsheet.DefaultPropModel
All Implemented Interfaces:
IPropModel

public class DefaultPropModel
extends java.lang.Object
implements IPropModel

Default implementation that provides default editors for strings.

Version:
$Revision: 1.3.2.4 $

The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Original Code:Relay IRC Chat Engine
Initial Developer: David M. Johnson
Contributor(s): No contributors to this file
Copyright (C) 1997-2000 by David M. Johnson
All Rights Reserved.
Author:
David M. Johnson

Constructor Summary
DefaultPropModel()
           
 
Method Summary
 java.beans.PropertyEditor getEditor(java.lang.String propName)
           
 java.lang.Object getProperty(java.lang.String key)
           
 int getPropertyCount()
           
 java.lang.String getPropertyDisplayName(java.lang.String key)
           
 java.util.Enumeration propertyNames()
           
 void setEditor(java.lang.String propName, java.beans.PropertyEditor editor)
           
 java.lang.Object setProperty(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropModel

public DefaultPropModel()
Method Detail

getPropertyCount

public int getPropertyCount()
Specified by:
getPropertyCount in interface IPropModel

propertyNames

public java.util.Enumeration propertyNames()
Specified by:
propertyNames in interface IPropModel

getProperty

public java.lang.Object getProperty(java.lang.String key)
Specified by:
getProperty in interface IPropModel

getPropertyDisplayName

public java.lang.String getPropertyDisplayName(java.lang.String key)
Specified by:
getPropertyDisplayName in interface IPropModel

setProperty

public java.lang.Object setProperty(java.lang.String key,
                                    java.lang.Object value)
Specified by:
setProperty in interface IPropModel

setEditor

public void setEditor(java.lang.String propName,
                      java.beans.PropertyEditor editor)
Specified by:
setEditor in interface IPropModel

getEditor

public java.beans.PropertyEditor getEditor(java.lang.String propName)
Specified by:
getEditor in interface IPropModel