org.apache.ojb.tools.mapping.reversedb2.propertyEditors
Interface PropertyEditorComponentInterface

All Known Implementing Classes:
PropertyEditorJTextField

public interface PropertyEditorComponentInterface

This is a generic interface to be used together with PropertyEditor. All components implementing this interface have to handle setting and getting of values from the PropertyEditorTarget themselves. If they want to get notified about changes in certain properties, they have to register a PropertyChangeListener with the target.

Version:
$Id: PropertyEditorComponentInterface.java,v 1.1 2002/09/04 16:20:24 florianbruckner Exp $
Author:
Florian Bruckner

Method Summary
 java.lang.String getEditorKey()
           
 void setEditorTarget(PropertyEditorTarget aTarget)
           
 void setValue(java.lang.Object value)
           
 void setValue(java.lang.String key, java.lang.Object value)
           
 

Method Detail

getEditorKey

public java.lang.String getEditorKey()

setValue

public void setValue(java.lang.String key,
                     java.lang.Object value)

setValue

public void setValue(java.lang.Object value)

setEditorTarget

public void setEditorTarget(PropertyEditorTarget aTarget)


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14