Liking cljdoc? Tell your friends :D

javax.swing.event.ListDataEvent

Defines an event that encapsulates changes to a list.

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.

Defines an event that encapsulates changes to a list.

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

*-contents-changedclj

Static Constant.

Identifies one or more changes in the lists contents.

type: int

Static Constant.

Identifies one or more changes in the lists contents.

type: int
raw docstring

*-interval-addedclj

Static Constant.

Identifies the addition of one or more contiguous items to the list

type: int

Static Constant.

Identifies the addition of one or more contiguous items to the list

type: int
raw docstring

*-interval-removedclj

Static Constant.

Identifies the removal of one or more contiguous items from the list

type: int

Static Constant.

Identifies the removal of one or more contiguous items from the list

type: int
raw docstring

->list-data-eventclj

(->list-data-event source type index-0 index-1)

Constructor.

Constructs a ListDataEvent object. If index0 is > index1, index0 and index1 will be swapped such that index0 will always be <= index1.

source - the source Object (typically this) - java.lang.Object type - an int specifying CONTENTS_CHANGED, INTERVAL_ADDED, or INTERVAL_REMOVED - int index-0 - one end of the new interval - int index-1 - the other end of the new interval - int

Constructor.

Constructs a ListDataEvent object. If index0 is >
 index1, index0 and index1 will be swapped such that
 index0 will always be <= index1.

source - the source Object (typically this) - `java.lang.Object`
type - an int specifying CONTENTS_CHANGED, INTERVAL_ADDED, or INTERVAL_REMOVED - `int`
index-0 - one end of the new interval - `int`
index-1 - the other end of the new interval - `int`
raw docstring

get-index-0clj

(get-index-0 this)

Returns the lower index of the range. For a single element, this value is the same as that returned by getIndex1().

returns: an int representing the lower index value - int

Returns the lower index of the range. For a single
 element, this value is the same as that returned by getIndex1().

returns: an int representing the lower index value - `int`
raw docstring

get-index-1clj

(get-index-1 this)

Returns the upper index of the range. For a single element, this value is the same as that returned by getIndex0().

returns: an int representing the upper index value - int

Returns the upper index of the range. For a single
 element, this value is the same as that returned by getIndex0().

returns: an int representing the upper index value - `int`
raw docstring

get-typeclj

(get-type this)

Returns the event type. The possible values are:

CONTENTS_CHANGED INTERVAL_ADDED INTERVAL_REMOVED

returns: an int representing the type value - int

Returns the event type. The possible values are:

  CONTENTS_CHANGED
  INTERVAL_ADDED
  INTERVAL_REMOVED

returns: an int representing the type value - `int`
raw docstring

to-stringclj

(to-string this)

Returns a string representation of this ListDataEvent. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.

returns: a string representation of this ListDataEvent. - java.lang.String

Returns a string representation of this ListDataEvent. This method
 is intended to be used only for debugging purposes, and the
 content and format of the returned string may vary between
 implementations. The returned string may be empty but may not
 be null.

returns: a string representation of this ListDataEvent. - `java.lang.String`
raw docstring

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

× close