| Modifier and Type | Method and Description |
|---|---|
int |
getIndex(int i)
Returns the indicated index within the indices array.
|
int[] |
getIndices()
Returns indices that define which particular element is being
targeted.
|
int |
getIndicesLength()
Returns how many indices there are within these arguments.
|
String |
getType()
Returns type of the element, e.g.
|
public String getType()
public int getIndicesLength()
public int getIndex(int i)
i - the index of the required member of the indices arraypublic int[] getIndices()
result[0] - index of a row element
result[1] - column index of a cell within that row
result[2..n] - child index within the previous element
Spacer types should have exactly one index, which is for row index, and targets the spacer element of that row.
Editor types can have one index, which is for column index of a cell within the editor row. If no index is given, the target is the editor overlay itself.
Copyright © 2023 Vaadin Ltd. All rights reserved.