Package prefuse.action.assignment

Examples of prefuse.action.assignment.FontAction


        //==== edge color action, and arrow color action
        ColorAction edgeColorAction = new ColorAction(treeEdges, VisualItem.STROKECOLOR, ColorLib.rgb(0,0,0));
        ColorAction edgeArrowAction = new ColorAction(treeEdges, VisualItem.FILLCOLOR, ColorLib.rgb(0,0,0));
       
        //==== font action, changes font when in focus group
        FontAction fonts = new FontAction(treeNodes,
                FontLib.getFont("Tahoma", 10));
        fonts.add("ingroup('_focus_')", FontLib.getFont("Tahoma", 11));
       
        // recolor
        ActionList recolor = new ActionList();
        recolor.add(nodeColor);
        recolor.add(textColor);
View Full Code Here


        m_vis.putAction( SUB_LAYOUT_ACTION, subLayout );

        // create the filtering and layout
        ActionList filter = new ActionList();
        filter.add( new ExtendedFisheyeTreeFilter( GRAPH, 2 ) );
        filter.add( new FontAction( GRAPH_NODES, FontLib.getFont( "Tahoma", 14 ) ) );
        filter.add( treeLayout );
        filter.add( subLayout );
        filter.add( textColor );
        filter.add( nodeColor );
        filter.add( edgeColor );
View Full Code Here

        AutoPanAction autoPan = new AutoPanAction();
       
        // create the filtering and layout
        ActionList filter = new ActionList();
        filter.add(new FisheyeTreeFilter(tree, 2));
        filter.add(new FontAction(treeNodes, FontLib.getFont("Tahoma", 16)));
        filter.add(treeLayout);
        filter.add(subLayout);
        filter.add(textColor);
        filter.add(nodeColor);
        filter.add(edgeColor);
View Full Code Here

        m_vis.putAction("textColor", textColor);
       
        ItemAction edgeColor = new ColorAction(treeEdges,
                VisualItem.STROKECOLOR, ColorLib.rgb(200,200,200));
       
        FontAction fonts = new FontAction(treeNodes,
                FontLib.getFont("Tahoma", 10));
        fonts.add("ingroup('_focus_')", FontLib.getFont("Tahoma", 11));
       
        // recolor
        ActionList recolor = new ActionList();
        recolor.add(nodeColor);
        recolor.add(textColor);
View Full Code Here

        ItemAction edgeColor = new ColorAction(Constants.TREE_EDGES,
                                               VisualItem.STROKECOLOR,
                                               ColorManager.EDGE_COLOR_RGB);

        FontAction fonts = new FontAction(Constants.TREE_NODES,
                                          FontLib.getFont("Tahoma", 12));
        fonts.add("ingroup('_focus_')", FontLib.getFont("Tahoma", 13));

        // recolor
        ActionList recolor = new ActionList();
        //recolor.add(new NodeColorAction());
        recolor.add(textColor);
View Full Code Here

TOP

Related Classes of prefuse.action.assignment.FontAction

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.