public abstract class IlvChartViewComponentTag extends IlvDHTMLViewTag implements IlvChartConstants
bodyContent, pageContext, UNIQUE_ID_PREFIX
AUTO_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
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 |
---|
IlvChartViewComponentTag()
Creates a new
IlvChartViewComponentTag instance. |
Modifier and Type | Method and Description |
---|---|
String |
getAccessible()
Returns whether the view is accessible or not.
|
String |
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 |
getGenerateImageMap()
Returns the image map of this chart view that should be generated.
|
String |
getHotkeys()
Returns the hotkeys for this view.
|
String |
getImageMapGenerator()
Returns the image map generator.
|
String |
getImageMapGeneratorClass()
Returns the image map generator class name.
|
String |
getImageMapVisible()
Returns
true if the image map, if generated, should be visible. |
String |
getOnCapabilitiesLoaded()
Returns the custom
onCapababilitiesLoaded JavaScript handler. |
String |
getOnImageLoaded()
Returns the custom
onImageLoaded JavaScript handler. |
String |
getResizable()
Returns whether the view is resizable or not.
|
String |
isGenerateImageMap()
Returns the image map of this chart view that should be generated.
|
String |
isImageMapVisible()
Returns
true if the image map, if generated, should be visible. |
void |
setAccessible(String accessible)
Sets whether the view is accessible or not.
|
void |
setBackgroundColor(String 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(String imageMap)
Sets whether the image map of this chart view should be generated.
|
void |
setHotkeys(String hotkeys)
Sets the hotkeys for this view.
|
void |
setImageMapGenerator(String imageMapGenerator)
Sets the image map generator.
|
void |
setImageMapGeneratorClass(String imageMapGeneratorClass)
Sets the image map generator class name.
|
void |
setImageMapVisible(String visible)
Sets whether the image map, if generated, should be visible.
|
void |
setOnCapabilitiesLoaded(String onCapabilitiesLoaded)
Sets the custom
onCapababilitiesLoaded JavaScript handler. |
void |
setOnImageLoaded(String onImageLoaded)
Sets the custom
onImageLoaded JavaScript handler. |
protected void |
setProperties(javax.faces.component.UIComponent component)
Override properties and attributes of the specified component,
if the corresponding properties of this tag handler instance were
explicitly set.
|
void |
setResizable(String resizable)
Sets whether the view is resizable or not.
|
getData, getDoStartValue, getImageFormat, getMessageBox, getMessageBoxId, getServlet, getWaitingImage, setData, setImageFormat, setMessageBox, setMessageBoxId, setServlet, setWaitingImage
getStyle, getStyleClass, setStyle, setStyleClass
getHeight, getWidth, setHeight, setWidth
getComponentType, getPartialTriggers, getRendererType, getStringArray, setPartialTriggers, setProperty, setVBProperty, testSetProperties
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, release, setBinding, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
public IlvChartViewComponentTag()
IlvChartViewComponentTag
instance.protected void setProperties(javax.faces.component.UIComponent component)
Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. This method must be called ONLY if the specified component was in fact created during the execution of this tag handler instance, and this call will occur BEFORE the component is added to the view.
Tag subclasses that want to support additional set properties
must ensure that the base class setProperties()
method is still called. A typical implementation that supports
extra properties foo
and bar
would look
something like this:
protected void setProperties(UIComponent component) { super.setProperties(component); if (foo != null) { component.setAttribute("foo", foo); } if (bar != null) { component.setAttribute("bar", bar); } }
setProperties
in class IlvDHTMLViewTag
component
- The component whose properties are to be
overriddenpublic void setGenerateImageMap(String imageMap)
imageMap
- The image map generation flag.public String isGenerateImageMap()
public String getGenerateImageMap()
public String isImageMapVisible()
true
if the image map, if generated, should be visible.public String getImageMapVisible()
true
if the image map, if generated, should be visible.public void setImageMapVisible(String visible)
visible
- The image map visibility flag.public void setBackgroundColor(String background)
background
- The background color of the generated image.public String getBackgroundColor()
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 getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- The error message displayed when an error occurs during
the loading of the image.public String getResizable()
public void setResizable(String resizable)
resizable
- The resizable state to set.public String getAccessible()
public void setAccessible(String accessible)
accessible
- The accessible state to set.public String getHotkeys()
public void setHotkeys(String hotkeys)
hotkeys
- The hotkeys to set.public String getImageMapGenerator()
Returns the image map generator.
If thegenerateImageMap
property is true
,
this generator will be invoked to dynamically create the image map.
public void setImageMapGenerator(String imageMapGenerator)
Sets the image map generator.
If thegenerateImageMap
property is true
,
this generator will be invoked to dynamically create the image map.
imageMapGenerator
- The image generator to set.public String getImageMapGeneratorClass()
Returns the image map generator class name.
This property is used if and only if the imageMapGenerator
is not set.
public void setImageMapGeneratorClass(String imageMapGeneratorClass)
Sets the image map generator class name.
This property is used if and only if the imageMapGenerator
is not set.
imageMapGeneratorClass
- The image map generator class name.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.