Gephi Toolkit Javadoc

org.gephi.data.attributes.api
Interface AttributeEventData


public interface AttributeEventData

Data associated with an attribute event.

Author:
Mathieu Bastian
See Also:
AttributeEvent

Method Summary
 AttributeColumn[] getAddedColumns()
          Returns columns that have been added.
 AttributeColumn[] getRemovedColumns()
          Returns columns that have been removed.
 java.lang.Object[] getTouchedObjects()
          Returns objects where attribute values have been modified.
 AttributeValue[] getTouchedValues()
          Returns values with the SET_VALUE event.
 

Method Detail

getAddedColumns

AttributeColumn[] getAddedColumns()
Returns columns that have been added. Look at AttributeEvent.getSource() to know to which AttributeTable.

Returns:
the added columns

getRemovedColumns

AttributeColumn[] getRemovedColumns()
Returns columns that have been removed. Look at AttributeEvent.getSource() to know from which AttributeTable.

Returns:
the removed columns

getTouchedObjects

java.lang.Object[] getTouchedObjects()
Returns objects where attribute values have been modified. Objects are either NodeData or EdgeData. The index of the returned array is matching with values from getTouchedValues().

Returns:
the objects modified with the SET_VALUE event

getTouchedValues

AttributeValue[] getTouchedValues()
Returns values with the SET_VALUE event. The AttributeValue object contains the new value that has been set. The index of the array is matching with values from getTouchedObjects().

Returns:
the new values set with the SET_VALUE event.

Gephi Toolkit Javadoc