Liking cljdoc? Tell your friends :D

javax.swing.tree.TreeNode

Defines the requirements for an object that can be used as a tree node in a JTree.

Implementations of TreeNode that override equals will typically need to override hashCode as well. Refer to TreeModel for more information.

For further information and examples of using tree nodes, see How to Use Tree Nodes in The Java Tutorial.

Defines the requirements for an object that can be used as a
tree node in a JTree.

Implementations of TreeNode that override equals
will typically need to override hashCode as well.  Refer
to TreeModel for more information.

For further information and examples of using tree nodes,
see How to Use Tree Nodes
in The Java Tutorial.
raw docstring

childrenclj

(children this)

Returns the children of the receiver as an Enumeration.

returns: java.util.Enumeration

Returns the children of the receiver as an Enumeration.

returns: `java.util.Enumeration`
raw docstring

get-allows-children?clj

(get-allows-children? this)

Returns true if the receiver allows children.

returns: boolean

Returns true if the receiver allows children.

returns: `boolean`
raw docstring

get-child-atclj

(get-child-at this child-index)

Returns the child TreeNode at index childIndex.

child-index - int

returns: javax.swing.tree.TreeNode

Returns the child TreeNode at index
 childIndex.

child-index - `int`

returns: `javax.swing.tree.TreeNode`
raw docstring

get-child-countclj

(get-child-count this)

Returns the number of children TreeNodes the receiver contains.

returns: int

Returns the number of children TreeNodes the receiver
 contains.

returns: `int`
raw docstring

get-indexclj

(get-index this node)

Returns the index of node in the receivers children. If the receiver does not contain node, -1 will be returned.

node - javax.swing.tree.TreeNode

returns: int

Returns the index of node in the receivers children.
 If the receiver does not contain node, -1 will be
 returned.

node - `javax.swing.tree.TreeNode`

returns: `int`
raw docstring

get-parentclj

(get-parent this)

Returns the parent TreeNode of the receiver.

returns: javax.swing.tree.TreeNode

Returns the parent TreeNode of the receiver.

returns: `javax.swing.tree.TreeNode`
raw docstring

leaf?clj

(leaf? this)

Returns true if the receiver is a leaf.

returns: boolean

Returns true if the receiver is a leaf.

returns: `boolean`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close