Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: joelib/util/ToolTipInfo.java


1   ///////////////////////////////////////////////////////////////////////////////
2   //  Filename: $RCSfile: ToolTipInfo.java,v $
3   //  Purpose:  Tool tip information for chart visualisations.
4   //  Language: Java
5   //  Compiler: JDK 1.4
6   //  Authors:  Joerg K. Wegner
7   //  Version:  $Revision: 1.3 $
8   //            $Date: 2003/08/19 13:11:29 $
9   //            $Author: wegner $
10  //
11  //  Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
12  //
13  //  This program is free software; you can redistribute it and/or modify
14  //  it under the terms of the GNU General Public License as published by
15  //  the Free Software Foundation version 2 of the License.
16  //
17  //  This program is distributed in the hope that it will be useful,
18  //  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  //  GNU General Public License for more details.
21  ///////////////////////////////////////////////////////////////////////////////
22  
23  /*==========================================================================*
24   * PACKAGE
25   *========================================================================== */
26  package joelib.util;
27  
28  
29  /*==========================================================================*
30   * IMPORTS
31   *========================================================================== */
32  /*==========================================================================*
33   * CLASS DECLARATION
34   *========================================================================== */
35  
36  /**
37   * Tool tip information for chart visualisations.
38   *
39   * @author     wegnerj
40   *     21. März 2002
41   */
42  public interface ToolTipInfo
43  {
44      //~ Methods ////////////////////////////////////////////////////////////////
45  
46      /**
47       *  Gets the tool tip text. Returns HTML code <b>without</b> the &lt;html> and
48       *  &lt;/html> tokens.
49       *
50       * @param  x  the x coordinate in a chart visualisation
51       * @param  y  the y coordinate in a chart visualisation
52       * @return    the HTML tool tip text
53       */
54      public String getHTMLInfo(double x, double y);
55  
56      /**
57       *  Gets the information type for this tool tip, e.g "infrared data"
58       *
59       * @return    the information type
60       */
61      public String getType();
62  }
63  ///////////////////////////////////////////////////////////////////////////////
64  //  END OF FILE.
65  ///////////////////////////////////////////////////////////////////////////////