Interface CartElementPicker

  • All Superinterfaces:
    Cart, GuiElement
    All Known Implementing Classes:
    CartElementPickerImpl

    public interface CartElementPicker
    extends Cart

    Title: CartElementPicker.

    Description: Cart interface used for the Element Picker.
    It provides methods to render the selected value as a textbox as opposed to a option list.

    Copyright: Copyright (c) 2002

    Company: Microstrategy, Inc.

    Since:
    MicroStrategy Web 8.0.1
    • Method Detail

      • renderCart

        void renderCart​(MarkupOutput out,
                        CartElements availableItems,
                        java.lang.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
      • renderSelectedAsText

        void renderSelectedAsText​(MarkupOutput out,
                                  java.lang.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.