public class

CartAttFormsImpl

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

Class Overview

Implementation of the Cart used for the attribute forms editor Title: CartAttFormsImpl

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
CartAttFormsImpl()
Public Methods
void initializeCart()
InitializeCart, for initializing all Cart properties to default values.
void renderAvailable(MarkupOutput out, CartElements items)
This function will display available list of units defined in CartElements collection.
void renderCart(MarkupOutput out, CartElements availableItems, CartElements selectedItems)
renderCart, function that abstracts standard Cart output.
void renderSelected(MarkupOutput out, CartElements items)
This function will display selected list of units defined in CartElements collection.
Protected Methods
String getAddTitle()
String getDownTitle()
String getRemoveTitle()
String getUpTitle()
[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 CartAttFormsImpl ()

Public Methods

public void initializeCart ()

InitializeCart, for initializing all Cart properties to default values.

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 renderCart (MarkupOutput out, CartElements availableItems, CartElements selectedItems)

renderCart, function that abstracts standard Cart output.

Parameters
out where to write the output of the method.
availableItems enumeration of all available items
selectedItems enumeration of all selected items

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 String getAddTitle ()

Returns
  • The title used for the add button

protected String getDownTitle ()

Returns
  • The title used for the down button

protected String getRemoveTitle ()

Returns
  • The title used for the remove button

protected String getUpTitle ()

Returns
  • The title used for the up button