| 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 March 10, 2005 | |
| 9 | */ | |
| 10 | package edu.uci.ics.jung.graph.decorators; | |
| 11 | ||
| 12 | ||
| 13 | /** | |
| 14 | * An interface for decorators that return a | |
| 15 | * <code>Shape</code> for a specified edge. | |
| 16 | * | |
| 17 | * @author Tom Nelson | |
| 18 | */ | |
| 19 | 0 | public abstract class AbstractEdgeShapeFunction implements EdgeShapeFunction { |
| 20 | ||
| 21 | /** | |
| 22 | * Specifies how far apart to place the control points for edges being | |
| 23 | * drawn in parallel. | |
| 24 | */ | |
| 25 | 0 | protected float control_offset_increment = 20.f; |
| 26 | ||
| 27 | /** | |
| 28 | * Sets the value of <code>control_offset_increment</code>. | |
| 29 | */ | |
| 30 | public void setControlOffsetIncrement(float y) | |
| 31 | { | |
| 32 | 0 | control_offset_increment = y; |
| 33 | 0 | } |
| 34 | ||
| 35 | } |
|
this report was generated by version 1.0.5 of jcoverage. |
copyright © 2003, jcoverage ltd. all rights reserved. |