public class IlvFacesChart extends IlvChart implements javax.servlet.http.HttpSessionBindingListener
IlvFacesChart
is a extension of an IlvChart
to be
used with the JViews Faces chart components.IlvChart.Area, IlvChart.IlvChartImagePaintContext, IlvChart.IlvChartPaintContext
JLayeredPane.AccessibleJLayeredPane
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
CARTESIAN, DRAW_ABOVE, DRAW_BELOW, PIE, POLAR, RADAR, STYLE_DEFAULT_MASK, TREEMAP
DEFAULT_LAYER, DRAG_LAYER, FRAME_CONTENT_LAYER, LAYER_PROPERTY, MODAL_LAYER, PALETTE_LAYER, POPUP_LAYER
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
APPLIED_RULE_MASK, BAD_CLASS_MASK, BAD_PROP_MASK, BAD_PROP_WITH_STACK_MASK, CREATED_MASK, DECL_MASK, DECL_VALUE_MASK, FAILED_CONVERSIONS_MASK, TIME_REPORT_MASK, WARNING_PROP_MASK
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
IlvFacesChart()
Creates a new cartesian
IlvFacesChart instance. |
IlvFacesChart(int type)
Creates a new cartesian
IlvFacesChart instance of the specified type. |
IlvFacesChart(int type,
boolean withScales)
Creates a new cartesian
IlvFacesChart instance of the specified type. |
Modifier and Type | Method and Description |
---|---|
protected JLabel |
createJLabel(String text)
Creates a JLabel instance.
|
protected IlvLegend |
createLegend()
Creates an
IlvLegend instance. |
protected void |
initPseudoClasses()
Initializes the pseudo-classes of this chart.
|
void |
setDataSource(IlvDataSource dataSource)
Sets the given data source as the current data source.
|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Implementation of HttpSessionBindingListener.
|
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Disposes the resources when the chart is unbounded.
|
addChartDrawListener, addChartListener, addChartRendererListener, addData, addDecoration, addImpl, addInteractor, addInteractor, addLegend, addLegend, addPseudoClass, addPseudoClass, addPseudoClass, addPseudoClass, addRenderer, addRenderer, addRenderer, addRenderer, addTreemapFocusListener, addYAxis, applyStyles, attachBoundedModel, attachBoundedModel, baseTextDirectionChanged, clearAllPseudoClasses, clearPseudoClass, componentOrientationChanged, createGrid, createScale, dataSetContentsChanged, detachBoundedModel, dispose, doStyle, endRendererChanges, endSession, formatXValue, formatYValue, get3DView, getAllRendererIterator, getAngleRange, getBackground, getBackgroundPaint, getBaseTextDirection, getChartArea, getChartAreaBorder, getComponentPaintable, getComponentPaintableCurrentThread, getCoordinateSystem, getDataRangePolicy, getDataSetIterator, getDataSource, getDecorations, getDefaultColors, getDisplayItem, getDisplayItems, getDrawableIterator, getFontManager, getFooter, getFooterText, getHeader, getHeaderText, getInteractors, getLegend, getLegendPosition, getLocalProjector2D, getLock, getNearestItem, getNearestPoint, getNoEventThreadUpdate, getPaintContext, getPlotAreaBackground, getPrintContext, getProject, getProjector, getProjector2D, getProjectorRect, getPseudoClasses, getPseudoClasses, getPseudoClasses, getPseudoClasses, getRenderer, getRendererCount, getRendererIterator, getRenderers, getRenderingType, getResizingPolicy, getResolvedBaseTextDirection, getReversedDrawableIterator, getScale, getScrollRatio, getStartingAngle, getStyleSheet, getStyleSheetDebugMask, getStyleSheets, getStyleSheets, getSymbolStyle, getType, getULocale, getUnconstrainedRenderingType, getXAxis, getXGrid, getXScale, getXScaleTitle, getXScaleTitleRotation, getXScrollBar, getYAxis, getYAxisCount, getYGrid, getYScale, getYScaleTitle, getYScaleTitleRotation, invalidateScales, is3D, isAntiAliasing, isAntiAliasingText, isAutoScaleTitleRotation, isCursorSet, isDynamicStyling, isLegendVisible, isOptimizedRepaint, isPaintingImage, isPrinting, isProjectorReversed, isScalingFont, isShiftScroll, isUsingEventThread, isXAxisReversed, isXGridVisible, isXScaleVisible, isYAxisReversed, isYGridVisible, isYScaleVisible, paint, paintComponent, paintCurrentThread, paintToFO, paintToFO, paintToFOCurrentThread, print, printCurrentThread, registerFunction, removeChartDrawListener, removeChartListener, removeChartRendererListener, removeDecoration, removeInteractor, removePseudoClass, removePseudoClass, removePseudoClass, removePseudoClass, removeRenderer, removeTreemapFocusListener, repaint, resetStyles, revalidate, scroll, set3D, setAngleRange, setAntiAliasing, setAntiAliasingText, setAutoScaleTitleRotation, setBackground, setBackgroundPaint, setBaseTextDirection, setBounds, setChartAreaBorder, setComponentOrientation, setCursor, setDataRangePolicy, setDecorations, setDefaultColors, setDynamicStyling, setFooter, setFooterText, setForeground, setHeader, setHeaderText, setInteractors, setLayout, setLegend, setLegendPosition, setLegendVisible, setLocale, setNoEventThreadUpdate, setOptimizedRepaint, setPlotAreaBackground, setPolarParameters, setProject, setProjectorReversed, setPseudoClasses, setPseudoClasses, setPseudoClasses, setPseudoClasses, setRenderer, setRendererAxis, setRendererType, setRenderingType, setResizingPolicy, setScalingFont, setScrollRatio, setShiftScroll, setStartingAngle, setStyleSheet, setStyleSheetDebugMask, setStyleSheets, setStyleSheets, setSymbolStyle, setType, setULocale, setUsingEventThread, setXAxisReversed, setXGrid, setXGridVisible, setXScale, setXScaleTitle, setXScaleTitleRotation, setXScaleVisible, setXScrollBar, setXValueFormat, setYAxisReversed, setYGrid, setYGridVisible, setYScale, setYScaleTitle, setYScaleTitleRotation, setYScaleVisible, setYValueFormat, startRendererChanges, startSession, synchronizeAxis, toData, toData, toDisplay, toDisplay, toImage, toImage, toJPEG, toJPEG, toPNG, toPNG, toPNG, toPNG, unSynchronizeAxis, updateDataRange, updateDataRangeAndRepaint, updateScales, updateScalesIfNeeded, updateUI, zoom
getAccessibleContext, getComponentCountInLayer, getComponentsInLayer, getComponentToLayer, getIndexOf, getLayer, getLayer, getLayeredPaneAbove, getObjectForLayer, getPosition, highestLayer, insertIndexForLayer, isOptimizedDrawingEnabled, lowestLayer, moveToBack, moveToFront, paramString, putLayer, remove, removeAll, setLayer, setLayer, setPosition
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, resize, resize, setBounds, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
public IlvFacesChart()
IlvFacesChart
instance.IlvChart.CARTESIAN
public IlvFacesChart(int type)
IlvFacesChart
instance of the specified type.type
- The type of the chart.public IlvFacesChart(int type, boolean withScales)
IlvFacesChart
instance of the specified type.type
- The type of the chart.withScales
- A Boolean value indicating whether scales and grids
should be added to this chart.protected void initPseudoClasses()
This method override does nothing.
initPseudoClasses
in class IlvChart
protected IlvLegend createLegend()
IlvLegend
instance. This method is called by
IlvChart.setLegendVisible(boolean)
to create a new IlvLegend
instance.createLegend
in class IlvChart
protected JLabel createJLabel(String text)
setHeaderText
and setFooterText
to create the
JLabel used to display the text.createJLabel
in class IlvChart
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
event
- The session binding event.public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
event
- The session binding event.public void setDataSource(IlvDataSource dataSource) throws IllegalArgumentException
setDataSource
in class IlvChart
IllegalArgumentException
- The type of the specified renderer is not supported by this
chart.IlvChart.setRenderingType(int)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.