org.relayirc.swingutil.propsheet
Class BeanModel
java.lang.Object
|
+--org.relayirc.swingutil.propsheet.BeanModel
- All Implemented Interfaces:
- IPropModel
- public class BeanModel
- extends java.lang.Object
- implements IPropModel
PropModel that wraps a bean.
- 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 |
BeanModel(java.lang.Object bean)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanModel
public BeanModel(java.lang.Object bean)
getPropertyCount
public int getPropertyCount()
- Specified by:
getPropertyCount
in interface IPropModel
propertyNames
public java.util.Enumeration propertyNames()
- Specified by:
propertyNames
in interface IPropModel
getPropertyDisplayName
public java.lang.String getPropertyDisplayName(java.lang.String propName)
- Specified by:
getPropertyDisplayName
in interface IPropModel
getProperty
public java.lang.Object getProperty(java.lang.String propName)
- Specified by:
getProperty
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
main
public static void main(java.lang.String[] args)