package info.limpet.stackedcharts.ui.view.adapter;
import info.limpet.stackedcharts.model.ScatterSet;
import java.util.List;
public interface IStackedScatterSetAdapter
{
/** whether this adapter can convert objects of the
* supplied type. This is expected to return
* promptly, so it can be used when determining hover target
*
* @param data the object to convert
* @return yes/no
*/
boolean canConvertToScatterSet(Object data);
/** convert the supplied data object into a Limpet scatterset
* if possible
* @param data the object to convert
* @return the dataset (or null if this class can't convert it)
*/
List<ScatterSet> convertToScatterSet(Object data);
}