org.relayirc.swingutil.propsheet
Interface IPropModel
- All Known Implementing Classes:
- BeanModel, DefaultPropModel
- public interface IPropModel
Holder of properties and finder of property editors. The PropSheet
component using this simple abstraction so that 1) it does not have to
deal with the complexity of the beans API and 2) so that objects that
are not beans may be edited.
- 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
getPropertyCount
public int getPropertyCount()
propertyNames
public java.util.Enumeration propertyNames()
getPropertyDisplayName
public java.lang.String getPropertyDisplayName(java.lang.String key)
getProperty
public java.lang.Object getProperty(java.lang.String key)
setProperty
public java.lang.Object setProperty(java.lang.String key,
java.lang.Object value)
setEditor
public void setEditor(java.lang.String propName,
java.beans.PropertyEditor editor)
getEditor
public java.beans.PropertyEditor getEditor(java.lang.String propName)