1.3.0 permalink Arrow_down_16x16

inspect-tree

clojure.inspector

  • (inspect-tree data)
creates a graphical (Swing) inspector on the supplied hierarchical 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:87 top

(defn inspect-tree 
  "creates a graphical (Swing) inspector on the supplied hierarchical data"
  {:added "1.0"}
  [data]
  (doto (JFrame. "Clojure Inspector")
    (.add (JScrollPane. (JTree. (tree-model data))))
    (.setSize 400 600)
    (.setVisible true)))
Vars in clojure.inspector/inspect-tree:
Used in 0 other vars

Comments top

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