oracle.jbo.jbotester.tree
Class ObjTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
oracle.jbo.jbotester.tree.ObjTreeNode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
- Direct Known Subclasses:
- AMTreeNode, VLTreeNode, VOTreeNode
public abstract class ObjTreeNode
- extends javax.swing.tree.DefaultMutableTreeNode
- implements TreeNode
- See Also:
- Serialized Form
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary |
ObjTreeNode(oracle.jbo.ComponentObject componentObject)
|
ObjTreeNode(oracle.jbo.ComponentObject componentObject,
java.lang.String name)
|
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
APP_MODULE
public static final NodeType APP_MODULE
VIEW_LINK
public static final NodeType VIEW_LINK
createVOAction
public static final javax.swing.Action createVOAction
createVLAction
public static final javax.swing.Action createVLAction
createAMAction
public static final javax.swing.Action createAMAction
createSysCatAMAction
public static final javax.swing.Action createSysCatAMAction
removeAction
protected javax.swing.Action removeAction
componentObject
protected oracle.jbo.ComponentObject componentObject
ObjTreeNode
public ObjTreeNode(oracle.jbo.ComponentObject componentObject)
ObjTreeNode
public ObjTreeNode(oracle.jbo.ComponentObject componentObject,
java.lang.String name)
getName
public java.lang.String getName()
getFullName
public java.lang.String getFullName()
getComponentObject
public final oracle.jbo.ComponentObject getComponentObject()
getData
public java.lang.Object getData()
getType
public abstract NodeType getType()
getBindingContainer
public oracle.adf.model.binding.DCBindingContainer getBindingContainer()
getIteratorBinding
public oracle.adf.model.binding.DCIteratorBinding getIteratorBinding()
getIcon
public javax.swing.ImageIcon getIcon()
showForm
public final void showForm()
getDefaultFormType
protected FormType getDefaultFormType()
- The default form type is the form type that will be presented as the
first menu option, and is shown when double clicking on the node
- Returns:
- the default form type
createTab
protected JTForm createTab(FormType formType)
showForm
protected final void showForm(FormType formType)
getStatus
public final java.lang.String getStatus()
handleEvent
public void handleEvent(java.awt.event.ActionEvent e)
addMenuItems
protected void addMenuItems(javax.swing.JPopupMenu contextMenu)
enableActions
protected void enableActions()
getContextMenu
public final javax.swing.JPopupMenu getContextMenu()
remove
public void remove()
showProperties
public abstract void showProperties()
toString
public java.lang.String toString()
- Returns Name of the Node
- Overrides:
toString
in class javax.swing.tree.DefaultMutableTreeNode
getChildOfName
public final ObjTreeNode getChildOfName(java.lang.String name)
getParentOfType
public final ObjTreeNode getParentOfType(NodeType type)
- Recurse through the parents for a node of a certain type
isFormDisplayed
public final boolean isFormDisplayed(oracle.jbo.ComponentObject cObj)
isBindParameterActionEnabled
protected boolean isBindParameterActionEnabled(oracle.jbo.ComponentObject cObj)
showPropertyDialog
protected final void showPropertyDialog(PropertyBean bean,
int resString)
Copyright © 1997, 2011, Oracle. All rights reserved.