(node-changed tree-model node-path)
Fire a node changed event. parent-path is the path to the parent of the changed node. child is the changed node.
Fire this event if the appearance of a node has changed in any way.
See: (seesaw.tree/nodes-changed) (seesaw.tree/simple-tree-model)
Fire a node changed event. parent-path is the path to the parent of the changed node. child is the changed node. Fire this event if the appearance of a node has changed in any way. See: (seesaw.tree/nodes-changed) (seesaw.tree/simple-tree-model)
(node-inserted tree-model node-path)
Fire a node insertion event. parent-path is the path to the parent of the newly inserted child. child is the newly inserted node.
See: (seesaw.tree/nodes-inserted) (seesaw.tree/simple-tree-model)
Fire a node insertion event. parent-path is the path to the parent of the newly inserted child. child is the newly inserted node. See: (seesaw.tree/nodes-inserted) (seesaw.tree/simple-tree-model)
(node-removed tree-model parent-path index child)
Fire a node removed event on a tree model created with (simple-tree-model). parent-path is the path to the parent node, index is the index of the removed node and child is the removed node.
See: (seesaw.tree/nodes-removed) (seesaw.tree/simple-tree-model)
Fire a node removed event on a tree model created with (simple-tree-model). parent-path is the path to the parent node, index is the index of the removed node and child is the removed node. See: (seesaw.tree/nodes-removed) (seesaw.tree/simple-tree-model)
(node-structure-changed tree-model node-path)
Fire a node structure changed event on a tree model created with (simple-tree-model). node-path is the sequence of nodes from the model root to the node whose structure changed.
Call this when the entire structure under a node has changed.
See: (seesaw.tree/simple-tree-model)
Fire a node structure changed event on a tree model created with (simple-tree-model). node-path is the sequence of nodes from the model root to the node whose structure changed. Call this when the entire structure under a node has changed. See: (seesaw.tree/simple-tree-model)
(nodes-changed tree-model parent-path children)
Fire a node changed event. parent-path is the path to the parent of the changed children. children is the changed nodes.
Fire this event if the appearance of a node has changed in any way.
See: (seesaw.tree/node-changed) (seesaw.tree/simple-tree-model)
Fire a node changed event. parent-path is the path to the parent of the changed children. children is the changed nodes. Fire this event if the appearance of a node has changed in any way. See: (seesaw.tree/node-changed) (seesaw.tree/simple-tree-model)
(nodes-inserted tree-model parent-path children)
Fire a node insertion event. parent-path is the path to the parent of the newly inserted children. children is the newly inserted nodes.
See: (seesaw.tree/node-inserted) (seesaw.tree/simple-tree-model)
Fire a node insertion event. parent-path is the path to the parent of the newly inserted children. children is the newly inserted nodes. See: (seesaw.tree/node-inserted) (seesaw.tree/simple-tree-model)
(nodes-removed tree-model parent-path indices children)
Fire a node removed event on a tree model created with (simple-tree-model). parent-path is the path to the parent node, indices is a seq of the indices of the removed nodes and children is a seq of the removed nodes.
See: (seesaw.tree/simple-tree-model) (seesaw.tree/node-removed)
Fire a node removed event on a tree model created with (simple-tree-model). parent-path is the path to the parent node, indices is a seq of the indices of the removed nodes and children is a seq of the removed nodes. See: (seesaw.tree/simple-tree-model) (seesaw.tree/node-removed)
(simple-tree-model branch? children root)
Create a simple, read-only TreeModel for use with seesaw.core/tree. The arguments are the same as clojure.core/tree-seq. Changes to the underlying model can be reported with the various node-xxx event functions in seesaw.tree.
See: http://docs.oracle.com/javase/6/docs/api/javax/swing/tree/TreeModel.html
Create a simple, read-only TreeModel for use with seesaw.core/tree. The arguments are the same as clojure.core/tree-seq. Changes to the underlying model can be reported with the various node-xxx event functions in seesaw.tree. See: http://docs.oracle.com/javase/6/docs/api/javax/swing/tree/TreeModel.html
(fire-event* this event-type event)
Dispatches a TreeModelEvent to all model listeners. event-type is one of :tree-nodes-changed, :tree-nodes-inserted, :tree-nodes-removed or :tree-structure-changed. Note, do not use this function directly. Instead use one of the helper functions in (seesaw.tree).
Dispatches a TreeModelEvent to all model listeners. event-type is one of :tree-nodes-changed, :tree-nodes-inserted, :tree-nodes-removed or :tree-structure-changed. Note, do not use this function directly. Instead use one of the helper functions in (seesaw.tree).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close