BestSolution.at public p2 repository
XGridContentProvider
at.bestsolution.framework.grid

Interface XGridContentProvider<R>

  • Type Parameters:
    R - the content type
    All Known Implementing Classes:
    ListGridContentProvider


    public interface XGridContentProvider<R>
    Provides the content to the grid
    Since:
    1.0
    • Method Detail

      • size

        int size()
        Returns:
        the size
      • getElementAt

        R getElementAt(int index)
                throws java.lang.IndexOutOfBoundsException
        Retrieve the element at the given index
        Parameters:
        index - the index
        Returns:
        the element
        Throws:
        java.lang.IndexOutOfBoundsException - if index is negative or index >= size()