Liking cljdoc? Tell your friends :D

javax.swing.event.TreeSelectionEvent

An event that characterizes a change in the current selection. The change is based on any number of paths. TreeSelectionListeners will generally query the source of the event for the new selected status of each potentially changed row.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.

An event that characterizes a change in the current
selection.  The change is based on any number of paths.
TreeSelectionListeners will generally query the source of
the event for the new selected status of each potentially
changed row.

Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing.  As of 1.4, support for long term storage
of all JavaBeans™
has been added to the java.beans package.
Please see XMLEncoder.
raw docstring

->tree-selection-eventclj

(->tree-selection-event source
                        paths
                        are-new
                        old-lead-selection-path
                        new-lead-selection-path)

Constructor.

Represents a change in the selection of a TreeSelectionModel. paths identifies the paths that have been either added or removed from the selection.

source - source of event - java.lang.Object paths - the paths that have changed in the selection - javax.swing.tree.TreePath[] are-new - boolean[] old-lead-selection-path - javax.swing.tree.TreePath new-lead-selection-path - javax.swing.tree.TreePath

Constructor.

Represents a change in the selection of a TreeSelectionModel.
 paths identifies the paths that have been either added or
 removed from the selection.

source - source of event - `java.lang.Object`
paths - the paths that have changed in the selection - `javax.swing.tree.TreePath[]`
are-new - `boolean[]`
old-lead-selection-path - `javax.swing.tree.TreePath`
new-lead-selection-path - `javax.swing.tree.TreePath`
raw docstring

added-path?clj

(added-path? this)
(added-path? this path)

Returns whether the specified path was added to the selection. A return value of true indicates the path identified by path was added to the selection. A return value of false indicates path is no longer selected. This method is only valid for the paths returned from getPaths(); invoking with a path not included in getPaths() throws an IllegalArgumentException.

path - the path to test - javax.swing.tree.TreePath

returns: true if path was added to the selection, false otherwise - boolean

throws: java.lang.IllegalArgumentException - if path is not contained in getPaths

Returns whether the specified path was added to the selection.
 A return value of true indicates the path identified by
 path was added to the selection. A return value of
 false indicates path is no longer selected. This method
 is only valid for the paths returned from getPaths(); invoking
 with a path not included in getPaths() throws an
 IllegalArgumentException.

path - the path to test - `javax.swing.tree.TreePath`

returns: true if path was added to the selection,
         false otherwise - `boolean`

throws: java.lang.IllegalArgumentException - if path is not contained in getPaths
raw docstring

clone-with-sourceclj

(clone-with-source this new-source)

Returns a copy of the receiver, but with the source being newSource.

new-source - java.lang.Object

returns: java.lang.Object

Returns a copy of the receiver, but with the source being newSource.

new-source - `java.lang.Object`

returns: `java.lang.Object`
raw docstring

get-new-lead-selection-pathclj

(get-new-lead-selection-path this)

Returns the current lead path.

returns: javax.swing.tree.TreePath

Returns the current lead path.

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

get-old-lead-selection-pathclj

(get-old-lead-selection-path this)

Returns the path that was previously the lead path.

returns: javax.swing.tree.TreePath

Returns the path that was previously the lead path.

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

get-pathclj

(get-path this)

Returns the first path element.

returns: javax.swing.tree.TreePath

Returns the first path element.

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

get-pathsclj

(get-paths this)

Returns the paths that have been added or removed from the selection.

returns: javax.swing.tree.TreePath[]

Returns the paths that have been added or removed from the
 selection.

returns: `javax.swing.tree.TreePath[]`
raw docstring

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

× close