schmitzm.jfree.chart.renderer
Interface SelectionRenderer<E extends DatasetSelectionModel<?,?,?>>

All Superinterfaces:
DatasetSelectionModelProvider<E>
All Known Implementing Classes:
PointSelectionCategoryRenderer, PointSelectionXYRenderer, SelectionXYLineAndShapeRenderer

public interface SelectionRenderer<E extends DatasetSelectionModel<?,?,?>>
extends DatasetSelectionModelProvider<E>

This interface defines methods for all chart renderer which differ between selected and unselected data. Selected data is rendered in a highlighted way.

Author:
Martin Schmitz (University of Bonn/Germany)

Method Summary
 Paint getSelectionOutlinePaint()
          Returns the color, the selected data is outlined with.
 Paint getSelectionPaint()
          Returns the color, the selected data is rendered with.
 void setSelectionOutlinePaint(Paint paint)
          Sets the color, the selected data is outlined with.
 void setSelectionPaint(Paint paint)
          Sets the color, the selected data is rendered with.
 
Methods inherited from interface schmitzm.jfree.chart.selection.DatasetSelectionModelProvider
createSelectionModel, getSelectionModel, setSelectionModel
 

Method Detail

getSelectionPaint

Paint getSelectionPaint()
Returns the color, the selected data is rendered with.


getSelectionOutlinePaint

Paint getSelectionOutlinePaint()
Returns the color, the selected data is outlined with.


setSelectionPaint

void setSelectionPaint(Paint paint)
Sets the color, the selected data is rendered with.

Parameters:
paint - color for the selected data

setSelectionOutlinePaint

void setSelectionOutlinePaint(Paint paint)
Sets the color, the selected data is outlined with.

Parameters:
paint - color for the selected data