|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties
org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNode
org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaClassDescriptorNode
Field Summary |
Fields inherited from class org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNode |
alChildren |
Fields inherited from class org.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties |
propertyChangeDelegate |
Constructor Summary | |
OjbMetaClassDescriptorNode(DescriptorRepository pRepository,
OjbMetaDataTreeModel pTreeModel,
OjbMetaRootNode pparent,
ClassDescriptor pCld)
Creates a new instance of OjbMetaClassDescriptorNode |
Method Summary | |
protected boolean |
_load()
Purpose of this method is to fill the children of the node. |
boolean |
actionListCachable()
Some objects may alter the list of actions they present depending on the state they are in. |
boolean |
actionListStatic()
Some objects may return a list of actions depending on the state they are in or the way they have been created. |
java.util.Iterator |
getActions()
Get a bunch of java.util.Action objects that this object wants to offer in a context-menu. |
boolean |
getAllowsChildren()
|
java.lang.Object |
getAssociatedDescriptor()
Return the descriptor object this node is associated with. |
java.lang.Object |
getAttribute(java.lang.String key)
Get an attribute of this node as Object. |
java.lang.Class |
getPropertyEditorClass()
Return the property editor class for this PropertyEditorTarget. |
void |
insert(javax.swing.tree.MutableTreeNode child,
int index)
Adds child to the receiver at index . |
boolean |
isLeaf()
|
void |
remove(int index)
Removes the child at index from the receiver. |
void |
remove(javax.swing.tree.MutableTreeNode node)
Removes node from the receiver. |
void |
removeFromParent()
Removes the receiver from its parent. |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Set an attribute of this node as Object. |
void |
setParent(javax.swing.tree.MutableTreeNode newParent)
Sets the parent of the receiver to newParent . |
void |
setUserObject(java.lang.Object object)
Resets the user object of the receiver to object . |
java.lang.String |
toString()
|
Methods inherited from class org.apache.ojb.tools.mapping.reversedb2.ojbmetatreemodel.OjbMetaTreeNode |
children, compareTo, getChildAt, getChildCount, getIndex, getOjbMetaTreeModel, getParent, getRepository, load |
Methods inherited from class org.apache.ojb.tools.mapping.reversedb2.propertyEditors.EditableTreeNodeWithProperties |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.swing.tree.TreeNode |
children, getChildAt, getChildCount, getIndex, getParent |
Constructor Detail |
public OjbMetaClassDescriptorNode(DescriptorRepository pRepository, OjbMetaDataTreeModel pTreeModel, OjbMetaRootNode pparent, ClassDescriptor pCld)
Method Detail |
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
getAllowsChildren
in class OjbMetaTreeNode
TreeNode.getAllowsChildren()
public java.lang.Object getAttribute(java.lang.String key)
EditableTreeNodeWithProperties
getAttribute
in interface PropertyEditorTarget
getAttribute
in class EditableTreeNodeWithProperties
public java.lang.Class getPropertyEditorClass()
PropertyEditorTarget
getPropertyEditorClass
in interface PropertyEditorTarget
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
isLeaf
in class OjbMetaTreeNode
TreeNode.isLeaf()
public void setAttribute(java.lang.String key, java.lang.Object value)
EditableTreeNodeWithProperties
setAttribute
in interface PropertyEditorTarget
setAttribute
in class EditableTreeNodeWithProperties
protected boolean _load()
_load
in class OjbMetaTreeNode
public java.lang.String toString()
public java.util.Iterator getActions()
ActionTarget
getActions
in interface ActionTarget
ActionTarget#getActions()
public boolean actionListCachable()
ActionTarget
actionListCachable
in interface ActionTarget
ActionTarget#actionListCacheable()
public boolean actionListStatic()
ActionTarget
actionListStatic
in interface ActionTarget
public void insert(javax.swing.tree.MutableTreeNode child, int index)
child
to the receiver at index
.
child
will be messaged with setParent
.
insert
in interface javax.swing.tree.MutableTreeNode
public void remove(javax.swing.tree.MutableTreeNode node)
node
from the receiver. setParent
will be messaged on node
.
remove
in interface javax.swing.tree.MutableTreeNode
public void remove(int index)
index
from the receiver.
remove
in interface javax.swing.tree.MutableTreeNode
public void removeFromParent()
removeFromParent
in interface javax.swing.tree.MutableTreeNode
public void setParent(javax.swing.tree.MutableTreeNode newParent)
newParent
.
setParent
in interface javax.swing.tree.MutableTreeNode
public void setUserObject(java.lang.Object object)
object
.
setUserObject
in interface javax.swing.tree.MutableTreeNode
public java.lang.Object getAssociatedDescriptor()
getAssociatedDescriptor
in class OjbMetaTreeNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |