public static enum SuperTextView.DrawableMode extends java.lang.Enum<SuperTextView.DrawableMode>
CENTER
。枚举常量和说明 |
---|
BOTTOM
正下
|
CENTER
居中
|
FILL
充满整个控件
|
LEFT
正左
|
LEFT_BOTTOM
左下
|
LEFT_TOP
左上
|
RIGHT
正右
|
RIGHT_BOTTOM
右下
|
RIGHT_TOP
右上
|
TOP
正上
|
限定符和类型 | 字段和说明 |
---|---|
int |
code |
限定符和类型 | 方法和说明 |
---|---|
static SuperTextView.DrawableMode |
valueOf(int code) |
static SuperTextView.DrawableMode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SuperTextView.DrawableMode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SuperTextView.DrawableMode LEFT
public static final SuperTextView.DrawableMode TOP
public static final SuperTextView.DrawableMode RIGHT
public static final SuperTextView.DrawableMode BOTTOM
public static final SuperTextView.DrawableMode CENTER
public static final SuperTextView.DrawableMode FILL
public static final SuperTextView.DrawableMode LEFT_TOP
public static final SuperTextView.DrawableMode RIGHT_TOP
public static final SuperTextView.DrawableMode LEFT_BOTTOM
public static final SuperTextView.DrawableMode RIGHT_BOTTOM
public static SuperTextView.DrawableMode[] values()
for (SuperTextView.DrawableMode c : SuperTextView.DrawableMode.values()) System.out.println(c);
public static SuperTextView.DrawableMode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public static SuperTextView.DrawableMode valueOf(int code)