org.primefaces.component.menuitem
Class MenuItem

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by org.primefaces.component.menuitem.MenuItem
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, AjaxSource

public class MenuItem
extends javax.faces.component.UICommand
implements AjaxSource, java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
protected static class MenuItem.PropertyKeys
           
 
Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
MenuItem()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext)
           
protected  javax.faces.context.FacesContext getFacesContext()
           
 java.lang.String getFamily()
           
 java.lang.String getHelpText()
           
 java.lang.String getIcon()
           
 java.lang.String getOnclick()
           
 java.lang.String getOncomplete()
           
 java.lang.String getOnerror()
           
 java.lang.String getOnstart()
           
 java.lang.String getOnsuccess()
           
 java.lang.String getProcess()
           
 java.lang.String getStyle()
           
 java.lang.String getStyleClass()
           
 java.lang.String getTarget()
           
 java.lang.String getUpdate()
           
 java.lang.String getUrl()
           
 void handleAttribute(java.lang.String name, java.lang.Object value)
           
 boolean isAjax()
           
 boolean isAsync()
           
 boolean isGlobal()
           
 void setAjax(boolean _ajax)
           
 void setAsync(boolean _async)
           
 void setGlobal(boolean _global)
           
 void setHelpText(java.lang.String _helpText)
           
 void setIcon(java.lang.String _icon)
           
 void setOnclick(java.lang.String _onclick)
           
 void setOncomplete(java.lang.String _oncomplete)
           
 void setOnerror(java.lang.String _onerror)
           
 void setOnstart(java.lang.String _onstart)
           
 void setOnsuccess(java.lang.String _onsuccess)
           
 void setProcess(java.lang.String _process)
           
 void setStyle(java.lang.String _style)
           
 void setStyleClass(java.lang.String _styleClass)
           
 void setTarget(java.lang.String _target)
           
 void setUpdate(java.lang.String _update)
           
 void setUrl(java.lang.String _url)
           
 boolean shouldRenderChildren()
           
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

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

MenuItem

public MenuItem()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class javax.faces.component.UICommand

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String _url)

getTarget

public java.lang.String getTarget()

setTarget

public void setTarget(java.lang.String _target)

getHelpText

public java.lang.String getHelpText()

setHelpText

public void setHelpText(java.lang.String _helpText)

getStyle

public java.lang.String getStyle()

setStyle

public void setStyle(java.lang.String _style)

getStyleClass

public java.lang.String getStyleClass()

setStyleClass

public void setStyleClass(java.lang.String _styleClass)

getOnclick

public java.lang.String getOnclick()

setOnclick

public void setOnclick(java.lang.String _onclick)

getUpdate

public java.lang.String getUpdate()
Specified by:
getUpdate in interface AjaxSource

setUpdate

public void setUpdate(java.lang.String _update)

getProcess

public java.lang.String getProcess()
Specified by:
getProcess in interface AjaxSource

setProcess

public void setProcess(java.lang.String _process)

getOnstart

public java.lang.String getOnstart()
Specified by:
getOnstart in interface AjaxSource

setOnstart

public void setOnstart(java.lang.String _onstart)

getOncomplete

public java.lang.String getOncomplete()
Specified by:
getOncomplete in interface AjaxSource

setOncomplete

public void setOncomplete(java.lang.String _oncomplete)

getOnerror

public java.lang.String getOnerror()
Specified by:
getOnerror in interface AjaxSource

setOnerror

public void setOnerror(java.lang.String _onerror)

getOnsuccess

public java.lang.String getOnsuccess()
Specified by:
getOnsuccess in interface AjaxSource

setOnsuccess

public void setOnsuccess(java.lang.String _onsuccess)

isGlobal

public boolean isGlobal()
Specified by:
isGlobal in interface AjaxSource

setGlobal

public void setGlobal(boolean _global)

isAsync

public boolean isAsync()
Specified by:
isAsync in interface AjaxSource

setAsync

public void setAsync(boolean _async)

isAjax

public boolean isAjax()

setAjax

public void setAjax(boolean _ajax)

getIcon

public java.lang.String getIcon()

setIcon

public void setIcon(java.lang.String _icon)

decode

public void decode(javax.faces.context.FacesContext facesContext)
Overrides:
decode in class javax.faces.component.UIComponentBase

shouldRenderChildren

public boolean shouldRenderChildren()

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()
Overrides:
getFacesContext in class javax.faces.component.UIComponentBase

handleAttribute

public void handleAttribute(java.lang.String name,
                            java.lang.Object value)


Copyright © 2011. All Rights Reserved.