|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIGraphic
ilog.views.faces.component.IlvBasicView
ilog.views.faces.component.IlvFacesView
ilog.tgo.faces.graph.component.IltFacesGraphView
ilog.tgo.faces.equipment.component.IltFacesEquipmentView
ilog.tgo.faces.equipment.dhtml.component.IltFacesDHTMLEquipmentView
public class IltFacesDHTMLEquipmentView
This class defines the JTGO Equipment Faces component for DHTML rendering.
| Field Summary |
|---|
| Fields inherited from class ilog.tgo.faces.equipment.component.IltFacesEquipmentView |
|---|
DefaultConfigurationFileName |
| Fields inherited from class ilog.views.faces.component.IlvFacesView |
|---|
MAX_ZOOM_DEFAULT_VALUE, MIN_ZOOM_DEFAULT_VALUE, PAN_FACTOR_DEFAULT_VALUE, ZOOM_FACTOR_DEFAULT_VALUE |
| Fields inherited from class ilog.views.faces.component.IlvBasicView |
|---|
DEFAULT_OBJECT_FINDER |
| Fields inherited from class javax.faces.component.UIGraphic |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| 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 |
| 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 |
| Constructor Summary | |
|---|---|
IltFacesDHTMLEquipmentView()
Creates a new IltFacesDHTMLEquipmentView instance. |
|
| Method Summary | |
|---|---|
protected IlpEquipment |
createEquipmentComponent(String defaultStyleSheet,
IlpContext context)
Method called only once when creating the underlying IlpEquipment. |
Color |
getBackgroundColor()
Returns the backgroundColor property. |
String |
getBeforeSessionExpirationHandler()
Returns the JavaScript code that will be called when the session is about to expire. |
static String |
getComponentType()
Returns the component type identifier of this component. |
String |
getControllerURL()
Retrieves the controllerURL property. |
IlpEquipment |
getEquipment()
Returns the IlpEquipment instance wrapped by this
IltFacesEquipmentView instance. |
String |
getErrorMessage()
Returns the errorMessage property. |
String |
getFamily()
Returns the identifier of the component family to which this component
belongs. This identifier, in conjunction with the value of the This implementation returns the fully qualified class name. |
String |
getImageFormat()
Retrieves the imageFormat property. |
IlvImageMapAreaGenerator |
getImageMapGenerator()
Returns the image map generator. |
String |
getImageMapGeneratorClass()
Returns the image map generator class name. |
String |
getOnCapabilitiesLoaded()
Retrieves the onCapabilitiesLoaded property. |
String |
getOnImageLoaded()
Retrieves the onImageLoaded property. |
String |
getServlet()
Retrieves the servlet property. |
String |
getServletClass()
Retrieves the servletClass property. |
String |
getServletURL()
Retrieves the servletURL property. |
String |
getStateURL()
Retrieves the stateURL property. |
IlvTileManager |
getTileManager()
Returns the tile manager. |
int |
getUpdateInterval()
Retrieves the updateInterval property. |
IlvManagerView |
getView()
Returns the IlvManagerView associated with the
IlpEquipmentView. |
String |
getWaitingImage()
Retrieves the waitingImage property. |
boolean |
isGenerateImageMap()
Returns whether the generateImageMap property is
true or false. |
boolean |
isImageMapVisible()
Returns whether the imageMapVisible property is
true or false. |
boolean |
isResizable()
Returns whether the resizable property is
true or false. |
void |
restoreState(FacesContext context,
Object stateObj)
Restores the state of this component from the stateObj parameter. |
Object |
saveState(FacesContext context)
Returns the state of this component. |
void |
setBackgroundColor(Color backgroundColor)
Sets the backgroundColor property. |
void |
setBeforeSessionExpirationHandler(String handler)
Sets the JavaScript code that will be called when the session is about to expire. |
void |
setErrorMessage(String errorMessage)
Sets the errorMessage property. |
void |
setGenerateImageMap(boolean generateImageMap)
Sets the generateImageMap property. |
void |
setImageFormat(String imageFormat)
Sets the imageFormat property. |
void |
setImageMapGenerator(IlvImageMapAreaGenerator imageMapGenerator)
Sets the image map generator. |
void |
setImageMapGeneratorClass(String imageMapGeneratorClass)
Sets the image map generator class name. |
void |
setImageMapVisible(boolean imageMapVisible)
Sets the imageMapVisible property. |
void |
setOnCapabilitiesLoaded(String onCapabilitiesLoaded)
Sets the onCapabilitiesLoaded property. |
void |
setOnImageLoaded(String onImageLoaded)
Sets the onImageLoaded property. |
void |
setResizable(boolean resizable)
Sets the resizable property. |
void |
setServlet(String servlet)
Sets the servlet property. |
void |
setServletClass(String servletClass)
Sets the servletClass property. |
void |
setServletURL(String servletURL)
Sets the servletURL property. |
void |
setStateURL(String clientState)
Sets the stateURL property. |
void |
setTileManager(IlvTileManager tileManager)
Sets the tile manager. |
void |
setUpdateInterval(int updateInterval)
Sets the updateInterval property. |
void |
setValue(Object value)
Sets the value property. |
void |
setWaitingImage(String waitingImage)
Sets the waitingImage property. |
void |
updateModel(FacesContext context)
This method updates the referenced values with the local values of the component if these values were updated from the client. |
| Methods inherited from class ilog.tgo.faces.equipment.component.IltFacesEquipmentView |
|---|
getDefaultStyleSheet, setEquipment |
| Methods inherited from class ilog.tgo.faces.graph.component.IltFacesGraphView |
|---|
getBoundingBox, getBoundingBox, getContext, getDataSource, getDataSourceId, getDefaultObjectFinder, getGraphView, getProject, getStyleSheets, setContext, setDataSource, setDataSourceId, setDefaultStyleSheet, setProject, setStyleSheets, setView, supportsDynamicLayers |
| Methods inherited from class ilog.views.faces.component.IlvFacesView |
|---|
getBoundingBox, getInteractor, getInteractorId, getMaxZoomLevel, getMinZoomLevel, getPanFactor, getStaticLayersCount, getTileSize, getVisibleLayers, getZoomFactor, getZoomLevels, isConstrainedOnContents, processValidators, setBoundingBox, setConstrainedOnContents, setInteractor, setInteractorId, setMaxZoomLevel, setMinZoomLevel, setPanFactor, setStaticLayersCount, setTileSize, setVisibleLayers, setZoomFactor, setZoomLevels |
| Methods inherited from class ilog.views.faces.component.IlvBasicView |
|---|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getData, getHeight, getMessageBox, getMessageBoxId, getStyle, getStyleClass, getWidth, isDecodedProperty, processUpdates, resetDecodedProperties, setData, setDecodedProperty, setHeight, setMessageBox, setMessageBoxId, setStyle, setStyleClass, setWidth |
| Methods inherited from class javax.faces.component.UIGraphic |
|---|
getUrl, getValue, getValueBinding, getValueExpression, setUrl, setValueBinding, setValueExpression |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltFacesDHTMLEquipmentView()
IltFacesDHTMLEquipmentView instance.
| Method Detail |
|---|
public static String getComponentType()
public int getUpdateInterval()
Retrieves the updateInterval property.
getUpdateInterval in interface IlvFacesDHTMLViewSupportIlvFacesDHTMLViewSupport.getUpdateInterval()public void setUpdateInterval(int updateInterval)
Sets the updateInterval property.
setUpdateInterval in interface IlvFacesDHTMLViewSupportupdateInterval - The new update interval to set.IlvFacesDHTMLViewSupport.setUpdateInterval(int)public boolean isGenerateImageMap()
Returns whether the generateImageMap property is
true or false.
isGenerateImageMap in interface IlvFacesDHTMLViewSupporttrue if the image map will be generated, false otherwise.IlvFacesDHTMLViewSupport.isGenerateImageMap()public void setGenerateImageMap(boolean generateImageMap)
Sets the generateImageMap property.
setGenerateImageMap in interface IlvFacesDHTMLViewSupportgenerateImageMap - The flag value to set.IlvFacesDHTMLViewSupport.setGenerateImageMap(boolean)public boolean isImageMapVisible()
Returns whether the imageMapVisible property is
true or false.
isImageMapVisible in interface IlvFacesDHTMLViewSupporttrue if the image map will be shown, false otherwise.IlvFacesDHTMLViewSupport.isImageMapVisible()public void setImageMapVisible(boolean imageMapVisible)
Sets the imageMapVisible property.
setImageMapVisible in interface IlvFacesDHTMLViewSupportimageMapVisible - The flag value to set.IlvFacesDHTMLViewSupport.setImageMapVisible(boolean)public IlvImageMapAreaGenerator getImageMapGenerator()
Returns the image map generator.
If thegenerateImageMap property is true,
this generator will be invoked to dynamically create the image map.
getImageMapGenerator in interface IlvFacesDHTMLViewSupportIlvFacesDHTMLViewSupport.getImageMapGenerator()public void setImageMapGenerator(IlvImageMapAreaGenerator imageMapGenerator)
Sets the image map generator.
If thegenerateImageMap property is true,
this generator will be invoked to dynamically create the image map.
setImageMapGenerator in interface IlvFacesDHTMLViewSupportimageMapGenerator - The image map generator.IlvFacesDHTMLViewSupport.setImageMapGenerator(ilog.views.servlet.IlvImageMapAreaGenerator)public String getImageMapGeneratorClass()
Returns the image map generator class name.
If the generateImageMap property is true,
and the imageMapgenerator property is not set, an instance
of this generator will be created and this generator will be invoked to
dynamically create the image map.
getImageMapGeneratorClass in interface IlvFacesDHTMLViewSupportIlvFacesDHTMLViewSupport.getImageMapGeneratorClass()public void setImageMapGeneratorClass(String imageMapGeneratorClass)
Sets the image map generator class name.
If the generateImageMap property is true,
and the imageMapgenerator property is not set, an instance
of this generator will be created and this generator will be invoked to
dynamically create the image map.
setImageMapGeneratorClass in interface IlvFacesDHTMLViewSupportimageMapGeneratorClass - The image map generator class name.IlvFacesDHTMLViewSupport.setImageMapGeneratorClass(java.lang.String)public Color getBackgroundColor()
Returns the backgroundColor property.
getBackgroundColor in interface IlvFacesDHTMLViewSupportIlvFacesDHTMLViewSupport.getBackgroundColor()public void setBackgroundColor(Color backgroundColor)
Sets the backgroundColor property.
setBackgroundColor in interface IlvFacesDHTMLViewSupportbackgroundColor - The background color to set.IlvFacesDHTMLViewSupport.setBackgroundColor(java.awt.Color)public String getOnImageLoaded()
Retrieves the onImageLoaded property.
getOnImageLoaded in interface IlvFacesDHTMLViewSupportimageLoaded event.IlvFacesDHTMLViewSupport.getOnImageLoaded()public void setOnImageLoaded(String onImageLoaded)
Sets the onImageLoaded property.
setOnImageLoaded in interface IlvFacesDHTMLViewSupportonImageLoaded - The new JavaScript function handler.IlvFacesDHTMLViewSupport.setOnImageLoaded(java.lang.String)public String getOnCapabilitiesLoaded()
Retrieves the onCapabilitiesLoaded property.
getOnCapabilitiesLoaded in interface IlvFacesDHTMLViewSupportcapabilitiesLoaded event.IlvFacesDHTMLViewSupport.getOnCapabilitiesLoaded()public void setOnCapabilitiesLoaded(String onCapabilitiesLoaded)
Sets the onCapabilitiesLoaded property.
setOnCapabilitiesLoaded in interface IlvFacesDHTMLViewSupportonCapabilitiesLoaded - The new JavaScript function handler.IlvFacesDHTMLViewSupport.setOnCapabilitiesLoaded(java.lang.String)public String getErrorMessage()
Returns the errorMessage property.
getErrorMessage in interface IlvFacesDHTMLViewSupportIlvFacesDHTMLViewSupport.getErrorMessage()public void setErrorMessage(String errorMessage)
Sets the errorMessage property.
setErrorMessage in interface IlvFacesDHTMLViewSupporterrorMessage - The new error message to set.IlvFacesDHTMLViewSupport.setErrorMessage(java.lang.String)public String getStateURL()
Retrieves the stateURL property.
getStateURL in interface IlvFacesDHTMLViewSupportIlvFacesDHTMLViewSupport.getStateURL()public void setStateURL(String clientState)
Sets the stateURL property.
setStateURL in interface IlvFacesDHTMLViewSupportclientState - The client state of the component.IlvFacesDHTMLViewSupport.setStateURL(java.lang.String)public boolean isResizable()
Returns whether the resizable property is
true or false.
isResizable in interface IlvFacesDHTMLViewSupportIlvFacesDHTMLViewSupport.isResizable()public void setResizable(boolean resizable)
Sets the resizable property.
setResizable in interface IlvFacesDHTMLViewSupportresizable - The resizable flag to set.IlvFacesDHTMLViewSupport.setResizable(boolean)
public IlvManagerView getView()
throws Exception
Returns the IlvManagerView associated with the
IlpEquipmentView.
getView in interface IlvFacesDHTMLViewSupportgetView in class IlvFacesViewExceptionpublic IlvTileManager getTileManager()
The tile manager is used when the view is tiled, that is, if the tileSize property is greater or equals to 0.
getTileManager in interface IlvFacesDHTMLViewSupportpublic void setTileManager(IlvTileManager tileManager)
The tile manager is used when the view is tiled, that is, if the tileSize property is greater or equals to 0.
setTileManager in interface IlvFacesDHTMLViewSupporttileManager - The tile manager to set.public String getBeforeSessionExpirationHandler()
getBeforeSessionExpirationHandler in interface IlvFacesDHTMLViewSupportpublic void setBeforeSessionExpirationHandler(String handler)
This code can use the view implicit variable that represents the JavaScript proxy of this component.
setBeforeSessionExpirationHandler in interface IlvFacesDHTMLViewSupporthandler - The JavasScript code.public void setServlet(String servlet)
Sets the servlet property.
setServlet in interface IlvDHTMLHelperservlet - The image generating servlet.IlvDHTMLHelper.setServlet(java.lang.String)public String getServlet()
Retrieves the servlet property.
getServlet in interface IlvDHTMLHelperIlvDHTMLHelper.getServlet()public void setServletClass(String servletClass)
Sets the servletClass property.
setServletClass in interface IlvDHTMLHelperIlvDHTMLHelper.setServletClass(java.lang.String)public String getServletClass()
Retrieves the servletClass property.
getServletClass in interface IlvDHTMLHelperIlvDHTMLHelper.getServletClass()public void setServletURL(String servletURL)
Sets the servletURL property.
setServletURL in interface IlvDHTMLHelperIlvDHTMLHelper.setServletURL(java.lang.String)public String getServletURL()
Retrieves the servletURL property.
getServletURL in interface IlvDHTMLHelperIlvDHTMLHelper.getServletURL()public String getImageFormat()
Retrieves the imageFormat property.
getImageFormat in interface IlvDHTMLHelperIlvDHTMLHelper.getImageFormat()public String getWaitingImage()
Retrieves the waitingImage property.
getWaitingImage in interface IlvDHTMLHelperIlvDHTMLHelper.getWaitingImage()public void setImageFormat(String imageFormat)
Sets the imageFormat property.
setImageFormat in interface IlvDHTMLHelperimageFormat - The desired image format of the image displayed by the view.IlvDHTMLHelper.setImageFormat(java.lang.String)public void setWaitingImage(String waitingImage)
Sets the waitingImage property.
setWaitingImage in interface IlvDHTMLHelperwaitingImage - The path of the image displayed when the view loads the image.IlvDHTMLHelper.setWaitingImage(java.lang.String)
public String getControllerURL()
throws Exception
Retrieves the controllerURL property.
ExceptionIlvDHTMLUtil.getControllerURL()
protected IlpEquipment createEquipmentComponent(String defaultStyleSheet,
IlpContext context)
Method called only once when creating the underlying
IlpEquipment.
createEquipmentComponent in class IltFacesEquipmentViewdefaultStyleSheet - The default CSS style sheet to be applied.context - The ILOG JTGO context to be used.
IlpEquipment.
public IlpEquipment getEquipment()
throws Exception
Returns the IlpEquipment instance wrapped by this
IltFacesEquipmentView instance.
getEquipment in class IltFacesEquipmentViewIlpEquipment instance.
Exception - If the session has expired between two requests
and the IlpEquipment instance was lost.public void updateModel(FacesContext context)
updateModel in interface IlvDHTMLHelperupdateModel in class IltFacesGraphViewcontext - The current faces context.public Object saveState(FacesContext context)
saveState in interface IlvFacesComponentsaveState in interface IlvDHTMLHelpersaveState in interface StateHoldersaveState in class IltFacesGraphViewcontext - The current faces context.
state of this component.
public void restoreState(FacesContext context,
Object stateObj)
stateObj parameter.
restoreState in interface IlvFacesComponentrestoreState in interface IlvDHTMLHelperrestoreState in interface StateHolderrestoreState in class IltFacesGraphViewcontext - The current faces context.stateObj - The previously saved state of this component.public void setValue(Object value)
Sets the value property.
setValue in interface IlvDHTMLHelpersetValue in class UIGraphicvalue - The image generating servlet.UIGraphic.setValue(java.lang.Object)public String getFamily()
Returns the identifier of the component family to which this component
belongs. This identifier, in conjunction with the value of the rendererType
property, may be used to select the appropriate Renderer for this component
instance.
This implementation returns the fully qualified class name.
getFamily in class IltFacesEquipmentView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||