edu.uci.ics.jung.algorithms.layout
Class SpringLayout2.UnitLengthFunction<E>
java.lang.Object
edu.uci.ics.jung.algorithms.layout.SpringLayout2.UnitLengthFunction<E>
- All Implemented Interfaces:
- SpringLayout2.LengthFunction<E>
- Enclosing class:
- SpringLayout2<V,E>
public static final class SpringLayout2.UnitLengthFunction<E>
- extends Object
- implements SpringLayout2.LengthFunction<E>
Returns all edges as the same length: the input value
- Author:
- danyelf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringLayout2.UnitLengthFunction
public SpringLayout2.UnitLengthFunction(int length)
getLength
public double getLength(E e)
- Specified by:
getLength
in interface SpringLayout2.LengthFunction<E>
Copyright © 2008 null. All Rights Reserved.