public class TabStop extends Object implements Serializable
 警告:此类的序列化对象与将来的Swing版本不兼容。 当前的序列化支持适用于运行相同版本的Swing的应用程序之间的短期存储或RMI。 从1.4开始,对所有JavaBeans的长期存储的支持已被添加到java.beans包中。 请参阅XMLEncoder 。 
| Modifier and Type | Field and Description | 
|---|---|
| static int | ALIGN_BAR | 
| static int | ALIGN_CENTER
              以下选项卡中的字符将被放置,以便下一个选项卡/换行符的所有后续字符都围绕选项卡位置居中。 
             | 
| static int | ALIGN_DECIMAL
              字符以下选项卡对齐,以便下一个十进制/标签/换行符在选项卡位置,非常类似于RIGHT_TAB,只包含十进制作为要查找的附加字符。 
             | 
| static int | ALIGN_LEFT
              字符以下选项卡位于位置。 
             | 
| static int | ALIGN_RIGHT
              以下选项卡中的字符将被定位,使得所有后续字符直到下一个选项卡/换行符在位置结束。 
             | 
| static int | LEAD_DOTS | 
| static int | LEAD_EQUALS | 
| static int | LEAD_HYPHENS | 
| static int | LEAD_NONE | 
| static int | LEAD_THICKLINE | 
| static int | LEAD_UNDERLINE | 
| Constructor and Description | 
|---|
| TabStop(float pos)
              在位置 
              pos上创建一个选项卡,其中包含默认对齐方式和默认线程。 | 
| TabStop(float pos, int align, int leader)
              创建一个具有指定位置的选项卡 
              pos,对齐align和领导leader。 | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other)
              如果选项卡相等则返回true。 
             | 
| int | getAlignment()
              返回该选项卡的对齐方式(以整数形式)。 
             | 
| int | getLeader()
              返回标签的领导。 
             | 
| float | getPosition()
              返回标签的位置,作为浮点数。 
             | 
| int | hashCode()
              返回对象的hashCode。 
             | 
| String | toString()
              返回对象的字符串表示形式。 
             | 
public static final int ALIGN_LEFT
public static final int ALIGN_RIGHT
public static final int ALIGN_CENTER
public static final int ALIGN_DECIMAL
public static final int ALIGN_BAR
public static final int LEAD_NONE
public static final int LEAD_DOTS
public static final int LEAD_HYPHENS
public static final int LEAD_UNDERLINE
public static final int LEAD_THICKLINE
public static final int LEAD_EQUALS
public TabStop(float pos)
pos创建一个选项卡,具有默认对齐方式和默认领导。 
          public TabStop(float pos,
               int align,
               int leader) 
          pos ,对齐 
           align和领导 
           leader 。 
          public float getPosition()
public int getAlignment()
public int getLeader()
public boolean equals(Object other)
equals在 
            Object 
           other - 与之比较的参考对象。 
           Object.hashCode() , HashMap 
           public int hashCode()
hashCode在类 
            Object 
           Object.equals(java.lang.Object) , 
            System.identityHashCode(java.lang.Object) 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.