Class TreeCartImpl

    • Constructor Detail

      • TreeCartImpl

        public TreeCartImpl()
    • Method Detail

      • 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
      • renderCart

        public void renderCart​(MarkupOutput out,
                               java.util.Enumeration availableItems,
                               java.util.Enumeration 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
      • 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)
      • generateJavaScript

        protected void generateJavaScript​(MarkupOutput out)
      • renderJavaScriptLinks

        public void renderJavaScriptLinks​(MarkupOutput out)
      • 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.
      • newTreeView

        protected TreeView newTreeView()