You're viewing version 1.2.0 of tree-model. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

tree-model

clojure.inspector

  • (tree-model data)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/inspector.clj:52 top

(defn tree-model [data]
  (proxy [TreeModel] []
    (getRoot [] data)
    (addTreeModelListener [treeModelListener])
    (getChild [parent index]
      (get-child parent index))
    (getChildCount [parent]
       (get-child-count parent))
    (isLeaf [node]
      (is-leaf node))
    (valueForPathChanged [path newValue])
    (getIndexOfChild [parent child]
      -1)
    (removeTreeModelListener [treeModelListener])))
Vars in clojure.inspector/tree-model: defn proxy
Used in 0 other vars

Comments top

No comments for tree-model. Log in to add a comment.