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(javax.servlet.http.HttpServletRequest request)
Returns the
IlpGraphView instance corresponding to the
underlying graphic component. |
protected Object |
getSelectedObject(javax.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(javax.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(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
IlpGraphView instance corresponding to the
underlying graphic component.getGraphicComponent in class IlvManagerPopupServletSupportrequest - The HTTP request.IlpGraphView instance.javax.servlet.ServletExceptionprotected Object getSelectedObject(javax.servlet.http.HttpServletRequest request, int x, int y) throws javax.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.javax.servlet.ServletExceptionIlvPopupMenuServletSupport.getGraphicComponent(HttpServletRequest)protected ServerActionListener createListener()
createListener in class IlvFacesManagerPopupSupportIltFacesGraphPopupListener.protected void prepareComponent(javax.servlet.http.HttpServletRequest request,
Object graphicComponent)
throws javax.servlet.ServletException
prepareComponent in class IlvManagerPopupServletSupportrequest - The HTTP request.graphicComponent - The graphic component.javax.servlet.ServletException - If an error occurs during configuration.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.