Class DivBasedCartImpl

    • Constructor Detail

      • DivBasedCartImpl

        public DivBasedCartImpl()
    • Method Detail

      • generateShellDivAttributes

        protected java.util.Map generateShellDivAttributes()
      • renderGenericCart

        protected void renderGenericCart​(MarkupOutput out,
                                         java.lang.Object availableItems,
                                         java.lang.Object selectedItems)
        Overrides:
        renderGenericCart in class CartImpl
      • renderSearch

        public void renderSearch​(MarkupOutput out)
        Description copied from class: CartImpl
        Function that abstracts HTML output for search section.
        Specified by:
        renderSearch in interface Cart
        Overrides:
        renderSearch in class CartImpl
        Parameters:
        out - where to write the output of the method.
      • renderClearSearch

        public void renderClearSearch​(MarkupOutput out)
      • setBoneProperties

        protected void setBoneProperties​(JsonGenerator properties)
      • 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.
      • 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.