Package net.sourceforge.jpowergraph.painters.edge

Examples of net.sourceforge.jpowergraph.painters.edge.LoopEdgePainter


    theJGraphPane.setNodePainter(SpreadNode.class, new ShapeNodePainter(ShapeNodePainter.ELLIPSE, light_green, dark_green, black));
    theJGraphPane.setNodePainter(PathNode.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_blue, dark_blue, black));        


    //Edges style
    theJGraphPane.setEdgePainter(LoopEdge.class, new LoopEdgePainter(gray, gray, LoopEdgePainter.CIRCULAR));
    theJGraphPane.setEdgePainter(LoopEdge2.class, new LoopEdgePainter(gray, gray, LoopEdgePainter.RECTANGULAR));
    theJGraphPane.setEdgePainter(TextEdge.class, new LineWithTextEdgePainter(gray, gray, false));
    theJGraphPane.setEdgePainter(LineEdge.class, new LineEdgePainter(gray, gray, true));
    theJGraphPane.setEdgePainter(ArrowEdge.class, new ArrowEdgePainter <Edge>());
    theJGraphPane.setEdgePainter(ClusterEdge.class, new ClusterEdgePainter <ClusterEdge>());
View Full Code Here


       
        theJGraphPane.setNodePainter(NodeType1.class, new ShapeNodePainter(ShapeNodePainter.RECTANGLE, light_blue, dark_blue, black));
        theJGraphPane.setNodePainter(NodeType2.class, new ShapeNodePainter(ShapeNodePainter.ELLIPSE, light_red, dark_red, black));
        theJGraphPane.setNodePainter(NodeType3.class, new ShapeNodePainter(ShapeNodePainter.TRIANGLE, light_green, dark_green, black));
        theJGraphPane.setNodePainter(NodeType4.class, new ClusterNodePainter(ShapeNodePainter.ELLIPSE, light_red, dark_red, black, true, new RowImageMap()));
        theJGraphPane.setEdgePainter(LoopEdge.class, new LoopEdgePainter(gray, gray, LoopEdgePainter.CIRCULAR));
        theJGraphPane.setEdgePainter(LoopEdge2.class, new LoopEdgePainter(gray, gray, LoopEdgePainter.RECTANGULAR));
        theJGraphPane.setEdgePainter(TextEdge.class, new LineWithTextEdgePainter(gray, gray, false));
        theJGraphPane.setEdgePainter(LineEdge.class, new LineEdgePainter(gray, gray, true));
        theJGraphPane.setEdgePainter(ArrowEdge.class, new ArrowEdgePainter <Edge>());
        theJGraphPane.setEdgePainter(ClusterEdge.class, new ClusterEdgePainter <ClusterEdge>());
        theJGraphPane.setDefaultEdgePainter(new LineEdgePainter(gray, gray, false));
View Full Code Here

TOP

Related Classes of net.sourceforge.jpowergraph.painters.edge.LoopEdgePainter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.