public class

DivBasedCartImpl

extends CartImpl
java.lang.Object
   ↳ com.microstrategy.web.app.gui.AbstractGuiElement
     ↳ com.microstrategy.web.app.gui.CartImpl
       ↳ com.microstrategy.web.app.gui.DivBasedCartImpl

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.web.app.gui.EnumCartProperties
[Expand]
Inherited Fields
From class com.microstrategy.web.app.gui.AbstractGuiElement
Public Constructors
DivBasedCartImpl()
Public Methods
String getName()
get the name of the gui element
void renderAvailable(MarkupOutput out, CartElements items)
This function will display available list of units defined in CartElements collection.
void renderClearSearch(MarkupOutput out)
void renderSearch(MarkupOutput out)
Function that abstracts HTML output for search section.
void renderSelected(MarkupOutput out, CartElements items)
This function will display selected list of units defined in CartElements collection.
Protected Methods
Map generateShellDivAttributes()
ClientSideHelper getClientSideHelper()
void renderGenericCart(MarkupOutput out, Object availableItems, Object selectedItems)
void setBoneProperties(JsonGenerator properties)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.gui.CartImpl
From class com.microstrategy.web.app.gui.AbstractGuiElement
From class java.lang.Object
From interface com.microstrategy.web.app.gui.Cart
From interface com.microstrategy.web.app.gui.GuiElement

Public Constructors

public DivBasedCartImpl ()

Public Methods

public String getName ()

get the name of the gui element

Returns
  • the name

public void renderAvailable (MarkupOutput out, CartElements items)

This function will display available list of units defined in CartElements collection. It'll abstract what format to be used for rendering available list.

Parameters
out where to write the output of the method..
items collection of CartElements to be displayed in available list.

public void renderClearSearch (MarkupOutput out)

public void renderSearch (MarkupOutput out)

Function that abstracts HTML output for search section.

Parameters
out where to write the output of the method.

public void renderSelected (MarkupOutput out, CartElements items)

This function will display selected list of units defined in CartElements collection. It'll abstract what format to be used for rendering selected list.

Parameters
out where to write the output of the method..
items collection of CartElements to be displayed.

Protected Methods

protected Map generateShellDivAttributes ()

protected ClientSideHelper getClientSideHelper ()

protected void renderGenericCart (MarkupOutput out, Object availableItems, Object selectedItems)

protected void setBoneProperties (JsonGenerator properties)