Gephi Toolkit Javadoc

org.gephi.data.attributes.api
Interface AttributeRowFactory


public interface AttributeRowFactory

Factory which is building exclusively AttributeRow. It can be get from the AttributeModel.rowFactory().

Author:
Mathieu Bastian

Method Summary
 AttributeRow newEdgeRow(EdgeData edgeData)
          Returns a new row for the edge table.
 AttributeRow newGraphRow(GraphView graphView)
          Returns a new row for the graph table.
 AttributeRow newNodeRow(NodeData nodeData)
          Returns a new row for the node table.
 AttributeRow newRowForTable(java.lang.String tableName, java.lang.Object object)
          Returns a new row for the given tableName, or null if no table with this name exists.
 

Method Detail

newNodeRow

AttributeRow newNodeRow(NodeData nodeData)
Returns a new row for the node table.

Returns:
a newly created row for the node table
See Also:
AttributeModel.getNodeTable()

newEdgeRow

AttributeRow newEdgeRow(EdgeData edgeData)
Returns a new row for the edge table.

Returns:
a newly created row for the edge table
See Also:
AttributeModel.getEdgeTable()

newGraphRow

AttributeRow newGraphRow(GraphView graphView)
Returns a new row for the graph table.

Returns:
a newly created row for the graph table
See Also:
AttributeModel.getGraphTable()

newRowForTable

AttributeRow newRowForTable(java.lang.String tableName,
                            java.lang.Object object)
Returns a new row for the given tableName, or null if no table with this name exists.

Returns:
a newly created row for the given table, or null otherwise
See Also:
AttributeModel.getTable(java.lang.String)

Gephi Toolkit Javadoc