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