Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.4.0)

E10758-05

oracle.jbo.jbotester.tree
Class ObjTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by 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

Nested Class Summary
protected  class ObjTreeNode.RemoveAction
           
 
Field Summary
static NodeType APP_MODULE
           
protected  oracle.jbo.ComponentObject componentObject
           
static javax.swing.Action createAMAction
           
static javax.swing.Action createSysCatAMAction
           
static javax.swing.Action createVLAction
           
static javax.swing.Action createVOAction
           
protected  javax.swing.Action removeAction
           
static NodeType VIEW_LINK
           
 
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)
           
 
Method Summary
protected  void addMenuItems(javax.swing.JPopupMenu contextMenu)
           
protected  JTForm createTab(FormType formType)
           
protected  void enableActions()
           
 oracle.adf.model.binding.DCBindingContainer getBindingContainer()
           
 ObjTreeNode getChildOfName(java.lang.String name)
           
 oracle.jbo.ComponentObject getComponentObject()
           
 javax.swing.JPopupMenu getContextMenu()
           
 java.lang.Object getData()
           
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
 java.lang.String getFullName()
           
 javax.swing.ImageIcon getIcon()
           
 oracle.adf.model.binding.DCIteratorBinding getIteratorBinding()
           
 java.lang.String getName()
           
 ObjTreeNode getParentOfType(NodeType type)
          Recurse through the parents for a node of a certain type
 java.lang.String getStatus()
           
abstract  NodeType getType()
           
 void handleEvent(java.awt.event.ActionEvent e)
           
protected  boolean isBindParameterActionEnabled(oracle.jbo.ComponentObject cObj)
           
 boolean isFormDisplayed(oracle.jbo.ComponentObject cObj)
           
 void remove()
           
 void showForm()
           
protected  void showForm(FormType formType)
           
abstract  void showProperties()
           
protected  void showPropertyDialog(PropertyBean bean, int resString)
           
 java.lang.String toString()
          Returns Name of the Node
 
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
 

Field Detail

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
Constructor Detail

ObjTreeNode

public ObjTreeNode(oracle.jbo.ComponentObject componentObject)

ObjTreeNode

public ObjTreeNode(oracle.jbo.ComponentObject componentObject,
                   java.lang.String name)
Method Detail

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)

Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.4.0)

E10758-05

Copyright © 1997, 2011, Oracle. All rights reserved.