org.jfree.beans
Class AbstractXYChart

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by org.jfree.beans.AbstractChart
                  extended by org.jfree.beans.AbstractXYChart
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, org.jfree.chart.event.ChartChangeListener
Direct Known Subclasses:
JTimeSeriesChart, NumericalXYChart

public abstract class AbstractXYChart
extends AbstractChart

A base class for beans that use the XYPlot class.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class org.jfree.beans.AbstractChart
chart, chartBuffer, chartBufferHeight, chartBufferWidth, info, legend, legendPosition, listeners, scaleX, scaleY, sourceSubtitle, subtitle
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
AbstractXYChart()
          Creates a new instance.
 
Method Summary
 void addXYItemClickListener(XYItemClickListener listener)
          Registers a listener to receive notification of category item clicks.
 void fireXYItemClickEvent(XYItemClickEvent event)
          Fires a category item click event.
 org.jfree.chart.plot.PlotOrientation getOrientation()
          Returns the orientation for the plot.
 java.lang.String getToolTipFormat()
          Returns the format string for the item tool tips.
 java.awt.Paint getXAxisGridlinePaint()
          Returns the grid line paint for the gridlines perpendicular to the x-axis.
 java.lang.String getXAxisLabel()
          Returns the x-axis label.
 java.awt.Font getXAxisLabelFont()
          Returns the font for the x-axis label.
 java.awt.Paint getXAxisLabelPaint()
          Returns the paint for the x-axis label.
 org.jfree.chart.axis.AxisLocation getXAxisLocation()
          Returns the permitted axis locations for the x-axis.
 double getXAxisLowerMargin()
          Returns the lower margin for the x-axis.
 java.awt.Font getXAxisTickLabelFont()
          Returns the font for the x-axis tick labels.
 java.awt.Paint getXAxisTickLabelPaint()
          Returns the paint for the x-axis tick labels.
 double getXAxisUpperMargin()
          Returns the upper margin for the x-axis.
 boolean getYAxisAutoRangeIncludesZero()
          Returns the flag that controls whether or not the auto range calculation is forced to include zero.
 java.awt.Paint getYAxisGridlinePaint()
          Returns the y-axis gridline paint.
 java.lang.String getYAxisLabel()
          Returns the y-axis label.
 java.awt.Font getYAxisLabelFont()
          Returns the font for the y-axis label.
 java.awt.Paint getYAxisLabelPaint()
          Returns the paint for the y-axis label.
 org.jfree.chart.axis.AxisLocation getYAxisLocation()
          Returns the permitted axis locations for the y-axis.
 double getYAxisLowerMargin()
          Returns the lower margin for the y-axis.
 AxisScale getYAxisScale()
          Returns the scale type for the y-axis.
 java.awt.Font getYAxisTickLabelFont()
          Returns the font for the y-axis tick labels.
 java.awt.Paint getYAxisTickLabelPaint()
          Returns the paint for the y-axis tick labels.
 double getYAxisUpperMargin()
          Returns the upper margin for the y-axis.
 boolean isXAxisGridlinesVisible()
          Returns true if the x-axis gridlines are visible, and false otherwise.
 boolean isXAxisInverted()
          Returns true if the x-axis is inverted, and false otherwise.
 boolean isXAxisNegativeArrowVisible()
          Returns a flag that controls whether or not an arrow-head is displayed at the negative end of the x-axis.
 boolean isXAxisPositiveArrowVisible()
          Returns a flag that controls whether or not an arrow-head is displayed at the positive end of the x-axis.
 boolean isYAxisGridlinesVisible()
          Returns true if the y-axis gridlines are visible, and false otherwise.
 boolean isYAxisInverted()
          Returns true if the y-axis is inverted, and false otherwise.
 boolean isYAxisNegativeArrowVisible()
          Returns a flag that controls whether or not an arrow-head is displayed at the negative end of the y-axis.
 boolean isYAxisPositiveArrowVisible()
          Returns a flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis.
 void mouseClicked(java.awt.event.MouseEvent event)
          If the user clicks on the chart, see if that translates into an event that we report...
 void removeXYItemClickListener(XYItemClickListener listener)
          Unregisters a listener so that it no longer receives notification of category item clicks.
 void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
          Sets the orientation for the plot and fires a PropertyChangeEvent for the orientation property.
 void setToolTipFormat(java.lang.String format)
          Sets the format string for the section tool tips and fires a PropertyChangeEvent for the toolTipFormat property.
 void setXAxisGridlinePaint(java.awt.Paint paint)
          Sets the paint for the x-axis gridlines and fires a PropertyChangeEvent for the xAxisGridlinePaint property.
 void setXAxisGridlinesVisible(boolean visible)
          Sets a flag that controls whether or not the x-axis gridlines are drawn and fires a PropertyChangeEvent for the xAxisGridlinesVisible property.
 void setXAxisInverted(boolean inverted)
          Sets a flag that controls whether or not the x-axis is inverted and fires a PropertyChangeEvent for the xAxisInverted property.
 void setXAxisLabel(java.lang.String label)
          Sets the x-axis label and fires a PropertyChangeEvent for the xAxisLabel property.
 void setXAxisLabelFont(java.awt.Font font)
          Sets the font for the x-axis label and fires a PropertyChangeEvent for the xAxisLabelFont property.
 void setXAxisLabelPaint(java.awt.Paint paint)
          Sets the paint for the x-axis label and fires a PropertyChangeEvent for the xAxisLabelPaint property.
 void setXAxisLocation(org.jfree.chart.axis.AxisLocation location)
          Sets the axis location for the x-axis and fires a PropertyChangeEvent for the xAxisLocation argument.
 void setXAxisLowerMargin(double margin)
          Sets the lower margin for the x-axis and fires a PropertyChangeEvent for the xAxisLowerMargin property.
 void setXAxisNegativeArrowVisible(boolean visible)
          Sets the flag that controls whether or not an arrow-head is displayed at the negative end of the x-axis and fires a PropertyChangeEvent for the xAxisNegativeArrowVisible property.
 void setXAxisPositiveArrowVisible(boolean visible)
          Sets the flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis and fires a PropertyChangeEvent for the yAxisPositiveArrowVisible property.
 void setXAxisTickLabelFont(java.awt.Font font)
          Sets the font for the x-axis tick labels and fires a PropertyChangeEvent for the xAxisTickLabelFont property.
 void setXAxisTickLabelPaint(java.awt.Paint paint)
          Sets the paint for the x-axis tick labels and fires a PropertyChangeEvent for the xAxisTickLabelPaint property.
 void setXAxisUpperMargin(double margin)
          Sets the upper margin for the x-axis and fires a PropertyChangeEvent for the xAxisUpperMargin property.
 void setYAxisAutoRangeIncludesZero(boolean include)
          Sets the flag that controls whether or not the auto range calculation is forced to include zero, and fires a PropertyChangeEvent for the yAxisAutoRangeIncludesZero property.
 void setYAxisGridlinePaint(java.awt.Paint paint)
          Sets the y-axis gridline paint and fires a PropertyChangeEvent for the yAxisGridlinePaint property.
 void setYAxisGridlinesVisible(boolean visible)
          Sets a flag that controls whether or not the y-axis gridlines are drawn and fires a PropertyChangeEvent for the yAxisGridlinesVisible property.
 void setYAxisInverted(boolean inverted)
          Sets a flag that controls whether or not the y-axis is inverted and fires a PropertyChangeEvent for the yAxisInverted property.
 void setYAxisLabel(java.lang.String label)
          Sets the y-axis label and fires a PropertyChangeEvent for the yAxisLabel property.
 void setYAxisLabelFont(java.awt.Font font)
          Sets the font for the y-axis label and fires a PropertyChangeEvent for the yAxisLabelFont property.
 void setYAxisLabelPaint(java.awt.Paint paint)
          Sets the paint for the y-axis label and fires a PropertyChangeEvent for the yAxisLabelPaint property.
 void setYAxisLocation(org.jfree.chart.axis.AxisLocation location)
          Sets the axis location for the y-axis and fires a PropertyChangeEvent for the yAxisLocation property.
 void setYAxisLowerMargin(double margin)
          Sets the lower margin for the y-axis and fires a PropertyChangeEvent for the yAxisLowerMargin property.
 void setYAxisNegativeArrowVisible(boolean visible)
          Sets the flag that controls whether or not an arrow-head is displayed at the negative end of the y-axis and fires a PropertyChangeEvent for the yAxisNegativeArrowVisible property.
 void setYAxisPositiveArrowVisible(boolean visible)
          Sets the flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis and fires a PropertyChangeEvent for the yAxisPositiveArrowVisible property.
 void setYAxisScale(AxisScale scale)
          Sets the scale type for the y-axis and fires a PropertyChangeEvent for the yAxisScale property.
 void setYAxisTickLabelFont(java.awt.Font font)
          Sets the font for the y-axis tick labels and fires a PropertyChangeEvent for the yAxisTickLabelFont property.
 void setYAxisTickLabelPaint(java.awt.Paint paint)
          Sets the paint for the y-axis tick labels and fires a PropertyChangeEvent for the yAxisTickLabelPaint property.
 void setYAxisUpperMargin(double margin)
          Sets the upper margin for the y-axis and fires a PropertyChangeEvent for the yAxisUpperMargin property.
 
Methods inherited from class org.jfree.beans.AbstractChart
actionPerformed, addLegendClickListener, chartChanged, createDefaultChart, createPopup, doSaveAs, fireLegendClickEvent, getAntiAlias, getChartBackgroundImage, getChartBackgroundImageAlpha, getChartBackgroundPaint, getChartBorderPaint, getChartBorderStroke, getChartPadding, getLegendItemFont, getLegendItemPaint, getLegendPosition, getPlotBackgroundAlpha, getPlotBackgroundPaint, getScreenDataArea, getSource, getSourceFont, getSourcePaint, getSubtitle, getSubtitleFont, getSubtitlePaint, getTitle, getTitleFont, getTitlePaint, getToolTipText, isChartBorderVisible, isPlotOutlineVisible, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paintComponent, removeLegendClickListener, restoreAutoBounds, restoreAutoDomainBounds, restoreAutoRangeBounds, setAntiAlias, setChartBackgroundImage, setChartBackgroundImageAlpha, setChartBackgroundPaint, setChartBorderPaint, setChartBorderStroke, setChartBorderVisible, setChartPadding, setLegendItemFont, setLegendItemPaint, setLegendPosition, setPlotBackgroundAlpha, setPlotBackgroundPaint, setPlotOutlineVisible, setSource, setSourceFont, setSourcePaint, setSubtitle, setSubtitleFont, setSubtitlePaint, setTitle, setTitleFont, setTitlePaint, setToolTipsEnabled, translateJava2DToScreen, translateScreenToJava2D, zoom
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, 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, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, 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, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, 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, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
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, getBackground, 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, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, 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, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractXYChart

public AbstractXYChart()
Creates a new instance.

Method Detail

getOrientation

public org.jfree.chart.plot.PlotOrientation getOrientation()
Returns the orientation for the plot.

Returns:
The orientation.
See Also:
setOrientation(PlotOrientation)

setOrientation

public void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the orientation for the plot and fires a PropertyChangeEvent for the orientation property.

Parameters:
orientation - the orientation (null not permitted).
See Also:
setOrientation(PlotOrientation)

getXAxisLabel

public java.lang.String getXAxisLabel()
Returns the x-axis label.

Returns:
The x-axis label.
See Also:
setXAxisLabel(String)

setXAxisLabel

public void setXAxisLabel(java.lang.String label)
Sets the x-axis label and fires a PropertyChangeEvent for the xAxisLabel property.

Parameters:
label - the new label.
See Also:
getXAxisLabel()

getXAxisLabelFont

public java.awt.Font getXAxisLabelFont()
Returns the font for the x-axis label.

Returns:
The font for the x-axis label.
See Also:
setXAxisLabelFont(Font)

setXAxisLabelFont

public void setXAxisLabelFont(java.awt.Font font)
Sets the font for the x-axis label and fires a PropertyChangeEvent for the xAxisLabelFont property.

Parameters:
font - the font (null not permitted).
See Also:
getXAxisLabelFont()

getXAxisLabelPaint

public java.awt.Paint getXAxisLabelPaint()
Returns the paint for the x-axis label.

Returns:
The paint for the x-axis label.
See Also:
setXAxisLabelPaint(Paint)

setXAxisLabelPaint

public void setXAxisLabelPaint(java.awt.Paint paint)
Sets the paint for the x-axis label and fires a PropertyChangeEvent for the xAxisLabelPaint property.

Parameters:
paint - the paint (null not permitted).
See Also:
getXAxisLabelPaint()

isXAxisInverted

public boolean isXAxisInverted()
Returns true if the x-axis is inverted, and false otherwise.

Returns:
A boolean.
See Also:
setXAxisInverted(boolean)

setXAxisInverted

public void setXAxisInverted(boolean inverted)
Sets a flag that controls whether or not the x-axis is inverted and fires a PropertyChangeEvent for the xAxisInverted property.

Parameters:
inverted - the new flag value.
See Also:
isXAxisInverted()

getXAxisLowerMargin

public double getXAxisLowerMargin()
Returns the lower margin for the x-axis.

Returns:
The lower margin.
See Also:
setXAxisLowerMargin(double)

setXAxisLowerMargin

public void setXAxisLowerMargin(double margin)
Sets the lower margin for the x-axis and fires a PropertyChangeEvent for the xAxisLowerMargin property.

Parameters:
margin - the margin.
See Also:
getXAxisLowerMargin()

getXAxisUpperMargin

public double getXAxisUpperMargin()
Returns the upper margin for the x-axis.

Returns:
The upper margin for the x-axis.
See Also:
setXAxisUpperMargin(double)

setXAxisUpperMargin

public void setXAxisUpperMargin(double margin)
Sets the upper margin for the x-axis and fires a PropertyChangeEvent for the xAxisUpperMargin property.

Parameters:
margin - the margin.
See Also:
getXAxisUpperMargin()

isXAxisGridlinesVisible

public boolean isXAxisGridlinesVisible()
Returns true if the x-axis gridlines are visible, and false otherwise.

Returns:
A boolean.
See Also:
setXAxisGridlinesVisible(boolean)

setXAxisGridlinesVisible

public void setXAxisGridlinesVisible(boolean visible)
Sets a flag that controls whether or not the x-axis gridlines are drawn and fires a PropertyChangeEvent for the xAxisGridlinesVisible property.

Parameters:
visible - the new flag value.
See Also:
isXAxisGridlinesVisible()

getXAxisTickLabelFont

public java.awt.Font getXAxisTickLabelFont()
Returns the font for the x-axis tick labels.

Returns:
The font for the x-axis tick labels.
See Also:
setXAxisTickLabelFont(Font)

setXAxisTickLabelFont

public void setXAxisTickLabelFont(java.awt.Font font)
Sets the font for the x-axis tick labels and fires a PropertyChangeEvent for the xAxisTickLabelFont property.

Parameters:
font - the font (null not permitted).
See Also:
getXAxisTickLabelFont()

getXAxisTickLabelPaint

public java.awt.Paint getXAxisTickLabelPaint()
Returns the paint for the x-axis tick labels.

Returns:
The paint for the x-axis tick labels.
See Also:
setXAxisTickLabelPaint(Paint)

setXAxisTickLabelPaint

public void setXAxisTickLabelPaint(java.awt.Paint paint)
Sets the paint for the x-axis tick labels and fires a PropertyChangeEvent for the xAxisTickLabelPaint property.

Parameters:
paint - the paint (null not permitted).
See Also:
getXAxisTickLabelPaint()

getYAxisLabel

public java.lang.String getYAxisLabel()
Returns the y-axis label.

Returns:
The y-axis label.
See Also:
setYAxisLabel(String)

setYAxisLabel

public void setYAxisLabel(java.lang.String label)
Sets the y-axis label and fires a PropertyChangeEvent for the yAxisLabel property.

Parameters:
label - the label.
See Also:
getYAxisLabel()

getYAxisLabelFont

public java.awt.Font getYAxisLabelFont()
Returns the font for the y-axis label.

Returns:
The font for the y-axis label.
See Also:
setYAxisLabelFont(Font)

setYAxisLabelFont

public void setYAxisLabelFont(java.awt.Font font)
Sets the font for the y-axis label and fires a PropertyChangeEvent for the yAxisLabelFont property.

Parameters:
font - the font (null not permitted).
See Also:
getYAxisLabelFont()

getYAxisLabelPaint

public java.awt.Paint getYAxisLabelPaint()
Returns the paint for the y-axis label.

Returns:
The paint for the y-axis label.
See Also:
setYAxisLabelPaint(Paint)

setYAxisLabelPaint

public void setYAxisLabelPaint(java.awt.Paint paint)
Sets the paint for the y-axis label and fires a PropertyChangeEvent for the yAxisLabelPaint property.

Parameters:
paint - the paint (null not permitted).
See Also:
getYAxisLabelPaint()

getYAxisScale

public AxisScale getYAxisScale()
Returns the scale type for the y-axis.

Returns:
The scale type.
See Also:
setYAxisScale(AxisScale)

setYAxisScale

public void setYAxisScale(AxisScale scale)
Sets the scale type for the y-axis and fires a PropertyChangeEvent for the yAxisScale property.

Parameters:
scale - the scale type.
See Also:
getYAxisScale()

isYAxisInverted

public boolean isYAxisInverted()
Returns true if the y-axis is inverted, and false otherwise.

Returns:
A boolean.
See Also:
setYAxisInverted(boolean)

setYAxisInverted

public void setYAxisInverted(boolean inverted)
Sets a flag that controls whether or not the y-axis is inverted and fires a PropertyChangeEvent for the yAxisInverted property.

Parameters:
inverted - the new flag value.
See Also:
isYAxisInverted()

getYAxisAutoRangeIncludesZero

public boolean getYAxisAutoRangeIncludesZero()
Returns the flag that controls whether or not the auto range calculation is forced to include zero.

Returns:
A boolean.
See Also:
setYAxisAutoRangeIncludesZero(boolean)

setYAxisAutoRangeIncludesZero

public void setYAxisAutoRangeIncludesZero(boolean include)
Sets the flag that controls whether or not the auto range calculation is forced to include zero, and fires a PropertyChangeEvent for the yAxisAutoRangeIncludesZero property.

Parameters:
include - the new flag value.
See Also:
getYAxisAutoRangeIncludesZero()

getYAxisLowerMargin

public double getYAxisLowerMargin()
Returns the lower margin for the y-axis.

Returns:
The lower margin.
See Also:
setYAxisLowerMargin(double)

setYAxisLowerMargin

public void setYAxisLowerMargin(double margin)
Sets the lower margin for the y-axis and fires a PropertyChangeEvent for the yAxisLowerMargin property.

Parameters:
margin - the margin.
See Also:
getYAxisLowerMargin()

getYAxisUpperMargin

public double getYAxisUpperMargin()
Returns the upper margin for the y-axis.

Returns:
The upper margin for the y-axis.
See Also:
setYAxisUpperMargin(double)

setYAxisUpperMargin

public void setYAxisUpperMargin(double margin)
Sets the upper margin for the y-axis and fires a PropertyChangeEvent for the yAxisUpperMargin property.

Parameters:
margin - the margin.
See Also:
getYAxisUpperMargin()

isYAxisGridlinesVisible

public boolean isYAxisGridlinesVisible()
Returns true if the y-axis gridlines are visible, and false otherwise.

Returns:
A boolean.
See Also:
setYAxisGridlinesVisible(boolean)

setYAxisGridlinesVisible

public void setYAxisGridlinesVisible(boolean visible)
Sets a flag that controls whether or not the y-axis gridlines are drawn and fires a PropertyChangeEvent for the yAxisGridlinesVisible property.

Parameters:
visible - the new flag value.
See Also:
isYAxisGridlinesVisible()

getXAxisGridlinePaint

public java.awt.Paint getXAxisGridlinePaint()
Returns the grid line paint for the gridlines perpendicular to the x-axis.

Returns:
The paint.
See Also:
setXAxisGridlinePaint(Paint)

setXAxisGridlinePaint

public void setXAxisGridlinePaint(java.awt.Paint paint)
Sets the paint for the x-axis gridlines and fires a PropertyChangeEvent for the xAxisGridlinePaint property.

Parameters:
paint - the paint.
See Also:
getXAxisGridlinePaint()

getYAxisGridlinePaint

public java.awt.Paint getYAxisGridlinePaint()
Returns the y-axis gridline paint.

Returns:
The y-axis gridline paint.
See Also:
setYAxisGridlinePaint(Paint)

setYAxisGridlinePaint

public void setYAxisGridlinePaint(java.awt.Paint paint)
Sets the y-axis gridline paint and fires a PropertyChangeEvent for the yAxisGridlinePaint property.

Parameters:
paint - the paint.
See Also:
getYAxisGridlinePaint()

getYAxisTickLabelFont

public java.awt.Font getYAxisTickLabelFont()
Returns the font for the y-axis tick labels.

Returns:
The font for the y-axis tick labels.
See Also:
setYAxisTickLabelFont(Font)

setYAxisTickLabelFont

public void setYAxisTickLabelFont(java.awt.Font font)
Sets the font for the y-axis tick labels and fires a PropertyChangeEvent for the yAxisTickLabelFont property.

Parameters:
font - the font (null not permitted).
See Also:
getYAxisTickLabelFont()

getYAxisTickLabelPaint

public java.awt.Paint getYAxisTickLabelPaint()
Returns the paint for the y-axis tick labels.

Returns:
The paint for the y-axis tick labels.
See Also:
setYAxisTickLabelPaint(Paint)

setYAxisTickLabelPaint

public void setYAxisTickLabelPaint(java.awt.Paint paint)
Sets the paint for the y-axis tick labels and fires a PropertyChangeEvent for the yAxisTickLabelPaint property.

Parameters:
paint - the paint (null not permitted).
See Also:
getYAxisTickLabelPaint()

getXAxisLocation

public org.jfree.chart.axis.AxisLocation getXAxisLocation()
Returns the permitted axis locations for the x-axis.

Returns:
The axis location.
See Also:
setXAxisLocation(AxisLocation)

setXAxisLocation

public void setXAxisLocation(org.jfree.chart.axis.AxisLocation location)
Sets the axis location for the x-axis and fires a PropertyChangeEvent for the xAxisLocation argument.

Parameters:
location - the location (null not permitted).
See Also:
getXAxisLocation()

getYAxisLocation

public org.jfree.chart.axis.AxisLocation getYAxisLocation()
Returns the permitted axis locations for the y-axis.

Returns:
The axis location.
See Also:
setYAxisLocation(AxisLocation)

setYAxisLocation

public void setYAxisLocation(org.jfree.chart.axis.AxisLocation location)
Sets the axis location for the y-axis and fires a PropertyChangeEvent for the yAxisLocation property.

Parameters:
location - the location (null not permitted).
See Also:
getYAxisLocation()

getToolTipFormat

public java.lang.String getToolTipFormat()
Returns the format string for the item tool tips.

Returns:
The format string.
See Also:
setToolTipFormat(String)

setToolTipFormat

public void setToolTipFormat(java.lang.String format)
Sets the format string for the section tool tips and fires a PropertyChangeEvent for the toolTipFormat property.

Parameters:
format - the format string.
See Also:
getToolTipFormat()

isXAxisPositiveArrowVisible

public boolean isXAxisPositiveArrowVisible()
Returns a flag that controls whether or not an arrow-head is displayed at the positive end of the x-axis.

Returns:
A boolean.
See Also:
setXAxisPositiveArrowVisible(boolean)

setXAxisPositiveArrowVisible

public void setXAxisPositiveArrowVisible(boolean visible)
Sets the flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis and fires a PropertyChangeEvent for the yAxisPositiveArrowVisible property.

Parameters:
visible - the new flag value.
See Also:
isYAxisPositiveArrowVisible()

isXAxisNegativeArrowVisible

public boolean isXAxisNegativeArrowVisible()
Returns a flag that controls whether or not an arrow-head is displayed at the negative end of the x-axis.

Returns:
A boolean.
See Also:
setXAxisNegativeArrowVisible(boolean)

setXAxisNegativeArrowVisible

public void setXAxisNegativeArrowVisible(boolean visible)
Sets the flag that controls whether or not an arrow-head is displayed at the negative end of the x-axis and fires a PropertyChangeEvent for the xAxisNegativeArrowVisible property.

Parameters:
visible - the new flag value.
See Also:
isXAxisNegativeArrowVisible()

isYAxisPositiveArrowVisible

public boolean isYAxisPositiveArrowVisible()
Returns a flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis.

Returns:
A boolean.
See Also:
setYAxisPositiveArrowVisible(boolean)

setYAxisPositiveArrowVisible

public void setYAxisPositiveArrowVisible(boolean visible)
Sets the flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis and fires a PropertyChangeEvent for the yAxisPositiveArrowVisible property.

Parameters:
visible - the new flag value.
See Also:
isYAxisPositiveArrowVisible()

isYAxisNegativeArrowVisible

public boolean isYAxisNegativeArrowVisible()
Returns a flag that controls whether or not an arrow-head is displayed at the negative end of the y-axis.

Returns:
A boolean.
See Also:
setYAxisNegativeArrowVisible(boolean)

setYAxisNegativeArrowVisible

public void setYAxisNegativeArrowVisible(boolean visible)
Sets the flag that controls whether or not an arrow-head is displayed at the negative end of the y-axis and fires a PropertyChangeEvent for the yAxisNegativeArrowVisible property.

Parameters:
visible - the new flag value.
See Also:
isYAxisNegativeArrowVisible()

addXYItemClickListener

public void addXYItemClickListener(XYItemClickListener listener)
Registers a listener to receive notification of category item clicks.

Parameters:
listener - the listener (null not permitted).

removeXYItemClickListener

public void removeXYItemClickListener(XYItemClickListener listener)
Unregisters a listener so that it no longer receives notification of category item clicks.

Parameters:
listener - the listener (null not permitted).

fireXYItemClickEvent

public void fireXYItemClickEvent(XYItemClickEvent event)
Fires a category item click event.

Parameters:
event - the event.

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent event)
If the user clicks on the chart, see if that translates into an event that we report...

Specified by:
mouseClicked in interface java.awt.event.MouseListener
Overrides:
mouseClicked in class AbstractChart
Parameters:
event - the event.