PreferredWidthType
内容
[
隐藏
]遗产: java.lang.Object
public class PreferredWidthType
指定表格或单元格的首选宽度的测量单位。
字段
场地 | 描述 |
---|---|
AUTO | 未指定首选宽度。 |
PERCENT | 使用指定的百分比测量当前项目宽度。 |
POINTS | 使用指定数量的点(1/72 英寸)测量当前项目宽度。 |
length |
方法
AUTO
public static int AUTO
未指定首选宽度。表格或单元格的实际宽度要么使用显式宽度指定,要么在显示表格时由表格布局算法自动确定,具体取决于表格自动调整设置。
PERCENT
public static int PERCENT
使用指定的百分比测量当前项目宽度。
POINTS
public static int POINTS
使用指定数量的点(1/72 英寸)测量当前项目宽度。
length
public static int length
equals(Object arg0)
public boolean equals(Object arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Object |
退货: 布尔值
fromName(String preferredWidthTypeName)
public static int fromName(String preferredWidthTypeName)
参数:
范围 | 类型 | 描述 |
---|---|---|
preferredWidthTypeName | java.lang.String |
退货: 整数
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getName(int preferredWidthType)
public static String getName(int preferredWidthType)
参数:
范围 | 类型 | 描述 |
---|---|---|
preferredWidthType | int |
退货: java.lang.字符串
getValues()
public static int[] getValues()
退货: 整数[]
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
退货: java.lang.字符串
toString(int preferredWidthType)
public static String toString(int preferredWidthType)
参数:
范围 | 类型 | 描述 |
---|---|---|
preferredWidthType | int |
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long | |
arg1 | int |