Package com.treemap
Class NoTreeMapField<N,Column>
java.lang.Object
com.treemap.NoTreeMapField<N,Column>
- All Implemented Interfaces:
TreeMapField<N,Column>
Indicates that no TreeMapField is selected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetIndex()The index of the column in the model.getName()Returns the name of the field.getType()Returns the most specific superclass for all the values.Returns the value for the specified row.inthashCode()booleanIndicates whether the field only contains unique values.booleanisValid()Indicates whether the field is valid.booleanisVisual()toString()
-
Constructor Details
-
NoTreeMapField
public NoTreeMapField()
-
-
Method Details
-
getType
Description copied from interface:TreeMapFieldReturns the most specific superclass for all the values.- Specified by:
getTypein interfaceTreeMapField<N,Column> - Returns:
- the common ancestor class of the object values.
-
getName
Returns the name of the field.- Specified by:
getNamein interfaceTreeMapField<N,Column> - Returns:
- the name of the field.
-
getValue
Returns the value for the specified row.- Specified by:
getValuein interfaceTreeMapField<N,Column> - Parameters:
node- the node whose value should be queried.- Returns:
- the value Object at the specified row.
-
isVisual
public boolean isVisual() -
isValid
public boolean isValid()Indicates whether the field is valid.- Specified by:
isValidin interfaceTreeMapField<N,Column> - Returns:
- true if it is valid, false otherwise.
-
isEveryValueUnique
public boolean isEveryValueUnique()Indicates whether the field only contains unique values.- Specified by:
isEveryValueUniquein interfaceTreeMapField<N,Column> - Returns:
- true if all values are unique, false otherwise.
-
getIndex
The index of the column in the model.- Specified by:
getIndexin interfaceTreeMapField<N,Column> - Returns:
- the index of the column
-
toString
-
hashCode
public int hashCode() -
equals
-