public class FacesMenuActionEvent extends FacesViewActionEvent
source
Constructor and Description |
---|
FacesMenuActionEvent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Creates a new
IlvFacesMenuActionEvent instance. |
Modifier and Type | Method and Description |
---|---|
IlvMenuItem |
getSelectedMenuItem()
Returns the model menu item selected.
|
boolean |
isAppropriateListener(javax.faces.event.FacesListener listener)
Always return Return
true . |
void |
processListener(javax.faces.event.FacesListener listener)
Broadcast this event to the specified
listener, by whatever mechanism is appropriate.
|
void |
setSelectedMenuItem(IlvMenuItem selectedMenuItem)
Sets the selected menu item.
|
getAdditionalParameters, getContext, getGraphicComponent, getObject, setAdditionalParameters, setGraphicComponent, setObject
getComponent, getPhaseId, queue, setPhaseId
getSource, toString
public FacesMenuActionEvent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
IlvFacesMenuActionEvent
instance.context
- The faces context.component
- The source of the event.public IlvMenuItem getSelectedMenuItem()
public void setSelectedMenuItem(IlvMenuItem selectedMenuItem)
selectedMenuItem
- The menu item.public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
Always return Return true
.
isAppropriateListener
in class FacesViewActionEvent
listener
- The listener to evaluatepublic void processListener(javax.faces.event.FacesListener listener)
Broadcast this event to the specified listener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this event as a parameter.
processListener
in class javax.faces.event.ActionEvent
listener
- The listener to send this event to.javax.faces.event.AbortProcessingException
- Signal the JavaServer Faces
implementation that no further processing on the current event
should be performed© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.