com.ijchart.xychart.format
Interface IFormatter

All Known Implementing Classes:
AppendFormatter, DateFormatter, MillisecondsToDateFormatter, NumberFormatter, ReplaceFormatter

public interface IFormatter

Title: IJChart

Description: a chart library for the Java(tm) platform.

A Formatter provides support for formatting Object.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.

Method Summary
 java.lang.String format(java.lang.Object obj, int index)
           Formatted an object to a string.
 

Method Detail

format

java.lang.String format(java.lang.Object obj,
                        int index)
Formatted an object to a string. If a value is composed of a series of objects (such as the coordinates of the axis labels or scale value), the format could be based on index.

Parameters:
obj - Object The object to be formatted (null permitted).
index - int The index value of a series objects.The first is at index 0, the next is at 1, and so on.
Returns:
String