summaryrefslogtreecommitdiff
path: root/javax/swing/text/TabStop.java
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2005-09-13 23:44:48 +0000
committerRoman Kennke <roman@kennke.org>2005-09-13 23:44:48 +0000
commit86cbbbcafb077a1ec88266d67799846cd3391968 (patch)
tree71a53b7b6c8ea2c29aaeef32b7b206a560d4590a /javax/swing/text/TabStop.java
parent71d1cdc7ea1ad8733013dba722d93f94cef130d7 (diff)
downloadclasspath-86cbbbcafb077a1ec88266d67799846cd3391968.tar.gz
2005-09-14 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. (getContent): Made method final. (AbstractElement.dumpElement): Removed superfluous private method. (AbstractElement.dump): Made diagnostic output more speaking. * javax/swing/text/BoxView.java (paintChild): Don't allocate the child region here. (paint): Allocate the child region here instead. * javax/swing/text/ComponentView.java: Added API doc comments. * javax/swing/text/CompositeView.java (getNextVisualPositionFrom): Declared to throw BadLocationException. (getNextNorthSouthVisualPositionFrom): Likewise. (getNextEastWestVisualPositionFrom): Likewise. * javax/swing/text/DefaultCaret.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. * javax/swing/text/DefaultEditorKit.java Slight reformatting. * javax/swing/text/DefaultFormatter.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. * javax/swing/text/DefaultStyledEditorKit.java (ElementBuffer.insertUpdate): Removed unneeded statement. (ElementBuffer.insertStartTag): Attach a resolve parent to new paragraph elements. (createDefaultRoot): Attach a resolve parent to new paragraph elements. * javax/swing/text/InternationalFormatter.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. * javax/swing/text/JTextComponent.java Slight reformatting. (paramString): Added TODO comment. * javax/swing/text/SimpleAttributeSet.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. (equals): Don't require object to be SimpleAttributeSet. Allows comparing to all kinds of AttributeSets. (isEqual): Likewise. * javax/swing/text/StringContent.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. * javax/swing/text/StyleConstants.java (getBackground): Return white as default background instead of black. * javax/swing/text/StyleConstext.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. (SmallAttributeSet.equals): Don't require object to be SmallAttributeSet. Allows comparing to all kinds of AttributeSets. * javax/swing/text/StyledEditorKit.java Fixed some comments. * javax/swing/text/TabSet.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. * javax/swing/text/TabStop.java Bumped up serialVersionUIDs to JDK 1.5 compatibility. * javax/swing/text/View.java Removed unneeded import.
Diffstat (limited to 'javax/swing/text/TabStop.java')
-rw-r--r--javax/swing/text/TabStop.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/javax/swing/text/TabStop.java b/javax/swing/text/TabStop.java
index 032da8bca..56f862fda 100644
--- a/javax/swing/text/TabStop.java
+++ b/javax/swing/text/TabStop.java
@@ -41,6 +41,9 @@ import java.io.Serializable;
public class TabStop implements Serializable
{
+ /** The serialization UID (compatible with JDK1.5). */
+ private static final long serialVersionUID = -5381995917363605058L;
+
public static final int ALIGN_LEFT = 0;
public static final int ALIGN_RIGHT = 1;
public static final int ALIGN_CENTER = 2;