Package com.microstrategy.web.objects
Class RWDocumentViewsImpl
- java.lang.Object
-
- com.microstrategy.web.objects.RWDocumentViewsImpl
-
- All Implemented Interfaces:
RWDocumentViews
,java.lang.Iterable<RWDocumentView>
public class RWDocumentViewsImpl extends java.lang.Object implements RWDocumentViews
-
-
Constructor Summary
Constructors Constructor Description RWDocumentViewsImpl(com.microstrategy.web.objects.RWDefinitionImpl rwDefinitionImpl)
-
Method Summary
All Methods Instance Methods Concrete 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.java.util.Iterator<RWDocumentView>
iterator()
void
setCurrentIndex(int index)
Sets the current document view index.int
size()
Gets the size of the document views.
-
-
-
Method Detail
-
getCurrentIndex
public int getCurrentIndex()
Description copied from interface:RWDocumentViews
Returns the current document view index.- Specified by:
getCurrentIndex
in interfaceRWDocumentViews
- Returns:
- 0-based index for current document view
-
setCurrentIndex
public void setCurrentIndex(int index)
Description copied from interface:RWDocumentViews
Sets the current document view index.- Specified by:
setCurrentIndex
in interfaceRWDocumentViews
-
iterator
public java.util.Iterator<RWDocumentView> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<RWDocumentView>
-
get
public RWDocumentView get(int index)
Description copied from interface:RWDocumentViews
Gets aRWDocumentView
instance by index.- Specified by:
get
in interfaceRWDocumentViews
- Returns:
- a
RWDocumentView
instance
-
indexOf
public int indexOf(RWDocumentView view)
Description copied from interface:RWDocumentViews
Gets the index of document view.- Specified by:
indexOf
in interfaceRWDocumentViews
- Returns:
- index in the document views
-
size
public int size()
Description copied from interface:RWDocumentViews
Gets the size of the document views.- Specified by:
size
in interfaceRWDocumentViews
- Returns:
- size
-
-