summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gilbert <david.gilbert@object-refinery.com>2006-03-03 11:33:47 +0000
committerDavid Gilbert <david.gilbert@object-refinery.com>2006-03-03 11:33:47 +0000
commitd87febd87e0d2c915c6fd5962474863a8d2f42bc (patch)
treecf38567f58e89aa940dd5aa29e5792055c0dd249
parent43f05e8d0efc20bc0ba6398fde08a32368befd0a (diff)
downloadclasspath-d87febd87e0d2c915c6fd5962474863a8d2f42bc.tar.gz
006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractListModel.java: (AbstractListModel): Added API docs, (fireContentsChanged): Minor API doc correction, (fireIntervalAdded): Likewise, (fireIntervalRemoved): Likewise.
-rw-r--r--ChangeLog8
-rw-r--r--javax/swing/AbstractListModel.java11
2 files changed, 15 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f039e4c5..31a9d95c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/AbstractListModel.java:
+ (AbstractListModel): Added API docs,
+ (fireContentsChanged): Minor API doc correction,
+ (fireIntervalAdded): Likewise,
+ (fireIntervalRemoved): Likewise.
+
2006-03-03 Roman Kennke <kennke@aicas.com>
* NEWS: Added paragraph about Swing improvements.
diff --git a/javax/swing/AbstractListModel.java b/javax/swing/AbstractListModel.java
index 8973e5292..4b89689dd 100644
--- a/javax/swing/AbstractListModel.java
+++ b/javax/swing/AbstractListModel.java
@@ -1,5 +1,5 @@
/* AbstractListModel.java --
- Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2006, Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -58,6 +58,9 @@ public abstract class AbstractListModel implements ListModel, Serializable
/** List of ListDataListeners called for each change to the list. */
protected EventListenerList listenerList;
+ /**
+ * Creates a new model instance - initialises the event listener list.
+ */
public AbstractListModel()
{
listenerList = new EventListenerList();
@@ -88,7 +91,7 @@ public abstract class AbstractListModel implements ListModel, Serializable
/**
* Call {@link ListDataListener#contentsChanged} on each element of the
* {@link #listenerList} which is a {@link ListDataListener}. The event
- * fired has type {@ListDataEvent.CONTENTS_CHANGED} and represents a
+ * fired has type {@link ListDataEvent#CONTENTS_CHANGED} and represents a
* change to the data elements in the range [startIndex, endIndex]
* inclusive.
*
@@ -110,7 +113,7 @@ public abstract class AbstractListModel implements ListModel, Serializable
/**
* Call {@link ListDataListener#intervalAdded} on each element of the
* {@link #listenerList} which is a {@link ListDataListener}. The event
- * fired has type {@ListDataEvent.INTERVAL_ADDED} and represents an
+ * fired has type {@link ListDataEvent#INTERVAL_ADDED} and represents an
* addition of the data elements in the range [startIndex, endIndex]
* inclusive.
*
@@ -132,7 +135,7 @@ public abstract class AbstractListModel implements ListModel, Serializable
/**
* Call {@link ListDataListener#intervalRemoved} on each element of the
* {@link #listenerList} which is a {@link ListDataListener}. The event
- * fired has type {@ListDataEvent.INTERVAL_REMOVED} and represents a
+ * fired has type {@link ListDataEvent#INTERVAL_REMOVED} and represents a
* removal of the data elements in the range [startIndex, endIndex]
* inclusive.
*