|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.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
public class UIMenuCommand
Renders a menu item.
UIComponent class, generated from template component1.2.stg
with class
MenuCommandTagDeclaration
.
Field Summary | |
---|---|
static String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UICommand |
---|
COMPONENT_FAMILY |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
UIMenuCommand()
|
Method Summary | |
---|---|
Character |
getAccessKey()
Deprecated. |
String |
getImage()
Url to an image to display. |
String |
getLabel()
Text value to display as label. |
String |
getLabelWithAccessKey()
Deprecated. |
boolean |
isDisabled()
Flag indicating that this element is disabled. |
boolean |
isImmediate()
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()
Flag indicating that the resource referenced by the resource attribute is a jsf resource. |
boolean |
isTransition()
Specify, if the command calls an JSF-Action. |
void |
restoreState(javax.faces.context.FacesContext context,
Object componentState)
|
Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAccessKey(Character accessKey)
Deprecated. |
void |
setDisabled(boolean disabled)
|
void |
setImage(String image)
|
void |
setImmediate(boolean immediate)
|
void |
setJsfResource(boolean jsfResource)
|
void |
setLabel(String label)
|
void |
setLabelWithAccessKey(String labelWithAccessKey)
Deprecated. |
void |
setTransition(boolean transition)
|
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 |
---|
public static final String COMPONENT_TYPE
Constructor Detail |
---|
public UIMenuCommand()
Method Detail |
---|
@Deprecated public Character getAccessKey()
@Deprecated public void setAccessKey(Character accessKey)
@Deprecated public String getLabelWithAccessKey()
@Deprecated public void setLabelWithAccessKey(String labelWithAccessKey)
public boolean isJsfResource()
false
isJsfResource
in class UICommand
public void setJsfResource(boolean jsfResource)
setJsfResource
in class UICommand
public String getImage()
public void setImage(String image)
public boolean isTransition()
true
isTransition
in class UICommand
public void setTransition(boolean transition)
setTransition
in class UICommand
public String getLabel()
public void setLabel(String label)
public boolean isImmediate()
false
isImmediate
in interface javax.faces.component.ActionSource
isImmediate
in class UICommand
public void setImmediate(boolean immediate)
setImmediate
in interface javax.faces.component.ActionSource
setImmediate
in class UICommand
public boolean isDisabled()
false
isDisabled
in class UICommand
public void setDisabled(boolean disabled)
setDisabled
in class UICommand
public void restoreState(javax.faces.context.FacesContext context, Object componentState)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class UICommand
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class UICommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |