HeightRule

遗产: java.lang.Object

public class HeightRule

指定确定对象高度的规则。

字段

场地描述
AT_LEAST高度将至少为指定的高度(以磅为单位)。
AUTO高度将自动增长以容纳对象内的所有文本。
EXACTLY高度以磅为单位精确指定。
length

方法

方法描述
equals(Object arg0)
fromName(String heightRuleName)
getClass()
getName(int heightRule)
getValues()
hashCode()
notify()
notifyAll()
toString()
toString(int heightRule)
wait()
wait(long arg0)
wait(long arg0, int arg1)

AT_LEAST

public static int AT_LEAST

高度将至少为指定的高度(以磅为单位)。如果需要,它会增长以容纳对象内的所有文本。

AUTO

public static int AUTO

高度将自动增长以容纳对象内的所有文本。

EXACTLY

public static int EXACTLY

高度以磅为单位精确指定。请注意,如果文本无法放入此高度的对象内,则会被截断。

length

public static int length

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

fromName(String heightRuleName)

public static int fromName(String heightRuleName)

参数:

范围类型描述
heightRuleNamejava.lang.String

退货: 整数

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getName(int heightRule)

public static String getName(int heightRule)

参数:

范围类型描述
heightRuleint

退货: 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 heightRule)

public static String toString(int heightRule)

参数:

范围类型描述
heightRuleint

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int