Renamed Highlighter -> IHighlighter
This commit is contained in:
parent
4d9dc0aa06
commit
713f467ba8
5 changed files with 11 additions and 7 deletions
|
@ -36,7 +36,7 @@ import com.github.mikephil.charting.formatter.DefaultValueFormatter;
|
|||
import com.github.mikephil.charting.formatter.ValueFormatter;
|
||||
import com.github.mikephil.charting.highlight.ChartHighlighter;
|
||||
import com.github.mikephil.charting.highlight.Highlight;
|
||||
import com.github.mikephil.charting.highlight.Highlighter;
|
||||
import com.github.mikephil.charting.highlight.IHighlighter;
|
||||
import com.github.mikephil.charting.interfaces.dataprovider.ChartInterface;
|
||||
import com.github.mikephil.charting.interfaces.datasets.IDataSet;
|
||||
import com.github.mikephil.charting.listener.ChartTouchListener;
|
||||
|
@ -163,7 +163,7 @@ public abstract class Chart<T extends ChartData<? extends IDataSet<? extends Ent
|
|||
*/
|
||||
protected DataRenderer mRenderer;
|
||||
|
||||
protected Highlighter mHighlighter;
|
||||
protected IHighlighter mHighlighter;
|
||||
|
||||
/**
|
||||
* object that manages the bounds and drawing constraints of the chart
|
||||
|
@ -1478,7 +1478,7 @@ public abstract class Chart<T extends ChartData<? extends IDataSet<? extends Ent
|
|||
mRenderer = renderer;
|
||||
}
|
||||
|
||||
public Highlighter getHighlighter() {
|
||||
public IHighlighter getHighlighter() {
|
||||
return mHighlighter;
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,8 @@ import java.util.List;
|
|||
/**
|
||||
* Created by Philipp Jahoda on 21/07/15.
|
||||
*/
|
||||
public class ChartHighlighter<T extends BarLineScatterCandleBubbleDataProvider> implements Highlighter {
|
||||
public class ChartHighlighter<T extends BarLineScatterCandleBubbleDataProvider> implements IHighlighter
|
||||
{
|
||||
|
||||
/**
|
||||
* instance of the data-provider
|
||||
|
|
|
@ -13,7 +13,8 @@ import java.util.List;
|
|||
/**
|
||||
* Created by Philipp Jahoda on 12/09/15.
|
||||
*/
|
||||
public class CombinedHighlighter extends ChartHighlighter<CombinedDataProvider> implements Highlighter {
|
||||
public class CombinedHighlighter extends ChartHighlighter<CombinedDataProvider> implements IHighlighter
|
||||
{
|
||||
|
||||
/**
|
||||
* bar highlighter for supporting stacked highlighting
|
||||
|
|
|
@ -3,7 +3,8 @@ package com.github.mikephil.charting.highlight;
|
|||
/**
|
||||
* Created by philipp on 10/06/16.
|
||||
*/
|
||||
public interface Highlighter {
|
||||
public interface IHighlighter
|
||||
{
|
||||
|
||||
/**
|
||||
* Returns a Highlight object corresponding to the given x- and y- touch positions in pixels.
|
|
@ -9,7 +9,8 @@ import java.util.List;
|
|||
/**
|
||||
* Created by philipp on 12/06/16.
|
||||
*/
|
||||
public abstract class PieRadarHighlighter<T extends PieRadarChartBase> implements Highlighter {
|
||||
public abstract class PieRadarHighlighter<T extends PieRadarChartBase> implements IHighlighter
|
||||
{
|
||||
|
||||
protected T mChart;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue