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, savePopupMenuModelInSession
getMenuModelId, getSupport, installListeners, removeListeners
createMenu, createMenu, getMenuFactory, getServletContext, handleRequest, setMenuFactory, setServletContext
public 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 IlvManagerPopupServletSupport
request
- The HTTP request.IlpGraphView
instance.jakarta.servlet.ServletException
protected Object getSelectedObject(jakarta.servlet.http.HttpServletRequest request, int x, int y) throws jakarta.servlet.ServletException
getSelectedObject
in class IlvFacesManagerPopupSupport
request
- 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.ServletException
IlvPopupMenuServletSupport.getGraphicComponent(HttpServletRequest)
protected ServerActionListener createListener()
createListener
in class IlvFacesManagerPopupSupport
IltFacesGraphPopupListener
.protected void prepareComponent(jakarta.servlet.http.HttpServletRequest request, Object graphicComponent) throws jakarta.servlet.ServletException
prepareComponent
in class IlvManagerPopupServletSupport
request
- 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.