public class IlvPopupMenuServerActionListener extends Object implements ServerActionListener
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_NAME
The action name handled by this server action.
|
Constructor and Description |
---|
IlvPopupMenuServerActionListener()
Creates a new
IlvPopupMenuServerActionListener instance. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ServerActionEvent event)
Performs the action requested from the client side.
|
protected IlvMenu |
getMenuFromSession(jakarta.servlet.http.HttpServletRequest request)
Returns the root menu of the menu model.
|
protected Object |
getSelectedObject(jakarta.servlet.http.HttpServletRequest request,
IlvManagerView view,
int x,
int y)
Returns the
IlvGraphic instance selected by the user when he
triggered the pop-up menu. |
public static final String ACTION_NAME
public IlvPopupMenuServerActionListener()
IlvPopupMenuServerActionListener
instance.public void actionPerformed(ServerActionEvent event) throws jakarta.servlet.ServletException
actionPerformed
in interface ServerActionListener
event
- The server action event.jakarta.servlet.ServletException
protected IlvMenu getMenuFromSession(jakarta.servlet.http.HttpServletRequest request)
request
- The http request.protected Object getSelectedObject(jakarta.servlet.http.HttpServletRequest request, IlvManagerView view, int x, int y) throws jakarta.servlet.ServletException
IlvGraphic
instance selected by the user when he
triggered the pop-up menu.IlvGraphic
instance.jakarta.servlet.ServletException
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.