public final class TextPropertyDescriptor extends PropertyDescriptor<TextPropertyDescriptor.TextPropertyDescriptorBuilder>
read-only
, text properties can be useful for displaying information to the designer.
State Value: String
Modifier and Type | Class and Description |
---|---|
static class |
TextPropertyDescriptor.TextPropertyDescriptorBuilder
Builder for the
text property descriptor |
Modifier and Type | Field and Description |
---|---|
static String |
HAS_TRANSIENT_CHOICES |
static String |
IS_MASKED |
CHOICES, data, DESCRIPTION, DISPLAY_HINT, INSTRUCTION_TEXT, IS_EXPRESSIONABLE, IS_HIDDEN, IS_IMPORT_CUSTOMIZABLE, IS_READ_ONLY, IS_REQUIRED, KEY, LABEL, PLACEHOLDER, REFRESH, TYPE_NAME
Modifier and Type | Method and Description |
---|---|
static TextPropertyDescriptor.TextPropertyDescriptorBuilder |
builder()
Builder for the
text property descriptor |
protected PropertyDescriptorBuilder |
getBuilder() |
List<Choice> |
getChoices()
If choices are provided, the property appears as a dropdown to the user.
|
boolean |
hasTransientChoices()
If the field is marked as transient the available choices options would be removed when the object is saved.
|
boolean |
isMasked()
Whether the property's value will be masked in the UI.
|
getDescription, getDisplayHint, getInstructionText, getKey, getLabel, getPlaceholder, getRefresh, getTypeRef, isExpressionable, isHidden, isImportCustomizable, isReadOnly, isRequired, toString, update
public static final String IS_MASKED
public static final String HAS_TRANSIENT_CHOICES
public boolean isMasked()
public List<Choice> getChoices()
If you expect more than 100 choices, it is recommended to use TextPropertyDescriptor.TextPropertyDescriptorBuilder.transientChoices(boolean)
.
public boolean hasTransientChoices()
public static TextPropertyDescriptor.TextPropertyDescriptorBuilder builder()
Builder for the text property descriptor
protected PropertyDescriptorBuilder getBuilder()
getBuilder
in class PropertyDescriptor<TextPropertyDescriptor.TextPropertyDescriptorBuilder>
Copyright © 2018-present Appian Corporation. All Rights Reserved.