Line | Hits | Source |
---|---|---|
1 | /* | |
2 | * Copyright (c) 2005, the JUNG Project and the Regents of the University of | |
3 | * California All rights reserved. | |
4 | * | |
5 | * This software is open-source under the BSD license; see either "license.txt" | |
6 | * or http://jung.sourceforge.net/license.txt for a description. | |
7 | * | |
8 | * Created on Jul 1, 2005 | |
9 | */ | |
10 | ||
11 | package edu.uci.ics.jung.graph.decorators; | |
12 | ||
13 | import java.awt.event.MouseEvent; | |
14 | ||
15 | import edu.uci.ics.jung.graph.Edge; | |
16 | import edu.uci.ics.jung.graph.Vertex; | |
17 | ||
18 | /** | |
19 | * A convenience implementation of ToolTipFunction which provides | |
20 | * no tool tips. Only the desired methods need be overridden to | |
21 | * get desired behavior. | |
22 | * | |
23 | * @author Tom Nelson - RABA Technologies | |
24 | * | |
25 | * | |
26 | */ | |
27 | 0 | public class ToolTipFunctionAdapter implements ToolTipFunction { |
28 | ||
29 | /* (non-Javadoc) | |
30 | * @see edu.uci.ics.jung.graph.decorators.ToolTipFunction#getToolTipText(edu.uci.ics.jung.graph.Vertex) | |
31 | */ | |
32 | public String getToolTipText(Vertex v) { | |
33 | 0 | return null; |
34 | } | |
35 | ||
36 | /* (non-Javadoc) | |
37 | * @see edu.uci.ics.jung.graph.decorators.ToolTipFunction#getToolTipText(edu.uci.ics.jung.graph.Edge) | |
38 | */ | |
39 | public String getToolTipText(Edge e) { | |
40 | 0 | return null; |
41 | } | |
42 | ||
43 | /* (non-Javadoc) | |
44 | * @see edu.uci.ics.jung.visualization.VisualizationViewer.ToolTipListener#getToolTipText(java.awt.event.MouseEvent) | |
45 | */ | |
46 | public String getToolTipText(MouseEvent event) { | |
47 | 0 | return null; |
48 | } | |
49 | ||
50 | } |
this report was generated by version 1.0.5 of jcoverage. |
copyright © 2003, jcoverage ltd. all rights reserved. |