Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.patterns.uishell.model.menuInternal
Class ItemNode

java.lang.Object
  extended by oracle.apps.fnd.applcore.patterns.uishell.model.menuInternal.MenuNode
      extended by oracle.apps.fnd.applcore.patterns.uishell.model.menuInternal.ItemNode
Direct Known Subclasses:
FndItemNode

public class ItemNode
extends MenuNode


Constructor Summary
ItemNode()
           
 
Method Summary
 void actionListener(javax.faces.event.ActionEvent event)
           
 java.lang.String doAction()
          Gets the value of the node's action property.
 java.lang.String getActionListener()
          getActionListener - gets the value of the Menu Node's actionListener attribute.
 java.util.Map<java.lang.String,java.lang.String> getCustomPropList()
          Get the Attributes containing the custom attributes on this node.
 java.lang.String getDestination()
          Gets the value of the node's destination property.
 boolean getImmediate()
          Gets the immediate attribute of the menu item.
 java.lang.String getLaunchListener()
          getLaunchListener - gets the value of the Menu Node's launchListener attribute.
 java.lang.String getReturnListener()
          getReturnListener - gets the value of the Menu Node's returnListener attribute.
 java.lang.String getTargetFrame()
          getTargetFrame - gets the value of the Destination Node's targetFrame attribute
 boolean getUseWindow()
          Gets the useWindow attribute of the menu item.
 int getWindowHeight()
          Gets the windowHeight attribute of the menu item.
 int getWindowWidth()
          Gets the windowWidth attribute of the menu item.
 void setAction(java.lang.String action)
          Sets the action of the node.
 void setActionListener(java.lang.String actionListener)
          setActionListener - sets the value of the Menu Node's actionListener atribute.
 void setCustomPropList(java.util.Map<java.lang.String,java.lang.String> attrMap)
          Set the list of custom attributes.
 void setDestination(java.lang.String destination)
          Sets the destination of the node.
 void setImmediate(boolean immediate)
          Sets the immediate attribute of the menu item.
 void setImmediate(java.lang.String immediateStr)
          Sets the immediate attribute of the menu item.
 void setLaunchListener(java.lang.String launchListener)
          setLaunchListener - sets the value of the Menu Node's launchListener atribute.
 void setReturnListener(java.lang.String returnListener)
          setReturnListener - sets the value of the Menu Node's returnListener atribute.
 void setTargetFrame(java.lang.String targetFrame)
          setTargetFrame - sets the value of the Destination Node's targetFrame attribute
 void setUseWindow(boolean useWindow)
          Sets the useWindow attribute of the menu item.
 void setUseWindow(java.lang.String useWindowStr)
          Sets the useWindow attribute of the menu item.
 void setWindowHeight(int windowHeight)
          Sets the windowHeight attribute of the menu item.
 void setWindowHeight(java.lang.String windowHeightStr)
          Sets the windowHeight attribute of the menu item.
 void setWindowWidth(int windowWidth)
          Sets the windowWidth attribute of the menu item.
 void setWindowWidth(java.lang.String windowWidthStr)
          Sets the windowWidth attribute of the menu item.
 
Methods inherited from class oracle.apps.fnd.applcore.patterns.uishell.model.menuInternal.MenuNode
getAccessKey, getChildren, getCustomizationLayerName, getDefaultFocusPath, getDisabled, getDocumentName, getFocusViewId, getHandlerId, getIcon, getId, getLabel, getLabelAndAccessKey, getModelId, getReadOnly, getRefNode, getRendered, getRootModel, getRootModelKey, getUniqueId, getVisible, postSelectedNode, setAccessKey, setAccessKey, setChildren, setCustomizationLayerName, setDefaultFocusPath, setDefaultFocusPath, setDisabled, setDisabled, setDocumentName, setFocusViewId, setHandlerId, setIcon, setId, setLabel, setLabelAndAccessKey, setModelId, setReadOnly, setReadOnly, setRendered, setRendered, setResBundleKey, setResBundleName, setRootModelKey, setVisible, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemNode

public ItemNode()
Method Detail

setAction

public void setAction(java.lang.String action)
Sets the action of the node. This is obtained from the menu metadata file and is the string value of the "action" property.

Parameters:
action - - the string value of the ItemNode's "action" property.

doAction

public java.lang.String doAction()
Gets the value of the node's action property. The action attr value could be one of 2 things: 1) An EL expression 2) An outcome referencing a navigation rule in the faces_config file. Since this method is called only when an ItemNode is clicked, the model is notified that this node is the currently selected node.

Overrides:
doAction in class MenuNode
Returns:
String value of the ItemNode's "action" property.

setActionListener

public void setActionListener(java.lang.String actionListener)
setActionListener - sets the value of the Menu Node's actionListener atribute.

Parameters:
actionListener - - El expression method reference to an action listener

getActionListener

public java.lang.String getActionListener()
getActionListener - gets the value of the Menu Node's actionListener attribute.

Returns:
String - method reference to an action listener

actionListener

public void actionListener(javax.faces.event.ActionEvent event)

setLaunchListener

public void setLaunchListener(java.lang.String launchListener)
setLaunchListener - sets the value of the Menu Node's launchListener atribute.

Parameters:
launchListener - - El expression method reference to a launch listener

getLaunchListener

public java.lang.String getLaunchListener()
getLaunchListener - gets the value of the Menu Node's launchListener attribute.

Returns:
String - method reference to an launch listener

setReturnListener

public void setReturnListener(java.lang.String returnListener)
setReturnListener - sets the value of the Menu Node's returnListener atribute.

Parameters:
returnListener - - El expression method reference to a return listener

getReturnListener

public java.lang.String getReturnListener()
getReturnListener - gets the value of the Menu Node's returnListener attribute.

Returns:
String - method reference to an return listener

setImmediate

public void setImmediate(boolean immediate)
Sets the immediate attribute of the menu item.

Parameters:
immediate - - boolean indicating whether or not data validation - client-side or server-side - should take place when events are generated by this component.

setImmediate

public void setImmediate(java.lang.String immediateStr)
Sets the immediate attribute of the menu item.

Parameters:
immediateStr - - string representing a boolean value or an EL expression

getImmediate

public boolean getImmediate()
Gets the immediate attribute of the menu item.

Returns:
boolean - indicating whether or not data validation - client-side or server-side - should take place when events are generated by this component.

setUseWindow

public void setUseWindow(boolean useWindow)
Sets the useWindow attribute of the menu item.

Parameters:
useWindow - - boolean indicating whether or not to use a new window when launching dialogs.

setUseWindow

public void setUseWindow(java.lang.String useWindowStr)
Sets the useWindow attribute of the menu item.

Parameters:
useWindowStr - - string representing a boolean value or an EL Expression

getUseWindow

public boolean getUseWindow()
Gets the useWindow attribute of the menu item.

Returns:
boolean - indicating whether or not to use a new window when launching dialogs.

setWindowHeight

public void setWindowHeight(int windowHeight)
Sets the windowHeight attribute of the menu item.

Parameters:
windowHeight - - int height of the window, if this command is used to launch a window.

setWindowHeight

public void setWindowHeight(java.lang.String windowHeightStr)
Sets the windowHeight attribute of the menu item.

Parameters:
windowHeightStr - - String Height of the window, if this command is used to launch a window. Could be an EL expression

getWindowHeight

public int getWindowHeight()
Gets the windowHeight attribute of the menu item.

Returns:
int height of the window, if this command is used to launch a window.

setWindowWidth

public void setWindowWidth(int windowWidth)
Sets the windowWidth attribute of the menu item.

Parameters:
windowWidth - - int width of the window, if this command is used to launch a window.

setWindowWidth

public void setWindowWidth(java.lang.String windowWidthStr)
Sets the windowWidth attribute of the menu item.

Parameters:
windowWidthStr - - String width of the window, if this command is used to launch a window. Could be an EL expression

getWindowWidth

public int getWindowWidth()
Gets the windowWidth attribute of the menu item.

Returns:
int width of the window, if this command is used to launch a window.

setDestination

public void setDestination(java.lang.String destination)
Sets the destination of the node. This is obtained from the metadata file and is the string value of the "destination" property.

Parameters:
destination - - either a URI or an EL method binding expression.

getDestination

public java.lang.String getDestination()
Gets the value of the node's destination property. The destination attr value could be one of 2 things: 1) a uri 2) An EL expression So that the model can identify this node as the currently selected node, the node's id is appended to the destination as a parameter that is picked up when the getFocusRowKey() method of the model is called to get the focus path.

Overrides:
getDestination in class MenuNode
Returns:
destination - the String value of the destinationNode's "destination" property.

setTargetFrame

public void setTargetFrame(java.lang.String targetFrame)
setTargetFrame - sets the value of the Destination Node's targetFrame attribute

Parameters:
targetFrame - - the target frame for the goCommandMenuItem.

getTargetFrame

public java.lang.String getTargetFrame()
getTargetFrame - gets the value of the Destination Node's targetFrame attribute

Returns:
the target frame for the goCommandMenuItem.

getCustomPropList

public java.util.Map<java.lang.String,java.lang.String> getCustomPropList()
Get the Attributes containing the custom attributes on this node. This needs to be public so that the menu model can get them.

Returns:
Attributes list containing the custom attributes on this node

setCustomPropList

public void setCustomPropList(java.util.Map<java.lang.String,java.lang.String> attrMap)
Set the list of custom attributes.

Parameters:
attrMap - Map of attibute name/values for this node from MenuContentHandlerImpl

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.