Package com.treemap

# Interface TreeMapField<N,Column>

All Known Implementing Classes:
  `AbstractTreeMapField`, `DefaultTreeMapField`, `NoTreeMapField`

@JsType public interface TreeMapField<N,Column>
This interface represent a field (or column) that can be used to retrieve data in the TreeMapModel data structure.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Column`
  `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 Details

  - ### getType

    @JsIgnore 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

    Column getIndex()
    The index of the column in the model.
    Returns:
      the index of the column