Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

org::jfree::chart::renderer::xy::XYStepRenderer Class Reference

Inheritance diagram for org::jfree::chart::renderer::xy::XYStepRenderer:

org::jfree::chart::renderer::xy::XYLineAndShapeRenderer org::jfree::chart::renderer::xy::XYItemRenderer org::jfree::chart::renderer::xy::AbstractXYItemRenderer org::jfree::chart::renderer::xy::XYItemRenderer org::jfree::chart::LegendItemSource org::jfree::chart::renderer::AbstractRenderer org::jfree::chart::renderer::xy::XYItemRenderer org::jfree::chart::LegendItemSource org::jfree::chart::LegendItemSource

List of all members.


Detailed Description

Line/Step item renderer for an XYPlot. This class draws lines between data points, only allowing horizontal or vertical lines (steps).

Definition at line 96 of file XYStepRenderer.java.


Public Member Functions

void addAnnotation (XYAnnotation annotation, Layer layer)
void addAnnotation (XYAnnotation annotation)
void addChangeListener (RendererChangeListener listener)
void addChangeListener (RendererChangeListener listener)
Object clone () throws CloneNotSupportedException
void drawAnnotations (Graphics2D g2, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, Layer layer, PlotRenderingInfo info)
void drawDomainGridLine (Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)
void drawDomainLine (Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke)
void drawDomainMarker (Graphics2D g2, XYPlot plot, ValueAxis domainAxis, Marker marker, Rectangle2D dataArea)
void drawItem (Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)
void drawRangeLine (Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke)
void drawRangeMarker (Graphics2D g2, XYPlot plot, ValueAxis rangeAxis, Marker marker, Rectangle2D dataArea)
boolean equals (Object obj)
void fillDomainGridBand (Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)
void fillRangeGridBand (Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)
Range findDomainBounds (XYDataset dataset)
Range findRangeBounds (XYDataset dataset)
boolean getAutoPopulateSeriesFillPaint ()
boolean getAutoPopulateSeriesOutlinePaint ()
boolean getAutoPopulateSeriesOutlineStroke ()
boolean getAutoPopulateSeriesPaint ()
boolean getAutoPopulateSeriesShape ()
boolean getAutoPopulateSeriesStroke ()
boolean getBaseCreateEntities ()
Paint getBaseFillPaint ()
Font getBaseItemLabelFont ()
Font getBaseItemLabelFont ()
XYItemLabelGenerator getBaseItemLabelGenerator ()
Paint getBaseItemLabelPaint ()
Paint getBaseItemLabelPaint ()
Boolean getBaseItemLabelsVisible ()
Boolean getBaseItemLabelsVisible ()
boolean getBaseLinesVisible ()
ItemLabelPosition getBaseNegativeItemLabelPosition ()
ItemLabelPosition getBaseNegativeItemLabelPosition ()
Paint getBaseOutlinePaint ()
Paint getBaseOutlinePaint ()
Stroke getBaseOutlineStroke ()
Stroke getBaseOutlineStroke ()
Paint getBasePaint ()
Paint getBasePaint ()
ItemLabelPosition getBasePositiveItemLabelPosition ()
ItemLabelPosition getBasePositiveItemLabelPosition ()
boolean getBaseSeriesVisible ()
boolean getBaseSeriesVisible ()
boolean getBaseSeriesVisibleInLegend ()
boolean getBaseSeriesVisibleInLegend ()
Shape getBaseShape ()
Shape getBaseShape ()
boolean getBaseShapesFilled ()
boolean getBaseShapesVisible ()
Stroke getBaseStroke ()
Stroke getBaseStroke ()
XYToolTipGenerator getBaseToolTipGenerator ()
Boolean getCreateEntities ()
int getDefaultEntityRadius ()
DrawingSupplier getDrawingSupplier ()
boolean getDrawOutlines ()
boolean getDrawSeriesLineAsPath ()
boolean getItemCreateEntity (int series, int item)
Paint getItemFillPaint (int row, int column)
double getItemLabelAnchorOffset ()
Font getItemLabelFont ()
Font getItemLabelFont (int row, int column)
Font getItemLabelFont ()
Font getItemLabelFont (int row, int column)
XYItemLabelGenerator getItemLabelGenerator ()
XYItemLabelGenerator getItemLabelGenerator (int series, int item)
Paint getItemLabelPaint ()
Paint getItemLabelPaint (int row, int column)
Paint getItemLabelPaint ()
Paint getItemLabelPaint (int row, int column)
boolean getItemLineVisible (int series, int item)
Paint getItemOutlinePaint (int row, int column)
Paint getItemOutlinePaint (int row, int column)
Stroke getItemOutlineStroke (int row, int column)
Stroke getItemOutlineStroke (int row, int column)
Paint getItemPaint (int row, int column)
Paint getItemPaint (int row, int column)
Shape getItemShape (int row, int column)
Shape getItemShape (int row, int column)
boolean getItemShapeFilled (int series, int item)
boolean getItemShapeVisible (int series, int item)
Stroke getItemStroke (int row, int column)
Stroke getItemStroke (int row, int column)
boolean getItemVisible (int series, int item)
boolean getItemVisible (int series, int item)
LegendItem getLegendItem (int datasetIndex, int series)
XYSeriesLabelGenerator getLegendItemLabelGenerator ()
LegendItemCollection getLegendItems ()
XYSeriesLabelGenerator getLegendItemToolTipGenerator ()
XYSeriesLabelGenerator getLegendItemURLGenerator ()
Shape getLegendLine ()
Boolean getLinesVisible ()
ItemLabelPosition getNegativeItemLabelPosition ()
ItemLabelPosition getNegativeItemLabelPosition (int row, int column)
ItemLabelPosition getNegativeItemLabelPosition ()
ItemLabelPosition getNegativeItemLabelPosition (int row, int column)
int getPassCount ()
XYPlot getPlot ()
ItemLabelPosition getPositiveItemLabelPosition ()
ItemLabelPosition getPositiveItemLabelPosition (int row, int column)
ItemLabelPosition getPositiveItemLabelPosition ()
ItemLabelPosition getPositiveItemLabelPosition (int row, int column)
Boolean getSeriesCreateEntities (int series)
Paint getSeriesFillPaint (int series)
Font getSeriesItemLabelFont (int series)
Font getSeriesItemLabelFont (int series)
XYItemLabelGenerator getSeriesItemLabelGenerator (int series)
Paint getSeriesItemLabelPaint (int series)
Paint getSeriesItemLabelPaint (int series)
Boolean getSeriesLinesVisible (int series)
ItemLabelPosition getSeriesNegativeItemLabelPosition (int series)
ItemLabelPosition getSeriesNegativeItemLabelPosition (int series)
Paint getSeriesOutlinePaint (int series)
Paint getSeriesOutlinePaint (int series)
Stroke getSeriesOutlineStroke (int series)
Stroke getSeriesOutlineStroke (int series)
Paint getSeriesPaint (int series)
Paint getSeriesPaint (int series)
ItemLabelPosition getSeriesPositiveItemLabelPosition (int series)
ItemLabelPosition getSeriesPositiveItemLabelPosition (int series)
Shape getSeriesShape (int series)
Shape getSeriesShape (int series)
Boolean getSeriesShapesFilled (int series)
Boolean getSeriesShapesVisible (int series)
Stroke getSeriesStroke (int series)
Stroke getSeriesStroke (int series)
XYToolTipGenerator getSeriesToolTipGenerator (int series)
Boolean getSeriesVisible (int series)
Boolean getSeriesVisible ()
Boolean getSeriesVisible (int series)
Boolean getSeriesVisible ()
Boolean getSeriesVisibleInLegend (int series)
Boolean getSeriesVisibleInLegend ()
Boolean getSeriesVisibleInLegend (int series)
Boolean getSeriesVisibleInLegend ()
Boolean getShapesVisible ()
double getStepPoint ()
XYToolTipGenerator getToolTipGenerator ()
XYToolTipGenerator getToolTipGenerator (int series, int item)
XYURLGenerator getURLGenerator ()
boolean getUseFillPaint ()
boolean getUseOutlinePaint ()
int hashCode ()
boolean hasListener (EventListener listener)
XYItemRendererState initialise (Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)
boolean isItemLabelVisible (int row, int column)
boolean isItemLabelVisible (int row, int column)
boolean isSeriesItemLabelsVisible (int series)
boolean isSeriesItemLabelsVisible (int series)
boolean isSeriesVisible (int series)
boolean isSeriesVisible (int series)
boolean isSeriesVisibleInLegend (int series)
boolean isSeriesVisibleInLegend (int series)
Paint lookupSeriesFillPaint (int series)
Paint lookupSeriesOutlinePaint (int series)
Stroke lookupSeriesOutlineStroke (int series)
Paint lookupSeriesPaint (int series)
Shape lookupSeriesShape (int series)
Stroke lookupSeriesStroke (int series)
void notifyListeners (RendererChangeEvent event)
boolean removeAnnotation (XYAnnotation annotation)
void removeAnnotations ()
void removeChangeListener (RendererChangeListener listener)
void removeChangeListener (RendererChangeListener listener)
void setAutoPopulateSeriesFillPaint (boolean auto)
void setAutoPopulateSeriesOutlinePaint (boolean auto)
void setAutoPopulateSeriesOutlineStroke (boolean auto)
void setAutoPopulateSeriesPaint (boolean auto)
void setAutoPopulateSeriesShape (boolean auto)
void setAutoPopulateSeriesStroke (boolean auto)
void setBaseCreateEntities (boolean create, boolean notify)
void setBaseCreateEntities (boolean create)
void setBaseFillPaint (Paint paint, boolean notify)
void setBaseFillPaint (Paint paint)
void setBaseItemLabelFont (Font font)
void setBaseItemLabelFont (Font font, boolean notify)
void setBaseItemLabelFont (Font font)
void setBaseItemLabelGenerator (XYItemLabelGenerator generator)
void setBaseItemLabelPaint (Paint paint)
void setBaseItemLabelPaint (Paint paint, boolean notify)
void setBaseItemLabelPaint (Paint paint)
void setBaseItemLabelsVisible (Boolean visible, boolean notify)
void setBaseItemLabelsVisible (Boolean visible)
void setBaseItemLabelsVisible (boolean visible)
void setBaseItemLabelsVisible (Boolean visible, boolean notify)
void setBaseItemLabelsVisible (Boolean visible)
void setBaseItemLabelsVisible (boolean visible)
void setBaseLinesVisible (boolean flag)
void setBaseNegativeItemLabelPosition (ItemLabelPosition position, boolean notify)
void setBaseNegativeItemLabelPosition (ItemLabelPosition position)
void setBaseNegativeItemLabelPosition (ItemLabelPosition position, boolean notify)
void setBaseNegativeItemLabelPosition (ItemLabelPosition position)
void setBaseOutlinePaint (Paint paint)
void setBaseOutlinePaint (Paint paint, boolean notify)
void setBaseOutlinePaint (Paint paint)
void setBaseOutlineStroke (Stroke stroke)
void setBaseOutlineStroke (Stroke stroke, boolean notify)
void setBaseOutlineStroke (Stroke stroke)
void setBasePaint (Paint paint)
void setBasePaint (Paint paint, boolean notify)
void setBasePaint (Paint paint)
void setBasePositiveItemLabelPosition (ItemLabelPosition position, boolean notify)
void setBasePositiveItemLabelPosition (ItemLabelPosition position)
void setBasePositiveItemLabelPosition (ItemLabelPosition position, boolean notify)
void setBasePositiveItemLabelPosition (ItemLabelPosition position)
void setBaseSeriesVisible (boolean visible, boolean notify)
void setBaseSeriesVisible (boolean visible)
void setBaseSeriesVisible (boolean visible, boolean notify)
void setBaseSeriesVisible (boolean visible)
void setBaseSeriesVisibleInLegend (boolean visible, boolean notify)
void setBaseSeriesVisibleInLegend (boolean visible)
void setBaseSeriesVisibleInLegend (boolean visible, boolean notify)
void setBaseSeriesVisibleInLegend (boolean visible)
void setBaseShape (Shape shape)
void setBaseShape (Shape shape, boolean notify)
void setBaseShape (Shape shape)
void setBaseShapesFilled (boolean flag)
void setBaseShapesVisible (boolean flag)
void setBaseStroke (Stroke stroke)
void setBaseStroke (Stroke stroke, boolean notify)
void setBaseStroke (Stroke stroke)
void setBaseToolTipGenerator (XYToolTipGenerator generator)
void setCreateEntities (Boolean create, boolean notify)
void setCreateEntities (Boolean create)
void setDefaultEntityRadius (int radius)
void setDrawOutlines (boolean flag)
void setDrawSeriesLineAsPath (boolean flag)
void setFillPaint (Paint paint, boolean notify)
void setFillPaint (Paint paint)
void setItemLabelAnchorOffset (double offset)
void setItemLabelFont (Font font)
void setItemLabelFont (Font font, boolean notify)
void setItemLabelFont (Font font)
void setItemLabelGenerator (XYItemLabelGenerator generator)
void setItemLabelPaint (Paint paint)
void setItemLabelPaint (Paint paint, boolean notify)
void setItemLabelPaint (Paint paint)
void setItemLabelsVisible (Boolean visible, boolean notify)
void setItemLabelsVisible (Boolean visible)
void setItemLabelsVisible (boolean visible)
void setItemLabelsVisible (Boolean visible, boolean notify)
void setItemLabelsVisible (Boolean visible)
void setItemLabelsVisible (boolean visible)
void setLegendItemLabelGenerator (XYSeriesLabelGenerator generator)
void setLegendItemToolTipGenerator (XYSeriesLabelGenerator generator)
void setLegendItemURLGenerator (XYSeriesLabelGenerator generator)
void setLegendLine (Shape line)
void setLinesVisible (boolean visible)
void setLinesVisible (Boolean visible)
void setNegativeItemLabelPosition (ItemLabelPosition position, boolean notify)
void setNegativeItemLabelPosition (ItemLabelPosition position)
void setNegativeItemLabelPosition (ItemLabelPosition position, boolean notify)
void setNegativeItemLabelPosition (ItemLabelPosition position)
void setOutlinePaint (Paint paint)
void setOutlinePaint (Paint paint, boolean notify)
void setOutlinePaint (Paint paint)
void setOutlineStroke (Stroke stroke)
void setOutlineStroke (Stroke stroke, boolean notify)
void setOutlineStroke (Stroke stroke)
void setPaint (Paint paint)
void setPaint (Paint paint, boolean notify)
void setPaint (Paint paint)
void setPlot (XYPlot plot)
void setPositiveItemLabelPosition (ItemLabelPosition position, boolean notify)
void setPositiveItemLabelPosition (ItemLabelPosition position)
void setPositiveItemLabelPosition (ItemLabelPosition position, boolean notify)
void setPositiveItemLabelPosition (ItemLabelPosition position)
void setSeriesCreateEntities (int series, Boolean create, boolean notify)
void setSeriesCreateEntities (int series, Boolean create)
void setSeriesFillPaint (int series, Paint paint, boolean notify)
void setSeriesFillPaint (int series, Paint paint)
void setSeriesItemLabelFont (int series, Font font)
void setSeriesItemLabelFont (int series, Font font, boolean notify)
void setSeriesItemLabelFont (int series, Font font)
void setSeriesItemLabelGenerator (int series, XYItemLabelGenerator generator)
void setSeriesItemLabelPaint (int series, Paint paint)
void setSeriesItemLabelPaint (int series, Paint paint, boolean notify)
void setSeriesItemLabelPaint (int series, Paint paint)
void setSeriesItemLabelsVisible (int series, Boolean visible, boolean notify)
void setSeriesItemLabelsVisible (int series, Boolean visible)
void setSeriesItemLabelsVisible (int series, boolean visible)
void setSeriesItemLabelsVisible (int series, Boolean visible, boolean notify)
void setSeriesItemLabelsVisible (int series, Boolean visible)
void setSeriesItemLabelsVisible (int series, boolean visible)
void setSeriesLinesVisible (int series, boolean visible)
void setSeriesLinesVisible (int series, Boolean flag)
void setSeriesNegativeItemLabelPosition (int series, ItemLabelPosition position, boolean notify)
void setSeriesNegativeItemLabelPosition (int series, ItemLabelPosition position)
void setSeriesNegativeItemLabelPosition (int series, ItemLabelPosition position, boolean notify)
void setSeriesNegativeItemLabelPosition (int series, ItemLabelPosition position)
void setSeriesOutlinePaint (int series, Paint paint)
void setSeriesOutlinePaint (int series, Paint paint, boolean notify)
void setSeriesOutlinePaint (int series, Paint paint)
void setSeriesOutlineStroke (int series, Stroke stroke)
void setSeriesOutlineStroke (int series, Stroke stroke, boolean notify)
void setSeriesOutlineStroke (int series, Stroke stroke)
void setSeriesPaint (int series, Paint paint)
void setSeriesPaint (int series, Paint paint, boolean notify)
void setSeriesPaint (int series, Paint paint)
void setSeriesPositiveItemLabelPosition (int series, ItemLabelPosition position, boolean notify)
void setSeriesPositiveItemLabelPosition (int series, ItemLabelPosition position)
void setSeriesPositiveItemLabelPosition (int series, ItemLabelPosition position, boolean notify)
void setSeriesPositiveItemLabelPosition (int series, ItemLabelPosition position)
void setSeriesShape (int series, Shape shape)
void setSeriesShape (int series, Shape shape, boolean notify)
void setSeriesShape (int series, Shape shape)
void setSeriesShapesFilled (int series, Boolean flag)
void setSeriesShapesFilled (int series, boolean flag)
void setSeriesShapesVisible (int series, Boolean flag)
void setSeriesShapesVisible (int series, boolean visible)
void setSeriesStroke (int series, Stroke stroke)
void setSeriesStroke (int series, Stroke stroke, boolean notify)
void setSeriesStroke (int series, Stroke stroke)
void setSeriesToolTipGenerator (int series, XYToolTipGenerator generator)
void setSeriesVisible (int series, Boolean visible, boolean notify)
void setSeriesVisible (int series, Boolean visible)
void setSeriesVisible (Boolean visible, boolean notify)
void setSeriesVisible (Boolean visible)
void setSeriesVisible (int series, Boolean visible, boolean notify)
void setSeriesVisible (int series, Boolean visible)
void setSeriesVisible (Boolean visible, boolean notify)
void setSeriesVisible (Boolean visible)
void setSeriesVisibleInLegend (int series, Boolean visible, boolean notify)
void setSeriesVisibleInLegend (int series, Boolean visible)
void setSeriesVisibleInLegend (Boolean visible, boolean notify)
void setSeriesVisibleInLegend (Boolean visible)
void setSeriesVisibleInLegend (int series, Boolean visible, boolean notify)
void setSeriesVisibleInLegend (int series, Boolean visible)
void setSeriesVisibleInLegend (Boolean visible, boolean notify)
void setSeriesVisibleInLegend (Boolean visible)
void setShape (Shape shape)
void setShape (Shape shape, boolean notify)
void setShape (Shape shape)
void setShapesFilled (Boolean filled)
void setShapesFilled (boolean filled)
void setShapesVisible (boolean visible)
void setShapesVisible (Boolean visible)
void setStepPoint (double stepPoint)
void setStroke (Stroke stroke)
void setStroke (Stroke stroke, boolean notify)
void setStroke (Stroke stroke)
void setToolTipGenerator (XYToolTipGenerator generator)
void setURLGenerator (XYURLGenerator urlGenerator)
void setUseFillPaint (boolean flag)
void setUseOutlinePaint (boolean flag)
 XYStepRenderer (XYToolTipGenerator toolTipGenerator, XYURLGenerator urlGenerator)
 XYStepRenderer ()

Static Public Member Functions

static boolean isPointInRect (Rectangle2D rect, double x, double y)

Static Public Attributes

static final Paint DEFAULT_OUTLINE_PAINT = Color.gray
static final Stroke DEFAULT_OUTLINE_STROKE = new BasicStroke(1.0f)
static final Paint DEFAULT_PAINT = Color.blue
static final Shape DEFAULT_SHAPE = new Rectangle2D.Double(-3.0, -3.0, 6.0, 6.0)
static final Stroke DEFAULT_STROKE = new BasicStroke(1.0f)
static final Font DEFAULT_VALUE_LABEL_FONT = new Font("SansSerif", Font.PLAIN, 10)
static final Paint DEFAULT_VALUE_LABEL_PAINT = Color.black
static final Double ZERO = new Double(0.0)

Protected Member Functions

void addEntity (EntityCollection entities, Shape area, XYDataset dataset, int series, int item, double entityX, double entityY)
Point2D calculateDomainMarkerTextAnchorPoint (Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)
Point2D calculateLabelAnchorPoint (ItemLabelAnchor anchor, double x, double y, PlotOrientation orientation)
void drawFirstPassShape (Graphics2D g2, int pass, int series, int item, Shape shape)
void drawItemLabel (Graphics2D g2, PlotOrientation orientation, XYDataset dataset, int series, int item, double x, double y, boolean negative)
void drawPrimaryLine (XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea)
void drawPrimaryLineAsPath (XYItemRendererState state, Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, Rectangle2D dataArea)
void drawSecondaryPass (Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, Rectangle2D dataArea, ValueAxis rangeAxis, CrosshairState crosshairState, EntityCollection entities)
void fireChangeEvent ()
boolean isItemPass (int pass)
boolean isLinePass (int pass)
void updateCrosshairValues (CrosshairState crosshairState, double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, PlotOrientation orientation)
void updateCrosshairValues (CrosshairState crosshairState, double x, double y, double transX, double transY, PlotOrientation orientation)

Private Member Functions

void drawLine (Graphics2D g2, Line2D line, double x0, double y0, double x1, double y1)

Private Attributes

double stepPoint = 1.0d

Static Private Attributes

static final long serialVersionUID = -8918141928884796108L

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index