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 RWDocumentView
get(int index)
Gets aRWDocumentView
instance by index.int
getCurrentIndex()
Returns the current document view index.int
indexOf(RWDocumentView view)
Gets the index of document view.void
setCurrentIndex(int index)
Sets the current document view index.int
size()
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 aRWDocumentView
instance by index.- Parameters:
index
-- Returns:
- a
RWDocumentView
instance
-
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
-
-