     PREV: 'previous'
     NEXT: 'next'
     RESULT: 'result'
+    RESULT_NUMBER: 'result-number'
+    RESULT_CAPTION: 'result-caption'
     RESULT_TOTAL: 'result-total'
     RESULT_DISPLAYED: 'result-displayed'
     PAGING: 'paging'

    @return {Array}
  ###
  composeDisplayedResult: (paginator) =>
    [@resultPatterns[1], @resultFrom(paginator), @resultTo(paginator)]

  ###*
    @protected


  ###*
    @protected
    @param {wzk.dom.Dom} dom
    @param {string} cls
    @param {Element} resultEl
    @param {number} i
    @param {Array} results
  ###
  fetchResultText: (dom, cls, resultEl, i, results) ->
    return if @isPatternSet[i]

    el = dom.cls cls, resultEl
    txt = ''
    if el?
      txt = dom.getTextContent el

    results[i] = txt if txt? and txt isnt ''
    @isPatternSet[i] = true

  ###*
    @param {wzk.ui.Component} paginator
    @param {Element} el
  ###
  decorate: (paginator, el) ->
    dom = (`/** @type {wzk.dom.Dom} */`) paginator.getDomHelper()
    C = wzk.ui.grid.PaginatorRenderer.CLASSES

    for resultEl, i in [dom.cls(C.RESULT_TOTAL, el), dom.cls(C.RESULT_DISPLAYED, el)]
      if resultEl?

        @fetchResultText dom, C.RESULT_CAPTION, resultEl, i, wzk.ui.grid.PaginatorRenderer.RESULT_CAPTION
        @fetchResultText dom, C.RESULT_NUMBER, resultEl, i, wzk.ui.grid.PaginatorRenderer.RESULT_NUMBER

        numberEl = dom.cls C.RESULT_NUMBER, resultEl
        if numberEl?
          @decorateResult paginator, numberEl, @composeResult(paginator, @resultComposers[i])

    @pagingStyle = goog.dom.dataset.get el, wzk.ui.grid.PaginatorRenderer.DATA.PAGING
    pagination = dom.cls(C.PAGINATION, el) ? el
