public abstract class IlvChartDHTMLViewComponent extends IlvChartView implements IlvDHTMLHelper
| Modifier and Type | Field and Description |
|---|---|
static Boolean |
ACCESSIBLE_DEFAULT_VALUE
Default value of accessible property
|
static Boolean |
RESIZABLE_DEFAULT_VALUE
Default value of resizable property
|
DEFAULT_OBJECT_FINDERCOMPONENT_FAMILY, COMPONENT_TYPEATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEYACCESSIBLE, 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_IMAGEAFTER_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, WIDTHAUTO_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 |
|---|
IlvChartDHTMLViewComponent()
Creates a new
IlvChartDHTMLViewComponent instance. |
| Modifier and Type | Method and Description |
|---|---|
protected IlvDHTMLHelper |
createDHTMLHelper()
Creates the default
IlvDHTMLViewHelper implementation which
is a IlvDHTMLHelperImpl. |
Color |
getBackgroundColor()
Returns the
background color of the generated image. |
String |
getErrorMessage()
Returns the error message displayed when an error occurs during the
loading of the image.
|
String |
getHotkeys()
Returns the hotkeys for this view.
|
String |
getImageFormat()
Returns the desired format of the image generated by the servlet.
|
IlvFacesChartImageMapGenerator |
getImageMapGenerator()
Returns the image map generator.
|
String |
getImageMapGeneratorClass()
Returns the class name of the image map generator.
|
String |
getOnCapabilitiesLoaded()
Returns the custom
onCapababilitiesLoaded JavaScript handler. |
String |
getOnImageLoaded()
Returns the custom
onImageLoaded JavaScript handler. |
String |
getServlet()
Returns the servlet that will generate the image displayed by the view.
|
String |
getServletClass() |
String |
getServletURL() |
String |
getWaitingImage()
Returns the path to the image displayed when the view loads the image.
|
boolean |
isAccessible()
Returns whether the view is accessible or not.
|
boolean |
isGenerateImageMap()
Returns the image map of this chart view that should be generated.
|
boolean |
isImageMapVisible()
Returns
true if the image map, once generated, should be visible. |
boolean |
isResizable()
Returns whether the view is resizable or not.
|
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 |
setAccessible(boolean accessible)
Sets whether the view is accessible or not.
|
void |
setBackgroundColor(Color background)
Sets the
background color of the generated image. |
void |
setErrorMessage(String errorMessage)
Sets the error message displayed when an error occurs during the
loading of the image.
|
void |
setGenerateImageMap(boolean imap)
Sets whether the image map of this chart view should be generated.
|
void |
setHotkeys(String hotkeys)
Sets the hotkeys for this view.
|
void |
setImageFormat(String imageFormat)
Sets the desired format of the image generated by the servlet.
|
void |
setImageMapGenerator(IlvFacesChartImageMapGenerator imageMapGenerator)
Returns the image map generator.
|
void |
setImageMapGeneratorClass(String imageMapGeneratorClass)
Sets the class name of the image map generator.
|
void |
setImageMapVisible(boolean visible)
Sets whether the image map should be visible, if generated.
|
void |
setOnCapabilitiesLoaded(String onCapabilitiesLoaded)
Sets the custom
onCapababilitiesLoaded JavaScript handler. |
void |
setOnImageLoaded(String onImageLoaded)
Sets the custom
onImageLoaded JavaScript handler. |
void |
setResizable(boolean resizable)
Sets whether the view is resizable or not.
|
void |
setServlet(String servlet)
Sets the servlet that will generate the image displayed by the view.
|
void |
setServletClass(String servletClass) |
void |
setServletURL(String servletURL) |
void |
setValue(Object value)
Sets the servlet that will generate the image displayed by the view.
|
void |
setWaitingImage(String waitingImage)
Sets the path of the image displayed when the view loads the image.
|
void |
updateModel(FacesContext ctx)
This method updates the referenced values with the local values of the
component if these values were updated from the client.
|
getClientState, getComponentType, getDataSource, getDataSourceId, getDefaultObjectFinder, getFamily, getInteractor, getInteractorId, getProject, getType, getXZoomFactor, getYZoomFactor, setClientState, setDataSource, setDataSourceId, setInteractor, setInteractorId, setProject, setType, setXZoomFactor, setYZoomFactorclearDecodedPropertyMap, createFacesComponent, getAttributes, getBaseTextDirection, getData, getHeight, getMessageBox, getMessageBoxId, getStyle, getStyleClass, getWidth, isDecodedProperty, processUpdates, resetDecodedProperties, setBaseTextDirection, setData, setDecodedProperty, setHeight, setMessageBox, setMessageBoxId, setStyle, setStyleClass, setWidthgetUrl, getValue, getValueBinding, getValueExpression, setUrl, setValueBinding, setValueExpressionaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final Boolean RESIZABLE_DEFAULT_VALUE
public static final Boolean ACCESSIBLE_DEFAULT_VALUE
public IlvChartDHTMLViewComponent()
IlvChartDHTMLViewComponent instance.protected IlvDHTMLHelper createDHTMLHelper()
IlvDHTMLViewHelper implementation which
is a IlvDHTMLHelperImpl.IlvDHTMLViewHelper implementation.public void setGenerateImageMap(boolean imap)
imap - The image map generation flag.public boolean isGenerateImageMap()
public void setBackgroundColor(Color background)
background color of the generated image.
The HTML format must be used (#RRGGBB)background - The background color of the generated image.public Color getBackgroundColor()
background color of the generated image.background color of the generated image.public boolean isImageMapVisible()
true if the image map, once generated, should be visible.public void setImageMapVisible(boolean visible)
visible - The image map visibility flag.public IlvFacesChartImageMapGenerator getImageMapGenerator()
Returns the image map generator.
If the generateImageMap property is true,
this generator will be invoked to dynamically create the image map.
public void setImageMapGenerator(IlvFacesChartImageMapGenerator imageMapGenerator)
Returns the image map generator.
If the generateImageMap property is true,
this generator will be invoked to dynamically create the image map.
imageMapGenerator - The image map generator instance.public String getImageMapGeneratorClass()
Returns the class name of the image map generator.
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.
public void setImageMapGeneratorClass(String imageMapGeneratorClass)
Sets the class name of the image map generator.
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.
imageMapGeneratorClass - The image map generator class name.public String getOnCapabilitiesLoaded()
onCapababilitiesLoaded JavaScript handler. This handler is called
when the chart has loaded its capabilities, that is, the information on data and
visible ranges.onCapababilitiesLoaded JavaScript handler.public String getOnImageLoaded()
onImageLoaded JavaScript handler. This handler is called
when the image displayed by the chart is loaded.onImageLoaded JavaScript handler.public void setOnCapabilitiesLoaded(String onCapabilitiesLoaded)
onCapababilitiesLoaded JavaScript handler. This handler is called
when the chart has loaded its capabilities, that is, the information on data and
visible ranges.onCapabilitiesLoaded - The custom onCapababilitiesLoaded JavaScript handler.public void setOnImageLoaded(String onImageLoaded)
onImageLoaded JavaScript handler. This handler is called
when the image displayed by the chart is loaded.onImageLoaded - The custom onImageLoaded JavaScript handler.public String getImageFormat()
getImageFormat in interface IlvDHTMLHelperpublic String getServlet()
getServlet in interface IlvDHTMLHelperpublic String getServletClass()
getServletClass in interface IlvDHTMLHelperpublic String getServletURL()
getServletURL in interface IlvDHTMLHelperpublic String getWaitingImage()
getWaitingImage in interface IlvDHTMLHelperpublic void setImageFormat(String imageFormat)
setImageFormat in interface IlvDHTMLHelperimageFormat - The desired image format of the image displayed by the view.public void setServlet(String servlet)
setValue.
The servlet parameter could be a URL to the servlet or a fully qualified
servlet class that will be instantiated to generate the image.setServlet in interface IlvDHTMLHelperservlet - The image generating servlet.public void setServletClass(String servletClass)
setServletClass in interface IlvDHTMLHelperpublic void setServletURL(String servletURL)
setServletURL in interface IlvDHTMLHelperpublic void setValue(Object value)
setValue in interface IlvDHTMLHelpersetValue in class UIGraphicvalue - The image generating servlet.public void setWaitingImage(String waitingImage)
setWaitingImage in interface IlvDHTMLHelperwaitingImage - The path of the image displayed when the view loads the image.public String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage - The error message displayed when an error occurs during the
loading of the image.public boolean isResizable()
public void setResizable(boolean resizable)
resizable - The resizable state to set.public boolean isAccessible()
public void setAccessible(boolean accessible)
accessible - The accessible state to set.public String getHotkeys()
public void setHotkeys(String hotkeys)
hotkeys - The hotkeys to set.public void updateModel(FacesContext ctx)
updateModel in interface IlvDHTMLHelperupdateModel in class IlvChartViewctx - The current faces context.public Object saveState(FacesContext context)
saveState in interface IlvFacesComponentsaveState in interface IlvDHTMLHelpersaveState in interface StateHoldersaveState in class IlvChartViewcontext - 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 IlvChartViewcontext - The current faces context.stateObj - The previously saved state of this component.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.