|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeColumn
Column is the header of a data column. It belongs to an 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
Method Summary | |
---|---|
java.lang.Object |
getDefaultValue()
Returns the default value for this column. |
java.lang.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. |
java.lang.String |
getTitle()
Returns the title of this column. |
AttributeType |
getType()
Returns the type of this column content. |
Method Detail |
---|
AttributeType getType()
java.lang.String getTitle()
Id
of this column.
Id
otherwiseint getIndex()
AttributeTable
or manipulate
AttributeRow
.
AttributeTable.getColumn(int)
,
AttributeRow.getValue(int)
AttributeOrigin getOrigin()
AttributeOrigin.DATA
.
java.lang.String getId()
java.lang.Object getDefaultValue()
null
.
The returned Object
class type is equal to the class obtained
with AttributeType.getType()
.
null
AttributeValueDelegateProvider getProvider()
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |