Package com.microstrategy.web.objects
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RWDocumentViewget(int index)Gets aRWDocumentViewinstance by index.intgetCurrentIndex()Returns the current document view index.intindexOf(RWDocumentView view)Gets the index of document view.voidsetCurrentIndex(int index)Sets the current document view index.intsize()Gets the size of the document views.
-
-
-
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-
-
get
RWDocumentView get(int index)
Gets aRWDocumentViewinstance by index.- Parameters:
index-- Returns:
- a
RWDocumentViewinstance
-
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
-
-