This class represents a single partition cell, i.e., a pair consisting of a row and a column.
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.PartitionCellIdEntry
Properties
Gets the ColumnDescriptor associated with this partition cell.
Gets the RowDescriptor associated with this partition cell.
Methods
Compares this PartitionCellIdEntry instance with a given other PartitionCellIdEntry instance.
Remarks
The comparison is based on the indices of the rows and columns of the two pairs. A PartitionCellIdEntry is considered to be smaller than another pair if its row index is smaller than the row index of the other pair. If the row indices are equal, the PartitionCellIdEntry with the smaller column index is said to be smaller. Hence, two PartitionCellIdEntry instances are equal, if the row and column indices are equal.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- o - Object
- the PartitionCellIdEntry to be compared
Returns
- ↪number
-1
,0
or1
if this PartitionCellIdEntry is smaller than, equal to, or greater than the given other PartitionCellIdEntry instance
Implements
Compares this PartitionCellIdEntry instance with a given other PartitionCellIdEntry instance based on their associated ColumnDescriptor and RowDescriptor instances.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- o - Object
- the given PartitionCellIdEntry instance
Returns
- ↪boolean
true
if the two objects are equal,false
otherwise
Returns the hash code value for this PartitionCellIdEntry instance.
Returns
- ↪number
- the hash code value for this PartitionCellIdEntry instance