Gephi Toolkit Javadoc

org.gephi.data.attributes.api
Interface AttributeValueFactory


public interface AttributeValueFactory

Factory which is building exclusively AttributeValue. It can be get from the AttributeModel.valueFactory().

Author:
Mathieu Bastian

Method Summary
 AttributeValue newValue(AttributeColumn column, java.lang.Object value)
          Returns a new cell value for the given column and value.
 

Method Detail

newValue

AttributeValue newValue(AttributeColumn column,
                        java.lang.Object value)
Returns a new cell value for the given column and value. The value can be null.

The value type should be compatible with the column type.

Parameters:
column - the column where the cell belongs
value - a compatible value, or null
Returns:
the new value for the given column

Gephi Toolkit Javadoc