JIDE 3.5.15

com.jidesoft.treemap
Interface TreeMapField<N>

All Known Implementing Classes:
AbstractTreeMapField, DefaultTreeMapField, NoTreeMapField

public interface TreeMapField<N>

This interface represent a field (or column) that can be used to retrieve data in the TreeMapModel data structure.


Method Summary
 int getIndex()
          The index of the column in the model.
 String getName()
          Returns the name of the field.
 Class getType()
          Returns the most specific superclass for all the values.
 Object getValue(N node)
          Returns the value for the specified row.
 boolean isEveryValueUnique()
          Indicates whether the field only contains unique values.
 boolean isValid()
          Indicates whether the field is valid.
 

Method Detail

getType

Class getType()
Returns the most specific superclass for all the values.

Returns:
the common ancestor class of the object values.

getName

String getName()
Returns the name of the field.

Returns:
the name of the field.

getValue

Object getValue(N node)
Returns the value for the specified row.

Parameters:
node - the node whose value should be queried.
Returns:
the value Object at the specified row.

isValid

boolean isValid()
Indicates whether the field is valid.

Returns:
true if it is valid, false otherwise.

isEveryValueUnique

boolean isEveryValueUnique()
Indicates whether the field only contains unique values.

Returns:
true if all values are unique, false otherwise.

getIndex

int getIndex()
The index of the column in the model.

Returns:
the index of the column

JIDE 3.5.15