Package com.microstrategy.web.app.gui
Class IncrementalFetchImpl
- java.lang.Object
-
- com.microstrategy.web.app.gui.AbstractGuiElement
-
- com.microstrategy.web.app.gui.IncrementalFetchImpl
-
- All Implemented Interfaces:
GuiElement,IncrementalFetch
public class IncrementalFetchImpl extends AbstractGuiElement implements IncrementalFetch
IncrementalFetchImpl abstraction it renders an HMTL output for Incremental fetch functionality.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microstrategy.web.app.gui.IncrementalFetch
IncrementalFetch.IncrementalFetchDetails
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
_appContext, _name, _webComponent
-
-
Constructor Summary
Constructors Constructor Description IncrementalFetchImpl()IncrementalFetchImpl constructor, initialize all Incremental fetch properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventManagergetEventManager()get event manager for this gui elementIncrementalFetch.IncrementalFetchDetailsgetIncrementalFetchDetails()Utility method to get access to incremental fetch information, such as current element index viewed, how many are left, total number of elements, etc.java.lang.ObjectgetProperty(java.lang.String key)Function for getting the key associated property value.java.lang.StringgetTargetBoneName()voidinitializeIncrementalFetch()initializeIncrementalFetch, for initializing all Incremental Fetch properties to default values.MarkupOutputrenderElement()Function that returns an instance of MarkupOutput class.voidrenderFirstPageArrow(MarkupOutput out)Renders the arrow that will allow navigation to the first page of the result set being examined.voidrenderIncrementalFetch(MarkupOutput out)Function that renders whole incremental fetch HTML section.voidrenderLastPageArrow(MarkupOutput out)Renders the arrow that will allow navigation to the last page of the result set being examined.voidrenderNextPageArrow(MarkupOutput out)Renders the arrow that will allow navigation to the next page of the results being examined.voidrenderNextPageSetArrow(MarkupOutput out)Renders the arrow that will allow navigation to the next page set of the results being examined.voidrenderPostContent(MarkupOutput out)Renders any other content that should be displayed after whatIncrementalFetch.renderTextContent(MarkupOutput)generatesvoidrenderPreContent(MarkupOutput out)Renders any other content that should be displayed before whatIncrementalFetch.renderTextContent(MarkupOutput)generatesvoidrenderPreviousPageArrow(MarkupOutput out)Renders the arrow that will allow navigation to the previous page of the results being examined.voidrenderPreviousPageSetArrow(MarkupOutput out)Renders the arrow that will allow navigation to the previous page set of the results being examined.voidrenderTextContent(MarkupOutput out)Renders the content of the incremental fetch that is to be rendered in between the arrows for element navigation.voidsetProperty(java.lang.String key, java.lang.Object obj)Function for setting any Incremental fetch property.voidsetTargetBoneName(java.lang.String name)Set the name of the bone who will be tracking the filter on selection check boxes trough the pagesjava.lang.StringtoString()Function for returning the class name-
Methods inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
getAppContext, getDescriptor, getDescriptor, getDescriptor, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getTagsFactory, getUseIFrame, getWebComponent, isDhtml, isIFrameEnabled, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, renderElement, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame, setWebComponent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.app.gui.GuiElement
getAppContext, getDescriptor, getDescriptor, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getUseIFrame, getWebComponent, renderElement, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame, setWebComponent
-
-
-
-
Method Detail
-
setTargetBoneName
public void setTargetBoneName(java.lang.String name)
Description copied from interface:IncrementalFetchSet the name of the bone who will be tracking the filter on selection check boxes trough the pages- Specified by:
setTargetBoneNamein interfaceIncrementalFetch
-
getTargetBoneName
public java.lang.String getTargetBoneName()
-
initializeIncrementalFetch
public void initializeIncrementalFetch()
initializeIncrementalFetch, for initializing all Incremental Fetch properties to default values.- Specified by:
initializeIncrementalFetchin interfaceIncrementalFetch
-
renderElement
public MarkupOutput renderElement()
Function that returns an instance of MarkupOutput class. This instance is used for rendering HTML output- Specified by:
renderElementin interfaceGuiElement- Specified by:
renderElementin classAbstractGuiElement- Returns:
- MarkupOutput where to write output
-
getEventManager
public EventManager getEventManager()
Description copied from class:AbstractGuiElementget event manager for this gui element- Specified by:
getEventManagerin interfaceGuiElement- Overrides:
getEventManagerin classAbstractGuiElement- Returns:
- the
EventManagerobject - Since:
- MicroStrategy Web 9.0.0
-
renderTextContent
public void renderTextContent(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders the content of the incremental fetch that is to be rendered in between the arrows for element navigation. For example:1 2 3 4 5 of 12 pagesor1 of 12 pages- Specified by:
renderTextContentin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
renderFirstPageArrow
public void renderFirstPageArrow(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders the arrow that will allow navigation to the first page of the result set being examined. Typically, the image it will show will be similar to|<- Specified by:
renderFirstPageArrowin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
renderPreviousPageArrow
public void renderPreviousPageArrow(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders the arrow that will allow navigation to the previous page of the results being examined. Typically, the image it will show will be similar to<- Specified by:
renderPreviousPageArrowin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
renderPreviousPageSetArrow
public void renderPreviousPageSetArrow(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders the arrow that will allow navigation to the previous page set of the results being examined. Typically, the image it will show will be similar to<<- Specified by:
renderPreviousPageSetArrowin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
renderNextPageArrow
public void renderNextPageArrow(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders the arrow that will allow navigation to the next page of the results being examined. Typically, the image it will show will be similar to>- Specified by:
renderNextPageArrowin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
renderNextPageSetArrow
public void renderNextPageSetArrow(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders the arrow that will allow navigation to the next page set of the results being examined. Typically, the image it will show will be similar to>>- Specified by:
renderNextPageSetArrowin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
renderLastPageArrow
public void renderLastPageArrow(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders the arrow that will allow navigation to the last page of the result set being examined. Typically, the image it will show will be similar to>|- Specified by:
renderLastPageArrowin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
renderIncrementalFetch
public void renderIncrementalFetch(MarkupOutput out)
Function that renders whole incremental fetch HTML section. Calculations are performed for obtaining corresponding block begin.- Specified by:
renderIncrementalFetchin interfaceIncrementalFetch- Parameters:
out- where to write the output of the method.
-
renderPreContent
public void renderPreContent(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders any other content that should be displayed before whatIncrementalFetch.renderTextContent(MarkupOutput)generates- Specified by:
renderPreContentin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
renderPostContent
public void renderPostContent(MarkupOutput out)
Description copied from interface:IncrementalFetchRenders any other content that should be displayed after whatIncrementalFetch.renderTextContent(MarkupOutput)generates- Specified by:
renderPostContentin interfaceIncrementalFetch- Parameters:
out-MarkupOutputinstance where the HTML contents generated will be saved.- Since:
- MicroStrategy Web 9.0.0
-
setProperty
public void setProperty(java.lang.String key, java.lang.Object obj)Function for setting any Incremental fetch property.- Specified by:
setPropertyin interfaceIncrementalFetch- Parameters:
key- string value defining the index of property.obj- object value.
-
getProperty
public java.lang.Object getProperty(java.lang.String key)
Function for getting the key associated property value.- Specified by:
getPropertyin interfaceIncrementalFetch- Parameters:
key- property name- Returns:
- Object property value
-
getIncrementalFetchDetails
public IncrementalFetch.IncrementalFetchDetails getIncrementalFetchDetails()
Description copied from interface:IncrementalFetchUtility method to get access to incremental fetch information, such as current element index viewed, how many are left, total number of elements, etc.- Specified by:
getIncrementalFetchDetailsin interfaceIncrementalFetch- Returns:
IncrementalFetch.IncrementalFetchDetailsinstance from where information about the incremental fetch can be obtained- Since:
- MicroStrategy Web 9.0.0
-
toString
public java.lang.String toString()
Function for returning the class name- Overrides:
toStringin classjava.lang.Object- Returns:
- String class name
-
-