com.vaadin.client.widgets.
Class Escalator.SubPartArguments
- java.lang.Object
-
- com.vaadin.client.widgets.Escalator.SubPartArguments
-
-
Method Summary
All Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getType
public String getType()
Returns type of the element, e.g. "header", "cell", or "spacer".
Returns:
type
-
getIndicesLength
public int getIndicesLength()
Returns how many indices there are within these arguments.
Returns:
index count
-
getIndex
public int getIndex(int i)
Returns the indicated index within the indices array.
Parameters:
i
- the index of the required member of the indices arrayReturns:
the indicated index
-
getIndices
public int[] getIndices()
Returns indices that define which particular element is being targeted. If the array is empty, the target is the row container itself.
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.
Returns:
array of indices
-
-