public class IltFacesEquipmentServletSupport extends IltFacesGraphServletSupport implements IltFacesJTGOConstants, IlvDHTMLFrameworkConstants
IltFacesEquipmentServletSupport
).graphicObjectComparator, managerLayerComparator
IMAGE_MAP_GENERATOR_PARAM, TILE_MANAGER_PARAM
ImageMapAreaGeneratorProperty
CONTEXT, DATA_SOURCE, DATA_SOURCE_ID, DEFAULT_STYLE_SHEET, EQUIPMENT, NETWORK, OBJECT_ACTION_MB, PROPERTY_ACCESSOR, STYLE_SHEETS
SESSION_ID_PREFIX, STATE_URL, STATIC_LAYERS_COUNT_PARAM, TILE_MANAGER, UPDATE_INTERVAL
AUTO_REFRESH, BOUNDING_BOX, COLOR, CONSTRAINED_ON_CONTENTS, GROUPABLE, HITMAP_LAYERS, IGNORE_CONTENT_ASPECT_RATIO, INTERACTOR, INTERACTOR_ID, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, NB_BUTTONS, OPACITY, ORIENTATION, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PAN_FACTOR, STATIC_LAYERS_COUNT, TEMPLATE, TILE_SIZE, TOLERANCE, VISIBLE_LAYERS, ZOOM_FACTOR, ZOOM_LEVELS
ACCESSIBLE, ACTION_NAME, AUTO_SUBMIT, BACKGROUND_COLOR, CAPABILITIES_LOADED_HANDLER, COMPONENT, DO_ACTION_ON_BG_DESELECT, ERROR_MESSAGE, GENERATE_IMAGE_MAP, HOTKEYS, IMAGE_FORMAT, IMAGE_LOADED_HANDLER, IMAGE_MAP_GENERATOR, IMAGE_MAP_GENERATOR_CLASS, IMAGE_MAP_VISIBLE, IMAGE_SERVLET_CONTEXT, INVOCATION_CONTEXT, JSF_CONTEXT, ON_CLICK, ON_SELECTION_CHANGED, PARTIAL_SUBMIT, PORTLET_CONTEXT_KEY, PORTLET_SESSION_KEY, REPLACE_PATTERN, RESIZABLE, SELECTION_RESIZABLE_CLASS, SESSION_EXP_HANDLER, SUBMITTED_VALUE, WAITING_IMAGE
AFTER_HANDLER, BASETEXTDIRECTION, BEFORE_HANDLER, BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CHARTS_MESSAGE_BUNDLE, CORE_BUNDLE, CORE_MESSAGE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, DIAGRAMMER_MESSAGE_BUNDLE, ENABLED, EVENT_TYPE, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, FRAMEWORK_MESSAGE_BUNDLE, GANTT_BUNDLE, GANTT_MESSAGE_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, INTERACTORS, INTERCEPT_INTERACTOR, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_BUNDLE, MAPS_MESSAGE_BUNDLE, MENU_MODEL_ID, MESSAGE, MESSAGE_BOX, MESSAGE_BOX_ID, MOVE_ALLOWED, OBJECT_FINDER, PARAM_COMPID, PARAM_DATA, PARAM_KEY, PARAM_NAMESPACE, PARAM_RESOURCE, PARAM_SERVICE, PARAM_TYPE, POPUP_MENU, POPUP_MENU_FACTORY, POPUP_MENU_FACTORY_CLASS, PORTLET_NAMESPACE, PROGRESSIVE_ZOOM, PROJECT, RENDER, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SCROLL_BAR, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TGO_MESSAGE_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
Constructor and Description |
---|
IltFacesEquipmentServletSupport(jakarta.servlet.ServletContext ctx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addJSFActionListeners()
Adds the server actions that invokes the select interactors'
value change listener.
|
protected IlpEquipment |
getEquipment(jakarta.servlet.http.HttpServletRequest request)
Returns the equipment component associated with the given view.
|
protected IlpGraphView |
getGraphView(jakarta.servlet.http.HttpServletRequest request)
Returns the graph view stored in the session, or creates a new one
if needed.
|
boolean |
handleRequest(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
Handle project property before processing the request.
|
protected void |
setStyleSheets(jakarta.servlet.http.HttpServletRequest request,
String styleSheets)
Sets a given comma separated stylesheet list into the underlying
equipment component.
|
protected boolean |
shouldGenerateImageMap(jakarta.servlet.http.HttpServletRequest request,
IlvGraphic graphic,
IlvManagerView view,
IlvTransformer t)
Returns
true if image map information should be
generated for the specified IlvGraphic . |
protected boolean |
shouldGenerateImageMap(jakarta.servlet.http.HttpServletRequest request,
IlvManagerLayer layer,
IlvManagerView view,
IlvTransformer t)
Returns
true if image map information should be
generated for the specified layer. |
createFacesContext, createPopupMenuSupport, createSelectionSupport, FilterLayers, getDynamicLayers, getGraphicObjectComparator, getImageMapAreaGenerator, getLayers, getLock, getManagerLayerComparator, getManagerView, getOverviewManagerView, GetViewId, installImageMapAreaGenerator, logHandleRequestException, resolveFileName
additionalCapabilities, generateImage, getFacesContext, getMenuFactory, getTileManager, installImageMapAreaGenerator, isOverviewRequest, isSessionExpired, prepareManagerView
additionalCapabilities, addServerActionListener, addServerActionListener, beforeDraw, encodeImage, generateImageWhenSessionExpired, getAdditionalCapabilities, getAntialiasing, getContentLengthEnable, getContext, getDefaultImageMapHREF, getExpirationDate, getHitmapSupport, getInternalLock, getJPEGQuality, getKey, getManagerBBox, getMaxZoomLevel, getMinZoomLevel, getPopupMenuSupport, getSelectionSupport, getZoomLevels, isOverviewLayer, isPopupEnabled, isSelectionEnabled, isVerbose, removeServerActionListener, removeServerActionListener, setAntialiasing, setContentLengthEnable, setImageResponseCachePolicy, setJPEGQuality, setPopupEnabled, setSelectionEnabled, setVerbose, useTileManager
doGetScriptMessage, getParameterValidationListener, getScriptMessageSupport, setParameterValidationListener
public IltFacesEquipmentServletSupport(jakarta.servlet.ServletContext ctx)
ctx
- The servlet context, which is stored internally.protected IlpEquipment getEquipment(jakarta.servlet.http.HttpServletRequest request)
request
- The current servlet request.protected void addJSFActionListeners()
Adds the server actions that invokes the select interactors' value change listener.
This methods registers an instance of
IltFacesEquipmentServletAction
for the select
actions and IltFacesEquipmentServletRectAction
for the select rectangle actions.
addJSFActionListeners
in class IltFacesGraphServletSupport
protected IlpGraphView getGraphView(jakarta.servlet.http.HttpServletRequest request)
getGraphView
in class IltFacesGraphServletSupport
request
- The current servlet request.protected void setStyleSheets(jakarta.servlet.http.HttpServletRequest request, String styleSheets) throws jakarta.servlet.ServletException
setStyleSheets
in class IltFacesGraphServletSupport
request
- The request being processed.styleSheets
- The style sheet list being set.jakarta.servlet.ServletException
public boolean handleRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
handleRequest
in class IltFacesGraphServletSupport
request
- The current Http request.response
- The Http response.false
when the request is not recognized by this
servlet.IOException
- The IOException
jakarta.servlet.ServletException
- The ServletException
protected boolean shouldGenerateImageMap(jakarta.servlet.http.HttpServletRequest request, IlvManagerLayer layer, IlvManagerView view, IlvTransformer t)
true
if image map information should be
generated for the specified layer.shouldGenerateImageMap
in class IlvFacesManagerServletSupport
request
- The current HTTP request.layer
- The layer.view
- The manager view for the specified request.t
- The transformer used to draw the view.protected boolean shouldGenerateImageMap(jakarta.servlet.http.HttpServletRequest request, IlvGraphic graphic, IlvManagerView view, IlvTransformer t)
true
if image map information should be
generated for the specified IlvGraphic
.shouldGenerateImageMap
in class IltFacesGraphServletSupport
request
- The current HTTP request.graphic
- The graphic object.view
- The manager view for the specified request.t
- The transformer used to draw the view.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.