public interface AttributeColumn
AttributeTable
and is the key to access data within AttributeRow.
It contains its index that may be used to get the appropriate value in the
AttributeRow values array.
For Gephi internal implementation purposes, names of columns are restricted. They can have any name
except these defined in PropertiesColumn enum.
Attribute row = ...;
for(AttributeColumn column : table.getColumns()) {
Object value = row.getValue(column);
}
AttributeRow,
AttributeTable| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue()
Returns the default value for this column.
|
String |
getId()
Returns the id of this column.
|
int |
getIndex()
Returns the index of this column.
|
AttributeOrigin |
getOrigin()
Returns the origin of this column content, meta-data that describes where
the column comes from.
|
AttributeValueDelegateProvider |
getProvider()
Returns the attribute value delegate provider.
|
AttributeTable |
getTable()
Returns the table that contains this column
|
String |
getTitle()
Returns the title of this column.
|
AttributeType |
getType()
Returns the type of this column content.
|
AttributeType getType()
String getTitle()
Id
of this column.Id otherwiseint getIndex()
AttributeTable or manipulate
AttributeRow.AttributeTable.getColumn(int),
AttributeRow.getValue(int)AttributeOrigin getOrigin()
AttributeOrigin.DATA.String getId()
Object getDefaultValue()
null.
The returned Object class type is equal to the class obtained
with AttributeType.getType().
nullAttributeValueDelegateProvider getProvider()
AttributeTable getTable()
Copyright © 2007-2012 Gephi Consortium. All Rights Reserved.