public class FacesMenuActionEvent extends FacesViewActionEvent
source
Constructor and Description |
---|
FacesMenuActionEvent(jakarta.faces.context.FacesContext context,
jakarta.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(jakarta.faces.event.FacesListener listener)
Always return Return
true . |
void |
processListener(jakarta.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, getFacesContext, getPhaseId, queue, setPhaseId
getSource, toString
public FacesMenuActionEvent(jakarta.faces.context.FacesContext context, jakarta.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(jakarta.faces.event.FacesListener listener)
Always return Return true
.
isAppropriateListener
in class FacesViewActionEvent
listener
- The listener to evaluatepublic void processListener(jakarta.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 jakarta.faces.event.ActionEvent
listener
- The listener to send this event to.jakarta.faces.event.AbortProcessingException
- Signal the JavaServer Faces
implementation that no further processing on the current event
should be performed© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.