--- old/src/java.desktop/share/classes/javax/swing/text/TabStop.java 2015-04-06 22:10:17.565237758 -0700
+++ new/src/java.desktop/share/classes/javax/swing/text/TabStop.java 2015-04-06 22:10:17.409237755 -0700
@@ -59,6 +59,7 @@
* RIGHT_TAB, just includes decimal as additional character to look for.
*/
public static final int ALIGN_DECIMAL = 4;
+ /** Align bar */
public static final int ALIGN_BAR = 5;
/* Bar tabs (whatever they are) are actually a separate kind of tab
@@ -66,11 +67,17 @@
properties are mutually exclusive, so the reader treats barness
as being a kind of alignment. */
+ /** Lead none */
public static final int LEAD_NONE = 0;
+ /** Lead dots */
public static final int LEAD_DOTS = 1;
+ /** Lead hyphens */
public static final int LEAD_HYPHENS = 2;
+ /** Lead underline */
public static final int LEAD_UNDERLINE = 3;
+ /** Lead thickline */
public static final int LEAD_THICKLINE = 4;
+ /** Lead equals */
public static final int LEAD_EQUALS = 5;
/** Tab type. */
@@ -82,6 +89,7 @@
/**
* Creates a tab at position pos
with a default alignment
* and default leader.
+ * @param pos position of the tab
*/
public TabStop(float pos) {
this(pos, ALIGN_LEFT, LEAD_NONE);
@@ -90,6 +98,9 @@
/**
* Creates a tab with the specified position pos
,
* alignment align
and leader leader
.
+ * @param pos position of the tab
+ * @param align alignment of the tab
+ * @param leader leader of the tab
*/
public TabStop(float pos, int align, int leader) {
alignment = align;