public enum DisplayType extends java.lang.Enum<DisplayType>
Enum Constant and Description |
---|
BOOLEAN
Boolean field, rendered as a switch.
|
CATALOG_BROWSER
Catalog field, displayed as a catalog browser that allows user to browse and select a catalog.
|
DYNAMIC_LIST
Dynamic list field, displayed as a drop-down menu.
|
FILE
File field, displayed as a file upload field.
|
HIDDEN
Hidden field, not displayed on the form.
|
INTEGER
Integer field, rendered as a numeric text box.
|
LIST
List field, displayed as a drop-down menu with a predefined set of values.
|
LIST_WITH_OTHER
List field, displayed as a drop-down menu with a predefined set of values, with an option named "Other"
which shows a text field that allows the user to enter a new value.
|
LONG_TEXT
Long text field.
|
MEDIUM_TEXT
Medium text field.
|
OAUTH
OAuth field, displayed as an "Authorize" button that opens a new browser tab to request authorization from a third party.
|
PASSWORD
Password field
|
READ_ONLY
Read only field, displayed as non-editable text.
|
SCHEMA_BROWSER
Schema field, displayed as a schema browser that allows user to browse catalogs and schemas and select a schema.
|
TEXT
Single-line text field, such as a username or email.
|
Modifier and Type | Method and Description |
---|---|
static DisplayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayType INTEGER
public static final DisplayType BOOLEAN
public static final DisplayType HIDDEN
public static final DisplayType READ_ONLY
public static final DisplayType TEXT
public static final DisplayType MEDIUM_TEXT
public static final DisplayType LONG_TEXT
public static final DisplayType PASSWORD
public static final DisplayType LIST
public static final DisplayType LIST_WITH_OTHER
public static final DisplayType DYNAMIC_LIST
ConnectorFactory.refreshConnectorProperty()
for connectors or Connector.refreshDataSetProperty()
for data sets.public static final DisplayType FILE
public static final DisplayType CATALOG_BROWSER
Connector.getCatalogs()
.public static final DisplayType SCHEMA_BROWSER
Connector.getCatalogs()
and Connector.getSchemas()
.public static final DisplayType OAUTH
public static DisplayType[] values()
for (DisplayType c : DisplayType.values()) System.out.println(c);
public static DisplayType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null