edu.uci.ics.jung.graph.decorators
Class AbstractVertexShapeFunction
java.lang.Object
edu.uci.ics.jung.graph.decorators.AbstractVertexShapeFunction
- All Implemented Interfaces:
- SettableVertexShapeFunction, VertexShapeFunction
- Direct Known Subclasses:
- EllipseVertexShapeFunction
public abstract class AbstractVertexShapeFunction
- extends Object
- implements SettableVertexShapeFunction
- Author:
- Joshua O'Madadhain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vsf
protected VertexSizeFunction vsf
varf
protected VertexAspectRatioFunction varf
factory
protected VertexShapeFactory factory
DEFAULT_SIZE
public static final int DEFAULT_SIZE
- See Also:
- Constant Field Values
DEFAULT_ASPECT_RATIO
public static final float DEFAULT_ASPECT_RATIO
- See Also:
- Constant Field Values
AbstractVertexShapeFunction
public AbstractVertexShapeFunction(VertexSizeFunction vsf,
VertexAspectRatioFunction varf)
AbstractVertexShapeFunction
public AbstractVertexShapeFunction()
setSizeFunction
public void setSizeFunction(VertexSizeFunction vsf)
- Specified by:
setSizeFunction
in interface SettableVertexShapeFunction
setAspectRatioFunction
public void setAspectRatioFunction(VertexAspectRatioFunction varf)
- Specified by:
setAspectRatioFunction
in interface SettableVertexShapeFunction