Interface RWDocumentViews

  • All Superinterfaces:
    java.lang.Iterable<RWDocumentView>
    All Known Implementing Classes:
    RWDocumentViewsImpl

    public interface RWDocumentViews
    extends java.lang.Iterable<RWDocumentView>
    This is a wrapper for RW document views and its current document view index. It provides a 0-based index to access the document view.
    • Method Detail

      • getCurrentIndex

        int getCurrentIndex()
        Returns the current document view index.
        Returns:
        0-based index for current document view
      • setCurrentIndex

        void setCurrentIndex​(int index)
        Sets the current document view index.
        Parameters:
        index -
      • indexOf

        int indexOf​(RWDocumentView view)
        Gets the index of document view.
        Parameters:
        view -
        Returns:
        index in the document views
      • size

        int size()
        Gets the size of the document views.
        Returns:
        size