public class IlvFacesChartPopupSupport extends IlvChartPopupMenuSupport implements IlvChartConstants
MENU_SESSION_KEY, REQUEST_TYPE, SERVLET_ACTION_NAMEAUTO_REFRESH, CHART, DATA_SOURCE, DATA_SOURCE_ID, DATABASE_DRIVER, DATABASE_PASSWORD, DATABASE_QUERY, DATABASE_RESULT_SET, DATABASE_URL, DATABASE_USER, FILENAME, INTERACTOR, INTERACTOR_ID, ITEM_PICKING, KEEP_VISIBLE_WINDOW, LABEL_COLUMN_MAPPING, LAYOUT, LEGEND_LAYOUT, MESSAGEBOX, NEAREST_ITEM_PICKING, NEAREST_POINT_PICKING, OVERVIEW_ACTION_NAME, PAN_ACTION_NAME, PICKING_MODE, REFRESH_DATA, SESSION_ID_PREFIX, STATE_URL, STYLE_SHEET, STYLE_SHEETS, TYPE, UPDATE_INTERVAL, X_COLUMN_MAPPING, X_PAN_ALLOWED, X_ZOOM_ALLOWED, X_ZOOM_FACTOR, Y_COLUMN_MAPPING, Y_PAN_ALLOWED, Y_ZOOM_ALLOWED, Y_ZOOM_FACTOR, ZOOM_ACTION_NAME| Constructor and Description |
|---|
IlvFacesChartPopupSupport(IlvChartServletSupport support)
Creates an
IlvFacesChartPopupSupport. |
| Modifier and Type | Method and Description |
|---|---|
protected IlvChartServerAction |
createListener()
Returns a new instance of
IlvFacesChartPopupAction which can handle pop-up menu actions. |
protected IlvPopupMenuEncoder |
getMenuEncoder(javax.servlet.http.HttpServletRequest request)
Returns the menu encoder responsible for encoding the root
IlvMenu
into a code comprehensible for the client. |
protected IlvMenu |
getPopupMenuFromSession(javax.servlet.http.HttpServletRequest request)
Retrieve menu model stored in the session with the
MENU_SESSION_KEY key. |
protected Object |
getSelectedObject(javax.servlet.http.HttpServletRequest request,
int x,
int y)
Returns the
IlvDisplayPoint instance selected when user triggered the
pop-up menu. |
protected void |
savePopupMenuModelInSession(javax.servlet.http.HttpServletRequest request,
IlvMenu root)
Saves the generated menu in session using the
MENU_SESSION_KEY key. |
createDataPicker, getChart, getGraphicComponent, getMenuModelId, getSupport, installListeners, removeListenerscreateMenu, createMenu, getMenuFactory, getServletContext, handleRequest, prepareComponent, setMenuFactory, setServletContextpublic IlvFacesChartPopupSupport(IlvChartServletSupport support)
IlvFacesChartPopupSupport.support - The image servlet support.protected Object getSelectedObject(javax.servlet.http.HttpServletRequest request, int x, int y) throws javax.servlet.ServletException
IlvDisplayPoint instance selected when user triggered the
pop-up menu. The point is retrieved according to the mode specified by the client.getSelectedObject in class IlvChartPopupMenuSupportrequest - The HTTP request.x - x coordinate in image view coordinate system.y - y coordinate in image view coordinate system.javax.servlet.ServletExceptionIlvPopupMenuServletSupport.getGraphicComponent(HttpServletRequest)protected IlvPopupMenuEncoder getMenuEncoder(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
IlvMenu
into a code comprehensible for the client.IlvPopupMenuEncoder instance.getMenuEncoder in class IlvPopupMenuServletSupportrequest - The HTTP request.javax.servlet.ServletExceptionprotected IlvChartServerAction createListener()
IlvFacesChartPopupAction which can handle pop-up menu actions.createListener in class IlvChartPopupMenuSupportprotected void savePopupMenuModelInSession(javax.servlet.http.HttpServletRequest request,
IlvMenu root)
MENU_SESSION_KEY key.
Overridden to use the faces context to access the session.savePopupMenuModelInSession in class IlvPopupMenuServletSupportrequest - The Http request.root - The root menu of the menu model.protected IlvMenu getPopupMenuFromSession(javax.servlet.http.HttpServletRequest request)
MENU_SESSION_KEY key.
Overridden to use the faces context to access the session.getPopupMenuFromSession in class IlvPopupMenuServletSupportrequest - The Http request.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.