|
||||||||||
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.component.UIMenuCommand
public class UIMenuCommand
Renders a menu item. (This tag was renamed from tc:menuItem since Tobago 1.5.0)
UIComponent class, generated from template component2.0.stg
with class
MenuCommandTagDeclaration
.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static 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 |
Fields inherited from interface org.apache.myfaces.tobago.component.OnComponentPopulated |
---|
MARKER |
Constructor Summary | |
---|---|
UIMenuCommand()
|
Method Summary | |
---|---|
Character |
getAccessKey()
Deprecated. |
Markup |
getCurrentMarkup()
|
String |
getFamily()
|
String |
getImage()
Url to an image to display. |
String |
getLabel()
Text value to display as label. |
String |
getLabelWithAccessKey()
Deprecated. |
String |
getLink()
Link to an arbitrary URL, either an internal link or an external link. |
Markup |
getMarkup()
|
String |
getOnclick()
Script to be invoked when clicked |
String[] |
getRenderedPartially()
Indicate the partially rendered Components in a case of a submit. |
String |
getResource()
Link to an internal resource. |
String |
getTarget()
Name of a frame where the resource retrieved via this hyperlink is to be displayed. |
boolean |
isDisabled()
Flag indicating that this element is disabled. |
boolean |
isJsfResource()
Flag indicating that the resource referenced by the resource attribute is a jsf resource. |
boolean |
isOmit()
Flag indicating that the action of this element, will not be executed from client side (e. g. when the user clicks a button. |
boolean |
isTransition()
Specify, if the command calls an JSF-Action. |
Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAccessKey(Character accessKey)
Deprecated. |
void |
setCurrentMarkup(Markup currentMarkup)
|
void |
setDisabled(boolean disabled)
|
void |
setImage(String image)
|
void |
setJsfResource(boolean jsfResource)
|
void |
setLabel(String label)
|
void |
setLabelWithAccessKey(String labelWithAccessKey)
Deprecated. |
void |
setLink(String link)
|
void |
setMarkup(Markup markup)
|
void |
setOmit(boolean omit)
|
void |
setOnclick(String onclick)
|
void |
setRenderedPartially(String[] renderedPartially)
|
void |
setResource(String resource)
|
void |
setTarget(String target)
|
void |
setTransition(boolean transition)
|
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUICommandBase |
---|
onComponentPopulated, processDecodes, queueEvent |
Methods inherited from class javax.faces.component.UICommand |
---|
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public UIMenuCommand()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.UICommand
public Markup getMarkup()
getMarkup
in interface SupportsMarkup
public void setMarkup(Markup markup)
setMarkup
in interface SupportsMarkup
@Deprecated public Character getAccessKey()
@Deprecated public void setAccessKey(Character accessKey)
@Deprecated public String getLabelWithAccessKey()
@Deprecated public void setLabelWithAccessKey(String labelWithAccessKey)
public String getLink()
getLink
in class AbstractUICommandBase
public void setLink(String link)
public String getResource()
getResource
in class AbstractUICommandBase
public void setResource(String resource)
public boolean isJsfResource()
false
isJsfResource
in class AbstractUICommandBase
public void setJsfResource(boolean jsfResource)
public String getImage()
public void setImage(String image)
public boolean isTransition()
true
isTransition
in class AbstractUICommandBase
public void setTransition(boolean transition)
public String getLabel()
public void setLabel(String label)
public boolean isOmit()
false
isOmit
in class AbstractUICommandBase
public void setOmit(boolean omit)
public Markup getCurrentMarkup()
getCurrentMarkup
in interface SupportsMarkup
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface SupportsMarkup
public String getTarget()
getTarget
in class AbstractUICommandBase
public void setTarget(String target)
public String[] getRenderedPartially()
getRenderedPartially
in interface SupportsRenderedPartially
getRenderedPartially
in class AbstractUICommandBase
public void setRenderedPartially(String[] renderedPartially)
setRenderedPartially
in interface SupportsRenderedPartially
public String getOnclick()
getOnclick
in class AbstractUICommandBase
public void setOnclick(String onclick)
public boolean isDisabled()
false
public void setDisabled(boolean disabled)
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |