|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.servlet.IlvManagerServletSupport
ilog.views.faces.dhtml.servlet.IlvFacesManagerServletSupport
ilog.tgo.faces.graph.dhtml.servlet.IltFacesGraphServletSupport
ilog.tgo.faces.equipment.dhtml.servlet.IltFacesEquipmentServletSupport
public class IltFacesEquipmentServletSupport
This class defines the servlet support implementation used by
the equipment servlet (IltFacesEquipmentServletSupport).
| Field Summary |
|---|
| Fields inherited from class ilog.tgo.faces.graph.dhtml.servlet.IltFacesGraphServletSupport |
|---|
graphicObjectComparator, managerLayerComparator |
| Fields inherited from class ilog.views.faces.dhtml.servlet.IlvFacesManagerServletSupport |
|---|
IMAGE_MAP_GENERATOR_PARAM, TILE_MANAGER_PARAM |
| Fields inherited from class ilog.views.servlet.IlvManagerServletSupport |
|---|
ImageMapAreaGeneratorProperty |
| Fields inherited from interface ilog.tgo.faces.IltFacesJTGOConstants |
|---|
CONTEXT, DATA_SOURCE, DATA_SOURCE_ID, DEFAULT_STYLE_SHEET, EQUIPMENT, NETWORK, OBJECT_ACTION_MB, PROPERTY_ACCESSOR, STYLE_SHEETS |
| Fields inherited from interface ilog.views.faces.dhtml.IlvDHTMLFrameworkConstants |
|---|
SESSION_ID_PREFIX, STATE_URL, STATIC_LAYERS_COUNT_PARAM, TILE_MANAGER, UPDATE_INTERVAL |
| Fields inherited from interface ilog.views.faces.IlvFrameworkConstants |
|---|
ACTION_NAME, AUTO_REFRESH, BOUNDING_BOX, CONSTRAINED_ON_CONTENTS, INTERACTOR, INTERACTOR_ID, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, NB_BUTTONS, ORIENTATION, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PAN_FACTOR, STATIC_LAYERS_COUNT, TILE_SIZE, VISIBLE_LAYERS, ZOOM_FACTOR, ZOOM_LEVELS |
| Constructor Summary | |
|---|---|
IltFacesEquipmentServletSupport(javax.servlet.ServletContext ctx)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
addJSFActionListeners()
Adds the server actions that invokes the select interactors' value change listener. |
protected IlpEquipment |
getEquipment(javax.servlet.http.HttpServletRequest request)
Returns the equipment component associated with the given view. |
protected IlpGraphView |
getGraphView(javax.servlet.http.HttpServletRequest request)
Returns the graph view stored in the session, or creates a new one if needed. |
boolean |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle project property before processing the request. |
protected void |
setStyleSheets(javax.servlet.http.HttpServletRequest request,
String styleSheets)
Sets a given comma separated stylesheet list into the underlying equipment component. |
protected boolean |
shouldGenerateImageMap(javax.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(javax.servlet.http.HttpServletRequest request,
IlvManagerLayer layer,
IlvManagerView view,
IlvTransformer t)
Returns true if image map information should be
generated for the specified layer. |
| Methods inherited from class ilog.tgo.faces.graph.dhtml.servlet.IltFacesGraphServletSupport |
|---|
createFacesContext, createPopupMenuSupport, createSelectionSupport, FilterLayers, getDynamicLayers, getGraphicObjectComparator, getImageMapAreaGenerator, getLayers, getLock, getManagerLayerComparator, getManagerView, getOverviewManagerView, GetViewId, installImageMapAreaGenerator, logHandleRequestException, resolveFileName |
| Methods inherited from class ilog.views.faces.dhtml.servlet.IlvFacesManagerServletSupport |
|---|
additionalCapabilities, generateImage, getFacesContext, getMenuFactory, getTileManager, installImageMapAreaGenerator, isOverviewRequest, isSessionExpired, prepareManagerView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltFacesEquipmentServletSupport(javax.servlet.ServletContext ctx)
ctx - The servlet context, which is stored internally.| Method Detail |
|---|
protected IlpEquipment getEquipment(javax.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 IltFacesGraphServletSupportprotected IlpGraphView getGraphView(javax.servlet.http.HttpServletRequest request)
getGraphView in class IltFacesGraphServletSupportrequest - The current servlet request.
protected void setStyleSheets(javax.servlet.http.HttpServletRequest request,
String styleSheets)
throws javax.servlet.ServletException
setStyleSheets in class IltFacesGraphServletSupportrequest - The request being processed.styleSheets - The style sheet list being set.
javax.servlet.ServletException
public boolean handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
handleRequest in class IltFacesGraphServletSupportrequest - The current Http request.response - The Http response.
false when the request is not recognized by this
servlet.
IOException
javax.servlet.ServletException
protected boolean shouldGenerateImageMap(javax.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 IlvFacesManagerServletSupportrequest - 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(javax.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 IltFacesGraphServletSupportrequest - The current HTTP request.graphic - The graphic object.view - The manager view for the specified request.t - The transformer used to draw the view.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||