Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.dt.osn.panel
Class AMNode

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.osn.panel.BCNode
      extended by oracle.apps.fnd.applcore.dt.osn.panel.AMNode

public class AMNode
extends BCNode

BCNode class implementation representing an Application Module, to be used in swing DefaultMutableTreeNode as the UserObject.


Field Summary
static java.lang.String XML_LOCAL_NAME
           
 
Fields inherited from class oracle.apps.fnd.applcore.dt.osn.panel.BCNode
_eol, XML_NAMESPACE
 
Constructor Summary
AMNode(java.lang.String name, java.lang.String displayValue, java.lang.String applicationModuleName)
          Construct an AM Node.
 
Method Summary
 boolean equals(java.lang.Object object)
          
static javax.swing.tree.DefaultMutableTreeNode fromXML(oracle.ide.Context context, org.w3c.dom.Element e, javax.swing.tree.DefaultMutableTreeNode parent)
          Factory method to load e, and all appropriate sub-Elements into a tree for displaying in a swing tree.
 java.lang.String getApplicationModuleName()
          Get the application Module Name.
 javax.swing.Icon getIcon()
          Return an appropriate icon for this node.
 java.lang.String getToolTip()
          Get the tool tip for this node.
 int hashCode()
          
 java.lang.String toXML(javax.swing.tree.DefaultMutableTreeNode thisNode)
          Encode this node, and all children appropriately into xml.
 
Methods inherited from class oracle.apps.fnd.applcore.dt.osn.panel.BCNode
getDisplayValue, getName, loadXFromXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_LOCAL_NAME

public static final java.lang.String XML_LOCAL_NAME
See Also:
Constant Field Values
Constructor Detail

AMNode

public AMNode(java.lang.String name,
              java.lang.String displayValue,
              java.lang.String applicationModuleName)
Construct an AM Node.

Parameters:
name - name.
displayValue - display value.
applicationModuleName - fully qualified application Module Name.
Method Detail

getApplicationModuleName

public java.lang.String getApplicationModuleName()
Get the application Module Name.

Returns:

getIcon

public javax.swing.Icon getIcon()
Return an appropriate icon for this node.

Specified by:
getIcon in class BCNode
Returns:
an Icon.

getToolTip

public java.lang.String getToolTip()
Get the tool tip for this node.

Specified by:
getToolTip in class BCNode
Returns:
textural tool tip to show in the tree on hover over a Node.

toXML

public java.lang.String toXML(javax.swing.tree.DefaultMutableTreeNode thisNode)
Encode this node, and all children appropriately into xml. For example:
 <AppModule Name="ProjectTaskAM"
             ApplicationModuleName="oracle.apps.fnd.applcore.demo.applicationModule.ProjectTaskAM">
 

Specified by:
toXML in class BCNode
Parameters:
thisNode - node to encode.
Returns:
String representation.

fromXML

public static javax.swing.tree.DefaultMutableTreeNode fromXML(oracle.ide.Context context,
                                                              org.w3c.dom.Element e,
                                                              javax.swing.tree.DefaultMutableTreeNode parent)
Factory method to load e, and all appropriate sub-Elements into a tree for displaying in a swing tree.

Parameters:
context - context of environment.
e - element acting as root, likely the document node.
parent - non-null Element to become the parent of the newly created node.
Returns:
a non-null tree of nodes to be represent the file.

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class BCNode

hashCode

public int hashCode()

Overrides:
hashCode in class BCNode

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.