Interface HasIndex

  • All Known Subinterfaces:
    WithIndexMixin<SELF>
    All Known Implementing Classes:
    HeaderFooterFieldWrapper, IndexedButton

    public interface HasIndex
    Marker interface for objects having an index. It is left out for implementations to define what that index means.
    Since:
    2021-08-18
    Author:
    miki
    • Method Detail

      • getIndex

        int getIndex()
        Returns the current index of the object.
        Returns:
        Current index.
      • setIndex

        void setIndex​(int index)
        Changes the index of the object.
        Parameters:
        index - New index.