Package org.vaadin.miki.markers
Interface WithIndexMixin<SELF extends HasIndex>
-
- Type Parameters:
SELF- This.
- All Superinterfaces:
HasIndex
- All Known Implementing Classes:
HeaderFooterFieldWrapper,IndexedButton
public interface WithIndexMixin<SELF extends HasIndex> extends HasIndex
Mixin interface for easy chaining ofHasIndex.setIndex(int).- Since:
- 2021-08-31
- Author:
- miki
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SELFwithIndex(int index)ChainsHasIndex.setIndex(int)and returns itself.
-
-
-
Method Detail
-
withIndex
default SELF withIndex(int index)
ChainsHasIndex.setIndex(int)and returns itself.- Parameters:
index- Index to set.- Returns:
- This.
- See Also:
HasIndex.setIndex(int)
-
-