org.apache.myfaces.tobago.component
Class UIMenuCommand
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
org.apache.myfaces.tobago.internal.component.AbstractUICommandBase
org.apache.myfaces.tobago.internal.component.AbstractUICommand
org.apache.myfaces.tobago.component.UICommand
org.apache.myfaces.tobago.component.UIMenuCommand
- All Implemented Interfaces:
- ActionSource, ActionSource2, StateHolder, SupportsMarkup, SupportsRenderedPartially, Configurable, LayoutBase, LayoutComponent
- Direct Known Subclasses:
- UIMenuItem
public class UIMenuCommand
- extends UICommand
Renders a menu item.
UIComponent class, generated from template component1.2.stg
with class
org.apache.myfaces.tobago.internal.taglib.component.MenuCommandTagDeclaration
.
Methods inherited from class org.apache.myfaces.tobago.component.UICommand |
getColumnSpan, getCurrentHeight, getCurrentMarkup, getCurrentWidth, getDisplay, getHeight, getHorizontalIndex, getLeft, getLink, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarkup, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getOnclick, getPreferredHeight, getPreferredWidth, getRenderedPartially, getResource, getRowSpan, getTarget, getTop, getVerticalIndex, getWidth, isDisabled, isImmediate, isJsfResource, isTransition, setColumnSpan, setCurrentHeight, setCurrentMarkup, setCurrentWidth, setDisabled, setDisplay, setHeight, setHorizontalIndex, setImmediate, setJsfResource, setLeft, setLink, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMarkup, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setOnclick, setPreferredHeight, setPreferredWidth, setRenderedPartially, setResource, setRowSpan, setTarget, setTop, setTransition, setVerticalIndex, setWidth |
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUICommandBase |
processDecodes, queueEvent |
Methods inherited from class javax.faces.component.UICommand |
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, removeActionListener, setAction, setActionExpression, setActionListener, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
UIMenuCommand
public UIMenuCommand()
getAccessKey
@Deprecated
public Character getAccessKey()
- Deprecated.
- Deprecated! Has not longer any function.
setAccessKey
@Deprecated
public void setAccessKey(Character accessKey)
- Deprecated.
getLabelWithAccessKey
@Deprecated
public String getLabelWithAccessKey()
- Deprecated.
- Deprecated! Use 'label' instead.
Text value to display as label.
If text contains an underscore the next character overwrites 'accesskey'.
setLabelWithAccessKey
@Deprecated
public void setLabelWithAccessKey(String labelWithAccessKey)
- Deprecated.
getImage
public String getImage()
- Url to an image to display.
setImage
public void setImage(String image)
getLabel
public String getLabel()
- Text value to display as label.
If text contains an underscore the next character is used as accesskey.
setLabel
public void setLabel(String label)
restoreState
public void restoreState(FacesContext context,
Object componentState)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UICommand
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UICommand
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.