samples.graph
Class PluggableRendererDemo.GradientPickedEdgePaintFunction
java.lang.Object
edu.uci.ics.jung.graph.decorators.AbstractEdgePaintFunction
edu.uci.ics.jung.graph.decorators.GradientEdgePaintFunction
samples.graph.PluggableRendererDemo.GradientPickedEdgePaintFunction
- All Implemented Interfaces:
- EdgePaintFunction
- Enclosing class:
- PluggableRendererDemo
public class PluggableRendererDemo.GradientPickedEdgePaintFunction
- extends GradientEdgePaintFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fill_edge
protected boolean fill_edge
PluggableRendererDemo.GradientPickedEdgePaintFunction
public PluggableRendererDemo.GradientPickedEdgePaintFunction(EdgePaintFunction defaultEdgePaintFunction,
HasGraphLayout vv,
LayoutTransformer transformer,
PickedInfo pi)
useFill
public void useFill(boolean b)
getDrawPaint
public Paint getDrawPaint(Edge e)
- Specified by:
getDrawPaint
in interface EdgePaintFunction
- Overrides:
getDrawPaint
in class GradientEdgePaintFunction
getColor2
protected Color getColor2(Edge e)
- Description copied from class:
GradientEdgePaintFunction
- Returns
c2
. Subclasses may override
this method to enable more complex behavior (e.g., for
picked edges).
- Overrides:
getColor2
in class GradientEdgePaintFunction
getFillPaint
public Paint getFillPaint(Edge e)
- Specified by:
getFillPaint
in interface EdgePaintFunction
- Overrides:
getFillPaint
in class AbstractEdgePaintFunction
- See Also:
EdgePaintFunction.getFillPaint(edu.uci.ics.jung.graph.Edge)