public enum ViewType extends Enum<ViewType>
Enum Constant and Description |
---|
ATTACHMENT |
ATTACHMENT_DIALOG |
AUTO |
BOOLEAN |
CODE |
DATE |
DATE_TIME |
DOWNLOAD |
HTML |
IMAGE |
IMAGE_BASE64 |
LINK |
LINK_DIALOG |
MAP |
MARKDOWN
Deprecated.
|
MOBILE_HTML |
NUMBER |
QR_CODE |
SWF |
TAB_VIEW |
TEXT |
Modifier and Type | Method and Description |
---|---|
static ViewType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Comment(value="\u6839\u636e\u8fd4\u56de\u503c\u7b49\u7279\u5f81\u81ea\u52a8\u5224\u65ad") public static final ViewType AUTO
@Comment(value="\u624b\u673a\u7aef\u65b9\u5f0f\u5c55\u793a") public static final ViewType MOBILE_HTML
@Comment(value="\u5bf9\u8bdd\u6846\u65b9\u5f0f\u6253\u5f00\u94fe\u63a5") public static final ViewType LINK_DIALOG
@Comment(value="\u5728\u65b0\u6807\u7b7e\u9875\u4e2d\u67e5\u770b\uff0c\u4e0d\u540c\u4e8e\u4e0b\u8f7d\uff0c\u7279\u6b8amime\u7c7b\u578b\u53ef\u4ee5\u5728\u7f51\u9875\u4e2d\u76f4\u63a5\u9884\u89c8\uff0c\u5982\uff1apdf,mp4,svg,png\u7b49") public static final ViewType ATTACHMENT
@Comment(value="\u5bf9\u8bdd\u6846\u65b9\u5f0f\u5c55\u793a\u9644\u4ef6") public static final ViewType ATTACHMENT_DIALOG
@Comment(value="\u663e\u793a\u4e00\u5bf9\u591a,\u5bf9\u591a\u5bf9\u6570\u636e") public static final ViewType TAB_VIEW
@Deprecated @Comment(value="markdown \u7f16\u8f91\u5668") public static final ViewType MARKDOWN
public static ViewType[] values()
for (ViewType c : ViewType.values()) System.out.println(c);
public static ViewType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.