Package com.axelor.db.annotations
Annotation Type EnumWidget
-
@Documented @Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface EnumWidget
Provides information about UI widget representing this enumeration constant.
-
-
Element Detail
-
title
String title
Title for the UI.- Returns:
- the title
- Default:
- ""
-
-
-
description
String description
Description text.- Returns:
- description text
- Default:
- ""
-
-
-
icon
String icon
Image icon to show for this item.- Returns:
- icon name
- Default:
- ""
-
-
hidden
boolean hidden
Whether to hide enum constant.- Returns:
- true if marked as hidden, default is false
- Default:
- false
-
-