xotcl.wu-wien.ac.at
Begin main content
Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]

::xotcl::Class[i] ::xowiki::TreeNode

Class Hierarchy of ::xowiki::TreeNode

  • ::xotcl::Object[i]
    Meta-class:
    ::xotcl::Class[i]
    Methods for instances:
    __api_make_doc, __api_make_forward_doc, __timediff, abstract, ad_doc, ad_forward, ad_proc, appendC, arrayC, asHTML, autonameC, check, classC, cleanupC, configureC, containsC, copyC, db_0or1rowC, db_1rowC, debug, defaultmethodC, destroyC, destroy_on_cleanup, ds, evalC, existsC, extractConfigureArg, filterC, filterguardC, filtersearch, forward, hasclass, incrC, infoC, init, instvarC, invarC, isclass, ismetaclass, ismixin, isobject, istype, lappendC, log, method, mixinC, mixinguardC, moveC, msg, noinitC, objectparameter, parametercmdC, proc, procsearch, qn, requireNamespaceC, residualargsC, self, serialize, setC, set_instance_vars_defaults, show-object, substC, traceC, unknown, unsetC, uplevelC, upvarC, volatileC, vwait
    Methods to be applied on the class (in addition to the methods provided by the meta-class):
    getExitHandler, setExitHandler, unsetExitHandler
    • ::xo::OrderedComposite[i]
      Meta-class:
      ::xotcl::Class[i]
      Methods for instances:
      __compare, add, children, contains, delete, destroy, last_child, orderby, show
      Methods to be applied on the class:
      Methods provided by the meta-class
      • ::xowiki::Tree[i]
        Meta-class:
        ::xotcl::Class[i]
        Parameter for instances:
        id, name (default "")
        Methods for instances:
        add_item, add_pages, init, open_tree, render
        Methods to be applied on the class (in addition to the methods provided by the meta-class):
        include_head_entries, renderer
        • ::xowiki::TreeNode[i]
          Meta-class:
          ::xotcl::Class[i]
          Parameter for instances:
          count, expanded (default "false"), highlight (default "false"), href (default ""), label, level, li_id, object, open_requests (default "0"), owner, pos, prefix (default ""), ul_class, ul_id
          Methods for instances:
          open_tree, render, some_child_has_items
          Methods to be applied on the class:
          Methods provided by the meta-class

Class Relations

  • superclass: ::xowiki::Tree[i]
::xotcl::Class create ::xowiki::TreeNode \
     -superclass ::xowiki::Tree \
     -parameter {count {expanded false} {highlight false} {href ""} label level li_id object \
       {open_requests 0} owner pos {prefix ""} ul_class ul_id}

Methods

  • instproc open_tree

    ::375947 instproc open_tree {} {
        my open_requests 1
        my expanded true
        if {[my exists __parent]} {[my set __parent] open_tree}
      }
    
  • instproc render

    ::375947 instproc render {} {
        set content ""
        if {[my isobject [self]::items]} {
          foreach i [[self]::items children] {
            append cat_content [my render_item -highlight [$i exists open_item] $i ]
          }
          foreach c [my children] {append cat_content [$c render] \n}
          append content [my render_node -open [expr {[my open_requests]>0}] $cat_content]
        } elseif {[my open_requests]>0 || [my some_child_has_items]} {
          set cat_content ""
          foreach c [my children] {append cat_content [$c render] \n}
          append content [my render_node -open true $cat_content]
    
        }
        return $content
      }
    
  • instproc some_child_has_items

    ::375947 instproc some_child_has_items {} {
        foreach i [my children] {
          if {[my isobject ${i}::items]} {return 1}
          if {[$i some_child_has_items]} {return 1}
        }
        return 0
      }
    

Instances

::nsf::__#09[i], ::nsf::__#0R[i], ::nsf::__#0S[i], ::nsf::__#0T[i], ::nsf::__#0U[i], ::nsf::__#0V[i], ::nsf::__#0W[i], ::nsf::__#0X[i], ::nsf::__#0Y[i], ::nsf::__#0Z[i], ::nsf::__#0a[i], ::nsf::__#0b[i]

Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]