public class

CartElementPickerImpl

extends CartImpl
implements CartElementPicker
java.lang.Object
   ↳ com.microstrategy.web.app.gui.AbstractGuiElement
     ↳ com.microstrategy.web.app.gui.CartImpl
       ↳ com.microstrategy.web.app.gui.CartElementPickerImpl

Class Overview

Title: CartElementPickerImpl.

Description: The class extends the CartImpl functionality and renders with the selected items of the cart as a text area as opposed to select list.

Copyright: Copyright (c) 2002

Company: Microstrategy, Inc.

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
CartElementPickerImpl()
Public Methods
void renderCart(MarkupOutput out, CartElements availableItems, String selectedText)
Function that abstracts standard Cart output.
void renderSelectedAsText(MarkupOutput out, String text)
This function will display selected list in a TextBox.
[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.CartElementPicker
From interface com.microstrategy.web.app.gui.GuiElement

Public Constructors

public CartElementPickerImpl ()

Public Methods

public void renderCart (MarkupOutput out, CartElements availableItems, String selectedText)

Function that abstracts standard Cart output.

Parameters
out where to write the output of the method.
availableItems enumeration of all available items
selectedText Text for selected CheckBox

public void renderSelectedAsText (MarkupOutput out, String text)

This function will display selected list in a TextBox. It'll abstract what format to be used for rendering selected list.

Parameters
out where to write the output of the method.
text the String to be displayed.