|
ADF Designtime | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
oracle.adf.dt.controls.treemodel.DefaultDataControlTreeNode
Field Summary |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Fields inherited from interface oracle.adf.dt.controls.DataControlTreeNode |
ACCESSOR_NODE, ACTION_NODE, APPLICATION_MODULE, ATTRIBUTE_NODE, COLLECTION_NODE, DATA_CONTROL_NODE, JAVA_BEAN, METHOD_NODE |
Constructor Summary | |
DefaultDataControlTreeNode(JUDTDataControl dataControl)
|
|
DefaultDataControlTreeNode(JUDTDataControl dataControl,
TreeNodesChooser chooser)
|
Method Summary | |
boolean |
actionRepresentsNode(JUDTCtrlAction action)
Allows the tree node to decide if the passed in action represents the action that the tree node requires. |
protected void |
addTransactionNodes(java.lang.String sInstanceName)
|
javax.swing.tree.DefaultMutableTreeNode |
getActionsFolder()
|
java.lang.String |
getActualBindingType(java.lang.String sBindingType)
The default behavior is to return the same value of the passed-in parameter. |
abstract java.util.ArrayList |
getAttributeBindings()
|
abstract AttributeInfo |
getAttributeInfo()
Only call this function if getNodeType() returns ATTRIBUTE_NODE |
java.lang.String |
getBindingNameSuffix()
Returns the binding name suffix used in generating the control id. |
JUDTDataControl |
getDataControl()
Returns the DataControl parent of this node. |
java.lang.String |
getDefaultBindingName()
|
java.lang.String |
getInstanceName()
|
DataControlAccessorNode |
getIteratorSourceNode()
If the requiresIterator() function returns true, the getIteratorSourceNode return the node that provides the iterator information for initialization purposes. |
java.lang.String |
getIteratorSubType()
|
MethodReturnNode |
getMethodReturnNode()
Returns the method return node. |
abstract java.lang.String |
getModelObjectName()
|
javax.swing.Icon |
getNodeIcon()
|
abstract java.lang.String |
getNodeText()
|
abstract int |
getNodeType()
|
abstract java.lang.String |
getTooltipText()
|
java.util.ArrayList |
getTransactionNodes(java.lang.String sInstanceName)
|
TreeNodesChooser |
getTreeNodesChooser()
|
void |
initializeActionBinding(JUDTCtrlAction action)
Allows the tree node to initialize the action that is bound to it. |
boolean |
isMethodReturnChildNode()
Returns True if this node is contained within a method return node. |
boolean |
isOperationSupported(int nOperation)
Checks with the node if the operation is supported. |
boolean |
isReadyForBinding()
|
boolean |
isRuntimeEditable()
Returns true if the service objects supports editing |
boolean |
isRuntimeVisible()
return true if this node has the visible hint on, it is possible to hide nodes such as attributes from being generated in the user interface. |
boolean |
isScalarMethodReturnNode()
Returns true if we have a scalar method return node |
boolean |
isViewObjectMethod()
Returns true if we have a View Object method node |
void |
loadChildNodes()
|
boolean |
requiresIterator()
|
protected void |
setActionInstanceName(JUDTCtrlAction action)
|
void |
setInstanceName(java.lang.String sName)
|
void |
setIteratorSourcenode(DataControlAccessorNode iteratorSource)
|
void |
setNodeIcon(javax.swing.Icon icon)
|
void |
setShouldExpand(boolean bSet)
|
boolean |
shouldExpandNode()
|
java.lang.String |
toString()
|
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 |
Methods inherited from interface oracle.adf.dt.controls.DataControlTreeNode |
getModelObjectType |
Methods inherited from interface oracle.adf.dt.controls.BasicTreeNode |
getUserObject |
Methods inherited from interface javax.swing.tree.MutableTreeNode |
insert, remove, remove, removeFromParent, setParent, setUserObject |
Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
Constructor Detail |
public DefaultDataControlTreeNode(JUDTDataControl dataControl)
public DefaultDataControlTreeNode(JUDTDataControl dataControl, TreeNodesChooser chooser)
Method Detail |
public final void setNodeIcon(javax.swing.Icon icon)
public final javax.swing.Icon getNodeIcon()
getNodeIcon
in interface BasicTreeNode
public boolean isReadyForBinding()
isReadyForBinding
in interface DataControlTreeNode
public boolean isMethodReturnChildNode()
DataControlTreeNode
isMethodReturnChildNode
in interface DataControlTreeNode
public MethodReturnNode getMethodReturnNode()
DataControlTreeNode
getMethodReturnNode
in interface DataControlTreeNode
public boolean requiresIterator()
requiresIterator
in interface DataControlTreeNode
public DataControlAccessorNode getIteratorSourceNode()
DataControlTreeNode
getIteratorSourceNode
in interface DataControlTreeNode
public void setIteratorSourcenode(DataControlAccessorNode iteratorSource)
public final JUDTDataControl getDataControl()
DataControlTreeNode
getDataControl
in interface DataControlTreeNode
public TreeNodesChooser getTreeNodesChooser()
public final java.lang.String getInstanceName()
getInstanceName
in interface DataControlTreeNode
public final void setInstanceName(java.lang.String sName)
setInstanceName
in interface DataControlTreeNode
sName
- - new instance name to be used for nodepublic final javax.swing.tree.DefaultMutableTreeNode getActionsFolder()
public final void setShouldExpand(boolean bSet)
setShouldExpand
in interface BasicTreeNode
bSet
- true is node should be expanded by defaultpublic final boolean shouldExpandNode()
shouldExpandNode
in interface BasicTreeNode
public boolean isRuntimeEditable()
DataControlTreeNode
isRuntimeEditable
in interface DataControlTreeNode
public boolean isRuntimeVisible()
DataControlTreeNode
isRuntimeVisible
in interface DataControlTreeNode
public boolean isViewObjectMethod()
DataControlTreeNode
isViewObjectMethod
in interface DataControlTreeNode
public boolean isScalarMethodReturnNode()
DataControlTreeNode
isScalarMethodReturnNode
in interface DataControlTreeNode
public java.lang.String getBindingNameSuffix()
DataControlTreeNode
getBindingNameSuffix
in interface DataControlTreeNode
public java.lang.String getDefaultBindingName()
getDefaultBindingName
in interface DataControlTreeNode
public java.lang.String getIteratorSubType()
public java.lang.String getActualBindingType(java.lang.String sBindingType)
getActualBindingType
in interface DataControlTreeNode
sBindingType
-
protected void setActionInstanceName(JUDTCtrlAction action)
public void initializeActionBinding(JUDTCtrlAction action)
DataControlTreeNode
initializeActionBinding
in interface DataControlTreeNode
action
- public boolean actionRepresentsNode(JUDTCtrlAction action)
actionRepresentsNode
in interface DataControlTreeNode
action
-
public void loadChildNodes()
public java.lang.String toString()
protected void addTransactionNodes(java.lang.String sInstanceName)
public java.util.ArrayList getTransactionNodes(java.lang.String sInstanceName)
public boolean isOperationSupported(int nOperation)
DataControlTreeNode
isOperationSupported
in interface DataControlTreeNode
nOperation
-
public abstract java.lang.String getNodeText()
getNodeText
in interface BasicTreeNode
public abstract java.lang.String getTooltipText()
getTooltipText
in interface BasicTreeNode
public abstract java.lang.String getModelObjectName()
getModelObjectName
in interface DataControlTreeNode
public abstract java.util.ArrayList getAttributeBindings()
getAttributeBindings
in interface DataControlTreeNode
public abstract int getNodeType()
getNodeType
in interface DataControlTreeNode
public abstract AttributeInfo getAttributeInfo()
DataControlTreeNode
getAttributeInfo
in interface DataControlTreeNode
|
ADF Designtime | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.