01: /*
02: * Copyright 2003-2004, Franz-Josef Elmer, All rights reserved
03: *
04: * This library is free software; you can redistribute it and/or modify
05: * it under the terms of the GNU Lesser General Public License as published by
06: * the Free Software Foundation; either version 2.1 of the License, or
07: * (at your option) any later version.
08: *
09: * This program is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU Lesser General Public License for more details
13: * (http://www.gnu.org/copyleft/lesser.html).
14: *
15: * You should have received a copy of the GNU Lesser General Public License
16: * along with this library; if not, write to the Free Software
17: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18: */
19: package jcckit.util;
20:
21: /**
22: * Format interface for tic labels. Maps a numerical tic value onto a string.
23: *
24: * @author Franz-Josef Elmer
25: */
26: public interface TicLabelFormat {
27: /**
28: * Forms the specified tic value to a string. Note, the numerical
29: * <tt>ticValue</tt> may be mapped onto a non-numerical one.
30: */
31: public String form(double ticValue);
32: }
|