@Documented @Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Widget
Modifier and Type | Optional Element and Description |
---|---|
boolean |
copyable
Whether to copy this field when creating duplicate record.
|
boolean |
defaultNow
Whether the field should use current date/datetime as default value.
|
String |
help
Help text.
|
boolean |
hidden
Whether to hide widget by default.
|
boolean |
image
Use image widget for this binary field.
|
boolean |
massUpdate
Whether to allow mass update on this field.
|
boolean |
multiline
Should be used with String fields to mark whether to use multiline text widget.
|
boolean |
password
Use password widget for this string field.
|
boolean |
readonly
Whether the widget should be set readonly.
|
String[] |
search
List of the columns to be used to search this record.
|
String |
selection
The name of the selection.
|
String |
title
Title for the UI widget.
|
boolean |
translatable
Whether the field value is translatable.
|
public abstract String title
public abstract String help
public abstract boolean readonly
public abstract boolean hidden
public abstract boolean multiline
public abstract boolean image
public abstract boolean password
public abstract boolean massUpdate
public abstract boolean copyable
public abstract boolean translatable
public abstract boolean defaultNow
public abstract String[] search
Used by auto-complete widget. By default the same column will be searched. Also, in case of virtual column (computed values) specify the actual searchable columns.
public abstract String selection