Liking cljdoc? Tell your friends :D

javax.swing.tree.TreeCellEditor

Adds to CellEditor the extensions necessary to configure an editor in a tree.

Adds to CellEditor the extensions necessary to configure an editor
in a tree.
raw docstring

get-tree-cell-editor-componentclj

(get-tree-cell-editor-component this tree value is-selected expanded leaf row)

Sets an initial value for the editor. This will cause the editor to stopEditing and lose any partially edited value if the editor is editing when this method is called.

Returns the component that should be added to the client's Component hierarchy. Once installed in the client's hierarchy this component will then be able to draw and receive user input.

tree - the JTree that is asking the editor to edit; this parameter can be null - javax.swing.JTree value - the value of the cell to be edited - java.lang.Object is-selected - true if the cell is to be rendered with selection highlighting - boolean expanded - true if the node is expanded - boolean leaf - true if the node is a leaf node - boolean row - the row index of the node being edited - int

returns: the component for editing - java.awt.Component

Sets an initial value for the editor.  This will cause
 the editor to stopEditing and lose any partially edited value
 if the editor is editing when this method is called.

 Returns the component that should be added to the client's
 Component hierarchy.  Once installed in the client's hierarchy
 this component will then be able to draw and receive user input.

tree - the JTree that is asking the editor to edit; this parameter can be null - `javax.swing.JTree`
value - the value of the cell to be edited - `java.lang.Object`
is-selected - true if the cell is to be rendered with selection highlighting - `boolean`
expanded - true if the node is expanded - `boolean`
leaf - true if the node is a leaf node - `boolean`
row - the row index of the node being edited - `int`

returns: the component for editing - `java.awt.Component`
raw docstring

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

× close