Examples of TupleManager


Examples of prefuse.data.tuple.TupleManager

            m_nidx = nodes.getIndex(nodeKey);
        }
       
        // set up tuple manager
        if ( m_nodeTuples == null )
            m_nodeTuples = new TupleManager(nodes, this, TableNode.class);
        m_edgeTuples = new TupleManager(edges, this, TableEdge.class);
       
        // set up node attribute optimization
        initLinkTable();
       
        // set up listening
View Full Code Here

Examples of prefuse.data.tuple.TupleManager

        m_listeners = new CopyOnWriteArrayList();
        m_columns = new ArrayList(ncols);
        m_names = new ArrayList(ncols);
        m_rows = new RowManager(this);
        m_entries = new HashMap(ncols+5);       
        m_tuples = new TupleManager(this, null, tupleType);

        if ( nrows > 0 )
            addRows(nrows);
    }
View Full Code Here

Examples of prefuse.data.tuple.TupleManager

     * @param root the Node to use as the root of the spanning tree
     */
    public SpanningTree(Graph g, Node root) {
        super(g.getNodeTable(), EDGE_SCHEMA.instantiate());
        m_backing = g;
        TupleManager etm = new TupleManager(getEdgeTable(), null,
                                            TableEdgeItem.class) {
            public Tuple getTuple(int row) {
                return m_backing.getEdge(m_table.getInt(row, SOURCE_EDGE));
            }
        };
View Full Code Here

Examples of prefuse.data.tuple.TupleManager

            m_nidx = nodes.getIndex(nodeKey);
        }
       
        // set up tuple manager
        if ( m_nodeTuples == null )
            m_nodeTuples = new TupleManager(nodes, this, TableNode.class);
        m_edgeTuples = new TupleManager(edges, this, TableEdge.class);
       
        // set up node attribute optimization
        initLinkTable();
       
        // set up listening
View Full Code Here

Examples of prefuse.data.tuple.TupleManager

        vg.setVisualization(this);
        vg.setGroup(group);
    
        addDataGroup(group, vg, graph);
       
        TupleManager ntm = new TupleManager(nt, vg, TableNodeItem.class);
        TupleManager etm = new TupleManager(et, vg, TableEdgeItem.class);
        nt.setTupleManager(ntm);
        et.setTupleManager(etm);
        vg.setTupleManagers(ntm, etm);
       
        return vg;
View Full Code Here

Examples of prefuse.data.tuple.TupleManager

        vt.setVisualization(this);
        vt.setGroup(group);
       
        addDataGroup(group, vt, tree);
       
        TupleManager ntm = new TupleManager(nt, vt, TableNodeItem.class);
        TupleManager etm = new TupleManager(et, vt, TableEdgeItem.class);
        nt.setTupleManager(ntm);
        et.setTupleManager(etm);
        vt.setTupleManagers(ntm, etm);
       
        return vt;
View Full Code Here

Examples of prefuse.data.tuple.TupleManager

     */
    public synchronized VisualTable addDecorators(
            String group, String source, Predicate filter)
    {
        VisualTable t = addDerivedTable(group,source,filter,VisualItem.SCHEMA);
        t.setTupleManager(new TupleManager(t, null, TableDecoratorItem.class));
        return t;
    }
View Full Code Here

Examples of prefuse.data.tuple.TupleManager

     */
    public synchronized VisualTable addDecorators(
            String group, String source, Predicate filter, Schema schema)
    {
        VisualTable t = addDerivedTable(group, source, filter, schema);
        t.setTupleManager(new TupleManager(t, null, TableDecoratorItem.class));
        return t;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.