Class CartAttFormsImpl

  • All Implemented Interfaces:
    Cart, EnumCartProperties, GuiElement

    public class CartAttFormsImpl
    extends CartImpl
    Implementation of the Cart used for the attribute forms editor Title: CartAttFormsImpl
    Since:
    MicroStrategy Web 8.0.0
    • Constructor Detail

      • CartAttFormsImpl

        public CartAttFormsImpl()
    • Method Detail

      • initializeCart

        public void initializeCart()
        InitializeCart, for initializing all Cart properties to default values.
        Specified by:
        initializeCart in interface Cart
        Overrides:
        initializeCart in class CartImpl
      • renderSelected

        public void renderSelected​(MarkupOutput out,
                                   CartElements items)
        Description copied from class: CartImpl
        This function will display selected list of units defined in CartElements collection. It'll abstract what format to be used for rendering selected list.
        Specified by:
        renderSelected in interface Cart
        Overrides:
        renderSelected in class CartImpl
        Parameters:
        out - where to write the output of the method..
        items - collection of CartElements to be displayed.
      • renderAvailable

        public void renderAvailable​(MarkupOutput out,
                                    CartElements items)
        Description copied from class: CartImpl
        This function will display available list of units defined in CartElements collection. It'll abstract what format to be used for rendering available list.
        Specified by:
        renderAvailable in interface Cart
        Overrides:
        renderAvailable in class CartImpl
        Parameters:
        out - where to write the output of the method..
        items - collection of CartElements to be displayed in available list.
      • renderCart

        public void renderCart​(MarkupOutput out,
                               CartElements availableItems,
                               CartElements selectedItems)
        Description copied from class: CartImpl
        renderCart, function that abstracts standard Cart output.
        Specified by:
        renderCart in interface Cart
        Overrides:
        renderCart in class CartImpl
        Parameters:
        out - where to write the output of the method.
        availableItems - enumeration of all available items
        selectedItems - enumeration of all selected items
      • getRemoveTitle

        protected java.lang.String getRemoveTitle()
        Overrides:
        getRemoveTitle in class CartImpl
        Returns:
        The title used for the remove button
        Since:
        MicroStrategy Web 9.0.0
      • getAddTitle

        protected java.lang.String getAddTitle()
        Overrides:
        getAddTitle in class CartImpl
        Returns:
        The title used for the add button
        Since:
        MicroStrategy Web 9.0.0
      • getUpTitle

        protected java.lang.String getUpTitle()
        Overrides:
        getUpTitle in class CartImpl
        Returns:
        The title used for the up button
        Since:
        MicroStrategy Web 9.0.0
      • getDownTitle

        protected java.lang.String getDownTitle()
        Overrides:
        getDownTitle in class CartImpl
        Returns:
        The title used for the down button
        Since:
        MicroStrategy Web 9.0.0