| java.lang.Object org.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties
All known Subclasses: org.apache.ojb.tools.mapping.reversedb2.dbmetatreemodel.ReverseDbTreeNode, org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNode,
EditableTreeNodeWithProperties | abstract public class EditableTreeNodeWithProperties implements javax.swing.tree.TreeNode,org.apache.ojb.tools.mapping.reversedb2.propertyEditors.PropertyEditorTarget,java.io.Serializable(Code) | | This class provides a basic implementation of a PropertyEditor and a TreeNode.
This is the typical application of the propertyEditor framework, you will usually
have a tree or a table with an overview of possibly editable objects and a panel
with a detailed view on the object.
The properties are maintained in a HashMap, setProperty sets these properties,
getProperty retrieves them. You may want to define public final keys for your
properties in order to have uniform access to them from all editors.
author: Florian Bruckner version: $Id: EditableTreeNodeWithProperties.java,v 1.1.2.1 2005/12/21 22:33:27 tomdz Exp $ |
serialVersionUID | final static long serialVersionUID(Code) | | |
EditableTreeNodeWithProperties | public EditableTreeNodeWithProperties()(Code) | | Creates a new instance of EditableTreeNodeWithProperties
|
addPropertyChangeListener | public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)(Code) | | Add a new PropertyChangeListener to this node. This functionality has
been borrowed from the java.beans package, though this class has
nothing to do with a bean
|
addPropertyChangeListener | public void addPropertyChangeListener(String propertyName, java.beans.PropertyChangeListener listener)(Code) | | Add a new PropertyChangeListener to this node for a specific property.
This functionality has
been borrowed from the java.beans package, though this class has
nothing to do with a bean
|
getAttribute | public Object getAttribute(String strKey)(Code) | | Get an attribute of this node as Object. This method is backed by
a HashMap, so all rules of HashMap apply to this method.
|
removePropertyChangeListener | public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)(Code) | | Remove a PropertyChangeListener from this node. This functionality has
been borrowed from the java.beans package, though this class has
nothing to do with a bean
|
removePropertyChangeListener | public void removePropertyChangeListener(String propertyName, java.beans.PropertyChangeListener listener)(Code) | | Remove a PropertyChangeListener for a specific property from this node.
This functionality has. Please note that the listener this does not remove
a listener that has been added without specifying the property it is
interested in.
|
setAttribute | public void setAttribute(String strKey, Object value)(Code) | | Set an attribute of this node as Object. This method is backed by
a HashMap, so all rules of HashMap apply to this method.
Fires a PropertyChangeEvent.
|
|
|