org.apache.myfaces.tobago.component
Class UIMenuItem

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by org.apache.myfaces.tobago.internal.component.AbstractUICommandBase
                  extended by org.apache.myfaces.tobago.internal.component.AbstractUICommand
                      extended by org.apache.myfaces.tobago.component.UICommand
                          extended by org.apache.myfaces.tobago.component.UIMenuCommand
                              extended by org.apache.myfaces.tobago.component.UIMenuItem
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.StateHolder, SupportsMarkup, SupportsRenderedPartially, Configurable, LayoutBase, LayoutComponent

Deprecated.

@Deprecated
public class UIMenuItem
extends UIMenuCommand

Renders a menu item.

Please use menuCommand instead!

UIComponent class, generated from template component1.2.stg with class MenuItemTagDeclaration.


Field Summary
static String COMPONENT_TYPE
          Deprecated.  
 
Fields inherited from class javax.faces.component.UICommand
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
UIMenuItem()
          Deprecated.  
 
Method Summary
 boolean isDisabled()
          Deprecated. Flag indicating that this element is disabled.
 boolean isImmediate()
          Deprecated. Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
 boolean isJsfResource()
          Deprecated. Flag indicating that the resource referenced by the resource attribute is a jsf resource.
 boolean isTransition()
          Deprecated. Specify, if the command calls an JSF-Action.
 void restoreState(javax.faces.context.FacesContext context, Object componentState)
          Deprecated.  
 Object saveState(javax.faces.context.FacesContext context)
          Deprecated.  
 void setDisabled(boolean disabled)
          Deprecated.  
 void setImmediate(boolean immediate)
          Deprecated.  
 void setJsfResource(boolean jsfResource)
          Deprecated.  
 void setTransition(boolean transition)
          Deprecated.  
 
Methods inherited from class org.apache.myfaces.tobago.component.UIMenuCommand
getAccessKey, getImage, getLabel, getLabelWithAccessKey, setAccessKey, setImage, setLabel, setLabelWithAccessKey
 
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, setColumnSpan, setCurrentHeight, setCurrentMarkup, setCurrentWidth, setDisplay, setHeight, setHorizontalIndex, setLeft, setLink, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMarkup, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setOnclick, setPreferredHeight, setPreferredWidth, setRenderedPartially, setResource, setRowSpan, setTarget, setTop, 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 javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutComponent
isRendered
 
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable
getRendererType
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

UIMenuItem

public UIMenuItem()
Deprecated. 
Method Detail

isJsfResource

public boolean isJsfResource()
Deprecated. 
Flag indicating that the resource referenced by the resource attribute is a jsf resource. That means that the url has to be processed to change the prefix or suffix (e. g. *.jsf or /faces/*). Default is false.
Default: false

Overrides:
isJsfResource in class UIMenuCommand

setJsfResource

public void setJsfResource(boolean jsfResource)
Deprecated. 
Overrides:
setJsfResource in class UIMenuCommand

isTransition

public boolean isTransition()
Deprecated. 
Specify, if the command calls an JSF-Action. Useful to switch off the Double-Submit-Check and Waiting-Behavior.
Default: true

Overrides:
isTransition in class UIMenuCommand

setTransition

public void setTransition(boolean transition)
Deprecated. 
Overrides:
setTransition in class UIMenuCommand

isImmediate

public boolean isImmediate()
Deprecated. 
Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase.
Default: false

Specified by:
isImmediate in interface javax.faces.component.ActionSource
Overrides:
isImmediate in class UIMenuCommand

setImmediate

public void setImmediate(boolean immediate)
Deprecated. 
Specified by:
setImmediate in interface javax.faces.component.ActionSource
Overrides:
setImmediate in class UIMenuCommand

isDisabled

public boolean isDisabled()
Deprecated. 
Flag indicating that this element is disabled.
Default: false

Overrides:
isDisabled in class UIMenuCommand

setDisabled

public void setDisabled(boolean disabled)
Deprecated. 
Overrides:
setDisabled in class UIMenuCommand

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object componentState)
Deprecated. 
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class UIMenuCommand

saveState

public Object saveState(javax.faces.context.FacesContext context)
Deprecated. 
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class UIMenuCommand


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.