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(javax.servlet.http.HttpServletRequest request)
Returns the root menu of the menu model.
|
protected Object |
getSelectedObject(javax.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 javax.servlet.ServletException
actionPerformed
in interface ServerActionListener
event
- The server action event.javax.servlet.ServletException
protected IlvMenu getMenuFromSession(javax.servlet.http.HttpServletRequest request)
request
- The http request.protected Object getSelectedObject(javax.servlet.http.HttpServletRequest request, IlvManagerView view, int x, int y) throws javax.servlet.ServletException
IlvGraphic
instance selected by the user when he
triggered the pop-up menu.IlvGraphic
instance.javax.servlet.ServletException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.