Class ::xowiki::TreeRenderer

::xowiki::TreeRenderer[i] create ... \
           [ -highlight_atts (default ""style = 'font-weight:bold;'"") ] \
           [ -li_expanded_atts (default "") ] \
           [ -subtree_wrapper_class subtree_wrapper_class ]

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xotcl::Class[i]
::xotcl::Class create ::xowiki::TreeRenderer \
     -superclass ::xotcl::Class

Methods (to be applied on instances)

  • get_property (scripted)

    set value $default
    if {[dict exists $properties $property]} {
      set value [dict get $properties $property]
    }
    return $value
  • highlight_atts (setter)

  • include_head_entries (scripted)

    # to be overloaded
  • li_expanded_atts (setter)

  • render (scripted)

    set content ""
    foreach c [$tree children] {append content [$c render] \n}
    return $content
  • subtree_wrapper_class (setter)