public class IltFacesGraphPopupSupport extends IlvFacesManagerPopupSupport
MENU_SESSION_KEY, REQUEST_TYPE, SERVLET_ACTION_NAME| Constructor and Description |
|---|
IltFacesGraphPopupSupport(IltFacesGraphServletSupport support)
Creates a pop-up support for TGO View Faces components, that is, the
network and equipment.
|
| Modifier and Type | Method and Description |
|---|---|
protected ServerActionListener |
createListener()
Creates a listener for pop-up events.
|
protected Object |
getGraphicComponent(jakarta.servlet.http.HttpServletRequest request)
Returns the
IlpGraphView instance corresponding to the
underlying graphic component. |
protected Object |
getSelectedObject(jakarta.servlet.http.HttpServletRequest request,
int x,
int y)
Returns the representation object that is below the mouse pointer when
the user activates the pop-up menu.
|
protected void |
prepareComponent(jakarta.servlet.http.HttpServletRequest request,
Object graphicComponent)
Configures the graphic component to be in a correct state before the
selected object is picked.
|
getMenuEncoder, getPopupMenuFromSession, invokeFinder, savePopupMenuModelInSessiongetMenuModelId, getSupport, installListeners, removeListenerscreateMenu, createMenu, getMenuFactory, getServletContext, handleRequest, setMenuFactory, setServletContextpublic IltFacesGraphPopupSupport(IltFacesGraphServletSupport support)
support - The image generating servlet support.protected Object getGraphicComponent(jakarta.servlet.http.HttpServletRequest request) throws jakarta.servlet.ServletException
IlpGraphView instance corresponding to the
underlying graphic component.getGraphicComponent in class IlvManagerPopupServletSupportrequest - The HTTP request.IlpGraphView instance.jakarta.servlet.ServletExceptionprotected Object getSelectedObject(jakarta.servlet.http.HttpServletRequest request, int x, int y) throws jakarta.servlet.ServletException
getSelectedObject in class IlvFacesManagerPopupSupportrequest - The HTTP request.x - x coordinate in image view coordinate system.y - y coordinate in image view coordinate system.IlpRepresentationObject. If there is
no representation object, null is returned.jakarta.servlet.ServletExceptionIlvPopupMenuServletSupport.getGraphicComponent(HttpServletRequest)protected ServerActionListener createListener()
createListener in class IlvFacesManagerPopupSupportIltFacesGraphPopupListener.protected void prepareComponent(jakarta.servlet.http.HttpServletRequest request,
Object graphicComponent)
throws jakarta.servlet.ServletException
prepareComponent in class IlvManagerPopupServletSupportrequest - The HTTP request.graphicComponent - The graphic component.jakarta.servlet.ServletException - If an error occurs during configuration.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.