public class ItemNode extends MenuNode
Constructor and Description |
---|
ItemNode()
Constructs an ItemNode
|
Modifier and Type | Method and Description |
---|---|
void |
actionListener(javax.faces.event.ActionEvent event) |
String |
doAction()
Gets the value of the node's action property.
|
String |
getActionListener()
getActionListener - gets the value of the Menu Node's actionListener
attribute.
|
String |
getActionListenerProperty() |
String |
getActionProperty() |
Map<String,String> |
getCustomPropList()
Get the Attributes containing the custom attributes on this node.
|
Map<String,String> |
getCustomPropListProperty() |
String |
getDestination()
Gets the value of the node's destination property.
|
String |
getDestinationProperty() |
boolean |
getImmediate()
Gets the immediate attribute of the menu item.
|
String |
getImmediateProperty() |
String |
getLaunchListener()
getLaunchListener - gets the value of the Menu Node's launchListener
attribute.
|
String |
getLaunchListenerProperty() |
String |
getReturnListener()
getReturnListener - gets the value of the Menu Node's returnListener
attribute.
|
String |
getReturnListenerProperty() |
String |
getTargetFrame()
getTargetFrame - gets the value of the Destination Node's
targetFrame attribute
|
String |
getTargetFrameProperty() |
MenuNode |
getThreadSafeCopy()
Construct a thread safe version
of this object and return it.
|
boolean |
getUseWindow()
Gets the useWindow attribute of the menu item.
|
String |
getUseWindowProperty() |
int |
getWindowHeight()
Gets the windowHeight attribute of the menu item.
|
String |
getWindowHeightProperty() |
int |
getWindowWidth()
Gets the windowWidth attribute of the menu item.
|
String |
getWindowWidthProperty() |
void |
setAction(String action)
Sets the action of the node.
|
void |
setActionListener(String actionListener)
setActionListener - sets the value of the Menu Node's actionListener
atribute.
|
void |
setCustomPropList(Map<String,String> attrMap)
Set the list of custom attributes.
|
void |
setDestination(String destination)
Sets the destination of the node.
|
void |
setImmediate(boolean immediate)
Sets the immediate attribute of the menu item.
|
void |
setImmediate(String immediateStr)
Sets the immediate attribute of the menu item.
|
void |
setLaunchListener(String launchListener)
setLaunchListener - sets the value of the Menu Node's launchListener
atribute.
|
void |
setReturnListener(String returnListener)
setReturnListener - sets the value of the Menu Node's returnListener
atribute.
|
void |
setTargetFrame(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(String useWindowStr)
Sets the useWindow attribute of the menu item.
|
void |
setWindowHeight(int windowHeight)
Sets the windowHeight attribute of the menu item.
|
void |
setWindowHeight(String windowHeightStr)
Sets the windowHeight attribute of the menu item.
|
void |
setWindowWidth(int windowWidth)
Sets the windowWidth attribute of the menu item.
|
void |
setWindowWidth(String windowWidthStr)
Sets the windowWidth attribute of the menu item.
|
getAccessKey, getAccessKeyProperty, getBundleKeyProperty, getBundleNameProperty, getChildren, getChildrenProperty, getDefaultFocusPath, getDefaultFocusPathProperty, getDisabled, getDisabledProperty, getFocusViewId, getFocusViewIdProperty, getHandlerId, getHandlerIdProperty, getIcon, getIconProperty, getId, getIdProperty, getLabel, getLabelAndAccessKey, getLabelAndAccessKeyProperty, getLabelProperty, getModelId, getModelIdProperty, getReadOnly, getReadOnlyProperty, getRefNode, getRendered, getRenderedProperty, getRootId, getRootIdProperty, getRootModel, getRootModelKey, getRootModelKeyProperty, getUniqueId, getUniqueIdProperty, getVisible, getVisibleProperty, postSelectedNode, setAccessKey, setAccessKey, setChildren, setDefaultFocusPath, setDefaultFocusPath, setDisabled, setDisabled, setFocusViewId, setHandlerId, setIcon, setId, setLabel, setLabelAndAccessKey, setModelId, setReadOnly, setReadOnly, setRendered, setRendered, setResBundleKey, setResBundleName, setRootId, setRootModelKey, setVisible, setVisible
public void setAction(String action)
action
- - the string value of the ItemNode's "action" property.public String doAction()
public void setActionListener(String actionListener)
actionListener
- - El expression method reference to an
action listenerpublic String getActionListener()
public void actionListener(javax.faces.event.ActionEvent event)
public void setLaunchListener(String launchListener)
launchListener
- - El expression method reference to a
launch listenerpublic String getLaunchListener()
public void setReturnListener(String returnListener)
returnListener
- - El expression method reference to a
return listenerpublic String getReturnListener()
public void setImmediate(boolean immediate)
immediate
- - boolean indicating whether or not data validation -
client-side or server-side - should take place when
events are generated by this component.public void setImmediate(String immediateStr)
immediateStr
- - string representing a boolean value
or an EL expressionpublic boolean getImmediate()
public void setUseWindow(boolean useWindow)
useWindow
- - boolean indicating whether
or not to use a new window when launching dialogs.public void setUseWindow(String useWindowStr)
useWindowStr
- - string representing a boolean value or
an EL Expressionpublic boolean getUseWindow()
public void setWindowHeight(int windowHeight)
windowHeight
- - int height of the window, if
this command is used to launch a window.public void setWindowHeight(String windowHeightStr)
windowHeightStr
- - String Height of the window, if
this command is used to launch a window. Could be an
EL expressionpublic int getWindowHeight()
public void setWindowWidth(int windowWidth)
windowWidth
- - int width of the window, if
this command is used to launch a window.public void setWindowWidth(String windowWidthStr)
windowWidthStr
- - String width of the window, if
this command is used to launch a window. Could be an
EL expressionpublic int getWindowWidth()
public void setDestination(String destination)
destination
- - either a URI or an EL method binding expression.public String getDestination()
getDestination
in class MenuNode
public void setTargetFrame(String targetFrame)
targetFrame
- - the target frame for the goCommandMenuItem.public String getTargetFrame()
public Map<String,String> getCustomPropList()
public final String getDestinationProperty()
public final String getTargetFrameProperty()
public final String getActionProperty()
public final String getActionListenerProperty()
public final String getLaunchListenerProperty()
public final String getReturnListenerProperty()
public final String getImmediateProperty()
public final String getUseWindowProperty()
public final String getWindowHeightProperty()
public final String getWindowWidthProperty()
public void setCustomPropList(Map<String,String> attrMap)
attrMap
- Map of attibute name/values for this node
from MenuContentHandlerImplpublic MenuNode getThreadSafeCopy()
MenuNode
getThreadSafeCopy
in class MenuNode
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.