[kaffe] CVS kaffe (dalibor): Resynced with GNU Classpath: small fix in DefaultListSelectionModel
Kaffe CVS
cvs-commits at kaffe.org
Sun Sep 12 02:33:58 PDT 2004
PatchSet 5158
Date: 2004/09/12 09:30:03
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU Classpath: small fix in DefaultListSelectionModel
2004-09-12 Dalibor Topic <robilad at kaffe.org>
* libraries/javalib/javax/swing/DefaultListSelectionModel.java:
Resynced with GNU Classpath.
2004-08-31 Michael Koch <konqueror at gmx.de>
* javax/swing/DefaultListSelectionModel.java
(fireValueChanged): Renamed from fireSelectionValueChanged,
made protected.
Members:
ChangeLog:1.2713->1.2714
libraries/javalib/javax/swing/DefaultListSelectionModel.java:1.1->1.2
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2713 kaffe/ChangeLog:1.2714
--- kaffe/ChangeLog:1.2713 Sun Sep 12 09:14:53 2004
+++ kaffe/ChangeLog Sun Sep 12 09:30:03 2004
@@ -1,5 +1,16 @@
2004-09-12 Dalibor Topic <robilad at kaffe.org>
+ * libraries/javalib/javax/swing/DefaultListSelectionModel.java:
+ Resynced with GNU Classpath.
+
+ 2004-08-31 Michael Koch <konqueror at gmx.de>
+
+ * javax/swing/DefaultListSelectionModel.java
+ (fireValueChanged): Renamed from fireSelectionValueChanged,
+ made protected.
+
+2004-09-12 Dalibor Topic <robilad at kaffe.org>
+
* libraries/javalib/java/io/VMFile.java:
Resynced with GNU Classpath.
Index: kaffe/libraries/javalib/javax/swing/DefaultListSelectionModel.java
diff -u kaffe/libraries/javalib/javax/swing/DefaultListSelectionModel.java:1.1 kaffe/libraries/javalib/javax/swing/DefaultListSelectionModel.java:1.2
--- kaffe/libraries/javalib/javax/swing/DefaultListSelectionModel.java:1.1 Thu Jul 22 19:37:17 2004
+++ kaffe/libraries/javalib/javax/swing/DefaultListSelectionModel.java Sun Sep 12 09:30:04 2004
@@ -264,7 +264,7 @@
{
end = i;
}
- fireSelectionValueChanged(beg, end, valueIsAdjusting);
+ fireValueChanged(beg, end, valueIsAdjusting);
}
/**
@@ -409,7 +409,7 @@
int hi = Math.max(index0, index1);
sel.set(lo, hi+1);
- fireSelectionValueChanged(lo, hi, valueIsAdjusting);
+ fireValueChanged(lo, hi, valueIsAdjusting);
}
@@ -429,7 +429,7 @@
int lo = Math.min(index0, index1);
int hi = Math.max(index0, index1);
sel.clear(lo, hi+1);
- fireSelectionValueChanged(lo, hi, valueIsAdjusting);
+ fireValueChanged(lo, hi, valueIsAdjusting);
}
/**
@@ -439,7 +439,7 @@
{
int sz = sel.size();
sel.clear();
- fireSelectionValueChanged(0, sz, valueIsAdjusting);
+ fireValueChanged(0, sz, valueIsAdjusting);
}
/**
@@ -460,7 +460,7 @@
int lo = Math.min(index0, index1);
int hi = Math.max(index0, index1);
sel.set(lo, hi+1);
- fireSelectionValueChanged(lo, hi, valueIsAdjusting);
+ fireValueChanged(lo, hi, valueIsAdjusting);
}
/**
@@ -522,8 +522,8 @@
* @param isAdjusting Whether this change is part of a seqence of adjustments
* made to the selection, such as during interactive scrolling
*/
- public void fireSelectionValueChanged(int firstIndex, int lastIndex,
- boolean isAdjusting)
+ protected void fireValueChanged(int firstIndex, int lastIndex,
+ boolean isAdjusting)
{
ListSelectionEvent evt = new ListSelectionEvent(this, firstIndex,
lastIndex, isAdjusting);
More information about the kaffe
mailing list