public class PathStyleProvider extends Object implements StyleProvider
Constructor and Description |
---|
PathStyleProvider(StyleManager manager) |
Modifier and Type | Method and Description |
---|---|
EdgeStyle |
getEdgeStyle(Edge edge,
EdgeStyle baseStyle)
Get the style used for an edge.
|
NodeStyle |
getNodeStyle(Object node,
NodeStyle baseStyle)
Get the style to use for a node.
|
void |
setPath(List path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCSS
public PathStyleProvider(StyleManager manager)
public NodeStyle getNodeStyle(Object node, NodeStyle baseStyle)
StyleProvider
getNodeStyle
in interface StyleProvider
baseStyle
- the style to use as fallbackpublic EdgeStyle getEdgeStyle(Edge edge, EdgeStyle baseStyle)
StyleProvider
getEdgeStyle
in interface StyleProvider
baseStyle
- the style to use as fallbackpublic void setPath(List path)
Copyright © 2005–2020. All rights reserved.