public class IlvChartViewTag extends IlvChartViewComponentTag 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 |
---|
IlvChartViewTag()
Creates a new
IlvChartViewTag instance. |
Modifier and Type | Method and Description |
---|---|
String |
getBeforeSessionExpirationHandler()
Returns the JavaScript code that will be called when the session is about to expire.
|
String |
getChart()
Returns the value binding string of the displayed
chart . |
String |
getComponent()
Returns the type of component to display.
|
String |
getComponentType()
Returns the component type for the component that is or will be
bound to this tag.
|
String |
getData()
Returns the data to be displayed by this component
|
String |
getDataSource()
Returns the binding to a data source.
|
String |
getDataSourceId()
Returns the ID of the data source displayed by this chart.
|
String |
getInteractor()
Returns the binding to an interactor.
|
String |
getInteractorId()
Returns the ID of the data source to be displayed by the chart of this chart
view component.
|
String |
getKeepVisibleWindow()
Returns whether keep or not the current visible window between two JSF requests.
|
String |
getMessageBoxId()
Returns the identifier of the associated message box.
|
String |
getProject()
Returns a chart designer project URL.
|
String |
getRendererType()
Return the
rendererType property that selects the
Renderer to be used for encoding this component, or
null to ask the component to render itself directly. |
String |
getStyleSheet()
Returns a CSS style sheet.
|
String |
getStyleSheets()
Returns the list of comma separated style sheets.
|
String |
getType()
Returns the
type of the chart. |
String |
getUpdateInterval()
Returns the automatic update interval (in seconds) of the chart.
|
String |
getXZoomFactor()
Returns the factor used when calling the JavaScript
zoomIn
and zoomOut methods. |
String |
getYZoomFactor()
Returns the factor used when calling the JavaScript
zoomIn
and zoomOut methods. |
void |
setBeforeSessionExpirationHandler(String handler)
Sets the JavaScript code that will be called when the session is about to expire.
|
void |
setChart(String chart)
Sets the
chart value binding string to display in chart view component. |
void |
setComponent(String comp)
Sets the component type to display.
|
void |
setData(String data)
Sets the data to be displayed by this component.
|
void |
setDataSource(String dataSource)
Sets a binding expression to a data source.
|
void |
setDataSourceId(String dataSourceId)
Sets the ID of the data source displayed by this chart.
|
void |
setInteractor(String interactor)
Sets the binding to an interactor.
|
void |
setInteractorId(String interactorId)
Sets the ID of the data source to be displayed by the chart of this chart
view component.
|
void |
setKeepVisibleWindow(String keepVisibleWindow)
Sets whether keep or not the current visible window between two JSF requests.
|
void |
setMessageBoxId(String messageBoxId)
Sets a message box ID to this instance of view.
|
void |
setProject(String project)
The URL to a chart designer project.
|
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 |
setStyleSheet(String styleSheet)
Sets a CSS style sheet.
|
void |
setStyleSheets(String styleSheets)
Sets the comma separated cascading style sheets.
|
void |
setType(String type)
Sets the
type of the chart. |
void |
setUpdateInterval(String updateInterval)
Changes the automatic update interval of the chart.
|
void |
setxZoomFactor(String xZoomFactor)
Changes the factor used when calling the JavaScript
zoomIn
and zoomOut methods. |
void |
setXZoomFactor(String xZoomFactor)
Changes the factor used when calling the JavaScript
zoomIn
and zoomOut methods. |
void |
setyZoomFactor(String yZoomFactor)
Changes the factor used when calling the JavaScript
zoomIn
and zoomOut methods. |
void |
setYZoomFactor(String yZoomFactor)
Changes the factor used when calling the JavaScript
zoomIn
and zoomOut methods. |
getAccessible, getBackgroundColor, getErrorMessage, getGenerateImageMap, getHotkeys, getImageMapGenerator, getImageMapGeneratorClass, getImageMapVisible, getOnCapabilitiesLoaded, getOnImageLoaded, getResizable, isGenerateImageMap, isImageMapVisible, setAccessible, setBackgroundColor, setErrorMessage, setGenerateImageMap, setHotkeys, setImageMapGenerator, setImageMapGeneratorClass, setImageMapVisible, setOnCapabilitiesLoaded, setOnImageLoaded, setResizable
getDoStartValue, getImageFormat, getMessageBox, getServlet, getWaitingImage, setImageFormat, setMessageBox, setServlet, setWaitingImage
getStyle, getStyleClass, setStyle, setStyleClass
getHeight, getWidth, setHeight, setWidth
getPartialTriggers, 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 String getComponentType()
Returns the component type for the component that is or will be bound to this tag.
This implementation returns null
, subclasses must
override this method to return the appropriate value.
getComponentType
in class IlvBaseTag
public String getRendererType()
Return the rendererType
property that selects the
Renderer
to be used for encoding this component, or
null
to ask the component to render itself directly.
This implementation return null
, subclasses must override
this method to return the appropriate value.
getRendererType
in class IlvBaseTag
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 IlvChartViewComponentTag
component
- The component whose properties are to be
overriddenpublic String getProject()
public void setProject(String project)
project
- The project to set.public void setComponent(String comp)
comp
- The type of component to display.public String getComponent()
public String getInteractorId()
public void setInteractorId(String interactorId)
interactorId
- The ID of the data source.public String getMessageBoxId()
getMessageBoxId
in class IlvDHTMLViewTag
public void setMessageBoxId(String messageBoxId)
setMessageBoxId
in class IlvDHTMLViewTag
messageBoxId
- The ID of the message box to set to the view.public void setType(String type)
type
of the chart. Valid types are "Cartesian", "polar", "radar"
or "pie".type
- The type
of the chart.public String getType()
type
of the chart.type
of the chart. Either "Cartesian", "polar", "radar" or
"pie".public void setStyleSheets(String styleSheets)
styleSheets
- The list of comma separated style sheets.public void setStyleSheet(String styleSheet)
styleSheet
- The style sheet attribute.public String getStyleSheets()
public String getStyleSheet()
public String getXZoomFactor()
zoomIn
and zoomOut
methods.public String getYZoomFactor()
zoomIn
and zoomOut
methods.public void setxZoomFactor(String xZoomFactor)
zoomIn
and zoomOut
methods. The default value is 2.xZoomFactor
- The x-zoom factor.public void setyZoomFactor(String yZoomFactor)
zoomIn
and zoomOut
methods. The default value is 2.yZoomFactor
- The y-zoom factor.public void setXZoomFactor(String xZoomFactor)
zoomIn
and zoomOut
methods. The default value is 2.xZoomFactor
- The x-zoom factor.public void setYZoomFactor(String yZoomFactor)
zoomIn
and zoomOut
methods. The default value is 2.yZoomFactor
- The y-zoom factor.public String getUpdateInterval()
public void setUpdateInterval(String updateInterval)
updateInterval
- The new interval in seconds. An interval of zero
stops the automatic update.public String getDataSourceId()
public void setDataSourceId(String dataSourceId)
dataSourceId
- public String getChart()
chart
.chart
binding string.public void setChart(String chart)
chart
value binding string to display in chart view component.chart
- The chart
value binding.public String getDataSource()
public void setDataSource(String dataSource)
dataSource
- The binding to a data source.public String getInteractor()
public void setInteractor(String interactor)
interactor
- The binding to an interactor to set.public String getData()
getData
in class IlvDHTMLViewTag
public void setData(String data)
setData
in class IlvDHTMLViewTag
data
- The data to displayed.public String getKeepVisibleWindow()
public void setKeepVisibleWindow(String keepVisibleWindow)
keepVisibleWindow
- The keepVisibleWindow to set.public String getBeforeSessionExpirationHandler()
public void setBeforeSessionExpirationHandler(String handler)
handler
- The JavasScript code.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.