public class IlvFacesChartOverview extends IlvFacesChart
IlvFacesChartOverview
is a extension of an
IlvFacesChart
that is designed to display an overview of an
IlvFacesChart
. IlvFacesChartServletSupport
.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 |
---|
IlvFacesChartOverview(IlvChart chart)
Creates an instance of
IlvFacesChartOverview from a chart. |
Modifier and Type | Method and Description |
---|---|
IlvChart |
getChart()
Returns the chart instance linked to this overview.
|
protected void |
resetOverview()
Applies the constraints to make this chart a chart overview:
Performs a fit to content. |
void |
setChart(IlvChart chart)
Sets the chart instance linked to this overview.
|
void |
setDataSource(IlvDataSource dataSource)
Sets the given data source as the current data source.
|
void |
setFooter(JComponent footer)
An overview cannot have a footer, so this method has no effect.
|
void |
setFooterText(String text)
An overview cannot have a footer, so this method has no effect.
|
void |
setHeader(JComponent header)
An overview cannot have a header, so this method has no effect.
|
void |
setHeaderText(String text)
An overview cannot have a header, so this method has no effect.
|
void |
setLegend(IlvLegend legend)
An overview cannot have a legend, so this method prevents one being set.
|
void |
setLegendVisible(boolean b)
An overview cannot have a legend, so this method has no effect.
|
void |
setStyleSheets(String[] css)
Sets the cascading style sheets.
|
void |
setType(int type)
Sets the type of the chart.
|
protected void |
synchronizeWithView()
Initializes the overview with the attributes of the linked chart.
|
createJLabel, createLegend, initPseudoClasses, valueBound, valueUnbound
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, setForeground, setInteractors, setLayout, setLegendPosition, setLocale, setNoEventThreadUpdate, setOptimizedRepaint, setPlotAreaBackground, setPolarParameters, setProject, setProjectorReversed, setPseudoClasses, setPseudoClasses, setPseudoClasses, setPseudoClasses, setRenderer, setRendererAxis, setRendererType, setRenderingType, setResizingPolicy, setScalingFont, setScrollRatio, setShiftScroll, setStartingAngle, setStyleSheet, setStyleSheetDebugMask, setStyleSheets, setSymbolStyle, 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 IlvFacesChartOverview(IlvChart chart)
IlvFacesChartOverview
from a chart.chart
- The chart instance to link to.public void setChart(IlvChart chart)
chart
- The chart instance.public IlvChart getChart()
protected void resetOverview()
public void setDataSource(IlvDataSource dataSource) throws IllegalArgumentException
setDataSource
in class IlvFacesChart
IllegalArgumentException
- The type of the specified renderer is not supported by this
chart.IlvChart.setRenderingType(int)
public void setStyleSheets(String[] css) throws IlvStylingException
setStyleSheets
in interface IlvStylable
setStyleSheets
in class IlvChart
css
- An array of strings containing the URLs, or the file names of CSS
files (usually with a .css
suffix). A
null
array disables styling for the chart.IlvStylingException
- If an exception occurs while loading or parsing the style sheet.public void setType(int type)
setType
in class IlvChart
IlvChart.CARTESIAN
,
IlvChart.POLAR
,
IlvChart.RADAR
,
IlvChart.PIE
,
IlvChart.TREEMAP
,
IlvChart.getType()
,
IlvChart.createScale(int)
,
IlvChart.createGrid(int)
protected void synchronizeWithView()
public void setLegend(IlvLegend legend)
setLegend
in class IlvChart
legend
- The new legend, or null
.IlvChart.addLegend(IlvLegend, String)
,
IlvChart.setLegendVisible(boolean)
public void setLegendVisible(boolean b)
setLegendVisible
in class IlvChart
IlvChart.addLegend(IlvLegend, String, boolean)
,
IlvChart.getLegendPosition()
public void setHeader(JComponent header)
public void setFooter(JComponent footer)
public void setFooterText(String text)
setFooterText
in class IlvChart
IlvChart.setFooter(javax.swing.JComponent)
public void setHeaderText(String text)
setHeaderText
in class IlvChart
IlvChart.setHeader(javax.swing.JComponent)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.