Coverage details for edu.uci.ics.jung.graph.decorators.ConstantVertexFontFunction

LineHitsSource
1 /*
2  * Created on Aug 29, 2004
3  *
4  * Copyright (c) 2004, the JUNG Project and the Regents of the University
5  * of California
6  * All rights reserved.
7  *
8  * This software is open-source under the BSD license; see either
9  * "license.txt" or
10  * http://jung.sourceforge.net/license.txt for a description.
11  */
12 package edu.uci.ics.jung.graph.decorators;
13  
14 import java.awt.Font;
15  
16 import edu.uci.ics.jung.graph.Vertex;
17  
18 /**
19  *
20  * @author Joshua O'Madadhain
21  */
22 public class ConstantVertexFontFunction implements VertexFontFunction
23 {
24     protected Font font;
25     
26     public ConstantVertexFontFunction(Font f)
270    {
280        this.font = f;
290    }
30     
31     /**
32      * @see edu.uci.ics.jung.graph.decorators.VertexFontFunction#getFont(edu.uci.ics.jung.graph.Vertex)
33      */
34     public Font getFont(Vertex v)
35     {
360        return font;
37     }
38  
39 }

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.