package pl.edu.icm.saos.common.chart.formatter; import pl.edu.icm.saos.common.chart.Point; import pl.edu.icm.saos.common.order.Orderable; /** * * Formatter of x/y values of {@link Point}. * * @author Ɓukasz Dumiszewski */ public interface PointValueFormatter extends Orderable { /** * Formats the given value object into String */ public String format(Object value); /** * Returns true if the formatter handles (can format) objects of the given class */ public boolean handles(Class<?> valueClass); /** * Returns the order of this formatter. The order can be used when one has the list of formatters * and wants to give them specific precedence. */ public int getOrder(); }