|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.ejtools.adwt.BeanContextTreeModel
Description of the Class
| Field Summary | |
protected java.util.Collection |
contexts
Description of the Field |
protected ObjectIndexer |
indexer
Description of the Field |
protected java.util.Collection |
listeners
Description of the Field |
protected java.beans.beancontext.BeanContext |
root
Root of the tree. |
| Constructor Summary | |
BeanContextTreeModel(java.beans.beancontext.BeanContext root)
Constructor for the BeanContextTreeModel object |
|
| Method Summary | |
void |
addTreeModelListener(javax.swing.event.TreeModelListener tml)
Adds a feature to the TreeModelListener attribute of the BeanContextTreeModel object |
void |
childrenAdded(java.beans.beancontext.BeanContextMembershipEvent bcme)
Description of the Method |
void |
childrenRemoved(java.beans.beancontext.BeanContextMembershipEvent bcme)
Description of the Method |
protected java.lang.Object[] |
computePath(java.beans.beancontext.BeanContext parent,
java.lang.Object o)
Description of the Method |
java.lang.Object |
find(java.lang.Object o)
Description of the Method |
protected void |
fireTreeNodesChanged()
Description of the Method |
protected void |
fireTreeNodesInserted()
Description of the Method |
protected void |
fireTreeNodesRemoved()
Description of the Method |
protected void |
fireTreeStructureChanged()
Description of the Method |
java.lang.Object |
getChild(java.lang.Object parent,
int index)
Gets the child attribute of the BeanContextTreeModel object |
int |
getChildCount(java.lang.Object parent)
Gets the childCount attribute of the BeanContextTreeModel object |
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
Gets the indexOfChild attribute of the BeanContextTreeModel object |
java.lang.Object |
getRoot()
Gets the root attribute of the BeanContextTreeModel object |
boolean |
isLeaf(java.lang.Object node)
Gets the leaf attribute of the BeanContextTreeModel object |
void |
removeTreeModelListener(javax.swing.event.TreeModelListener tml)
Description of the Method |
void |
setIndexer(ObjectIndexer indexer)
Sets the indexer attribute of the BeanContextTreeModel object |
void |
valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Collection contexts
protected ObjectIndexer indexer
protected java.util.Collection listeners
protected java.beans.beancontext.BeanContext root
| Constructor Detail |
public BeanContextTreeModel(java.beans.beancontext.BeanContext root)
root - Description of the Parameter| Method Detail |
public void addTreeModelListener(javax.swing.event.TreeModelListener tml)
addTreeModelListener in interface javax.swing.tree.TreeModeltml - The feature to be added to the TreeModelListener attributepublic void childrenAdded(java.beans.beancontext.BeanContextMembershipEvent bcme)
childrenAdded in interface java.beans.beancontext.BeanContextMembershipListenerbcme - Description of the Parameterpublic void childrenRemoved(java.beans.beancontext.BeanContextMembershipEvent bcme)
childrenRemoved in interface java.beans.beancontext.BeanContextMembershipListenerbcme - Description of the Parameterpublic java.lang.Object find(java.lang.Object o)
find in interface ObjectSearchero - Description of the Parameter
public java.lang.Object getChild(java.lang.Object parent,
int index)
getChild in interface javax.swing.tree.TreeModelparent - Description of the Parameterindex - Description of the Parameter
public int getChildCount(java.lang.Object parent)
getChildCount in interface javax.swing.tree.TreeModelparent - Description of the Parameter
public int getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
getIndexOfChild in interface javax.swing.tree.TreeModelparent - Description of the Parameterchild - Description of the Parameter
public java.lang.Object getRoot()
getRoot in interface javax.swing.tree.TreeModelpublic boolean isLeaf(java.lang.Object node)
isLeaf in interface javax.swing.tree.TreeModelnode - Description of the Parameter
public void removeTreeModelListener(javax.swing.event.TreeModelListener tml)
removeTreeModelListener in interface javax.swing.tree.TreeModeltml - Description of the Parameterpublic void setIndexer(ObjectIndexer indexer)
setIndexer in interface ObjectSearcherindexer - The new indexer value
public void valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
valueForPathChanged in interface javax.swing.tree.TreeModelpath - Description of the ParameternewValue - Description of the Parameter
protected java.lang.Object[] computePath(java.beans.beancontext.BeanContext parent,
java.lang.Object o)
parent - Description of the Parametero - Description of the Parameter
protected void fireTreeNodesChanged()
protected void fireTreeNodesInserted()
protected void fireTreeNodesRemoved()
protected void fireTreeStructureChanged()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||