API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.event. ListDataEvent View Source
Author(s)
Hans Muller
Since
Version
1.19 11/17/05
Serial
Hierarchy
 Object
      EventObject
          ListDataEvent
Implements
Subclasses
Description
public class ListDataEvent
  Defines an event that encapsulates changes to a list.
See also:   
Constructors
public ListDataEvent (Object source, int type, int index0, int index1)
  Constructs a ListDataEvent object.
Methods
Hide/Show inherited methods
public int getIndex0 ()
  Returns the lower index of the range.
public int getIndex1 ()
  Returns the upper index of the range.
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
public int getType ()
  Returns the event type.
public String toString () [Overrides EventObject]
  Returns a string representation of this ListDataEvent.
Fields
Hide/Show inherited fields
publicfinalstatic int CONTENTS_CHANGED = "0"
Identifies one or more changes in the lists contents.
publicfinalstatic int INTERVAL_ADDED = "1"
Identifies the addition of one or more contiguous items to the list
publicfinalstatic int INTERVAL_REMOVED = "2"
Identifies the removal of one or more contiguous items from the list
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar