Package com.treemap
Class DefaultTreeMapField<N,Column,Color,Font>
java.lang.Object
com.treemap.AbstractTreeMapField<N,Column>
com.treemap.DefaultTreeMapField<N,Column,Color,Font>
- All Implemented Interfaces:
TreeMapField<N,
Column>
The default implementation of a TreeMapField.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getIndex()
The index of the column in the model.getName()
Returns the name of the field.protected TreeMapModel
getType()
Returns the most specific superclass for all the values.Returns the value for the specified row.int
hashCode()
boolean
isValid()
Indicates whether the field is valid.toString()
Methods inherited from class com.treemap.AbstractTreeMapField
isEveryValueUnique
-
Constructor Details
-
DefaultTreeMapField
-
-
Method Details
-
getType
Returns the most specific superclass for all the values.- Returns:
- the common ancestor class of the object values.
-
getName
Returns the name of the field.- Returns:
- the name of the field.
-
getValue
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
public boolean isValid()Indicates whether the field is valid.- Returns:
- true if it is valid, false otherwise.
-
toString
-
getIndex
The index of the column in the model.- Returns:
- the index of the column
-
getTreeMapModel
- Specified by:
getTreeMapModel
in classAbstractTreeMapField<N,
Column>
-
getSettings
-
equals
-
hashCode
public int hashCode()
-