Package org.praxisplatform.uischema
Enum Class FieldControlType
- All Implemented Interfaces:
Serializable,Comparable<FieldControlType>,Constable
Enum canônico dos controles publicados em
x-ui.controlType.
O controlType informa qual componente visual deve ser usado para capturar ou exibir um
campo. O conjunto publicado aqui define a superficie oficial suportada pelo runtime dinâmico da
plataforma e serve de contrato entre backend, documentação OpenAPI enriquecida e frontend.
O valor AUTO funciona como sentinela: quando presente, o resolver decide o controle
final com base em schema OpenAPI, formato e heurísticas. Valores diferentes de AUTO
representam escolha explícita do domínio.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSelect remoto com busca/publicação explícita no contrato.Sentinela para "sem escolha explícita"; a heurística/resolvedor decide o controle final.Autocomplete Material para catálogos locais ou remotos.Representação visual compacta de avatar.Ação disparável dentro da superfície dinâmica.Grupo segmentado de botões exposto com o controlType canônico do runtime Angular.Checkbox simples ou grupo, conforme metadata adicional.Entrada/lista em chips editáveis.Lista de chips para seleção/exibição.Input simples de cor (`color`) com preview e picker nativo.Picker de cor rico, com paleta/presets.Builder corporativo para expressões CRON.Select com busca embutida/publicação explícita no contrato.Lista de seleção explícita, orientada a opções visíveis em layout vertical. -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldControlTypeConverts a string value to the corresponding FieldControlType Enum.getValue()Gets the string value of the control type.static FieldControlTypeReturns the enum constant of this class with the specified name.static FieldControlType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Sentinela para "sem escolha explícita"; a heurística/resolvedor decide o controle final. -
ASYNC_SELECT
Select remoto com busca/publicação explícita no contrato. -
AUTO_COMPLETE
Autocomplete Material para catálogos locais ou remotos. -
AVATAR
Representação visual compacta de avatar. -
BUTTON
Ação disparável dentro da superfície dinâmica. -
BUTTON_TOGGLE
Grupo segmentado de botões exposto com o controlType canônico do runtime Angular. -
CHECKBOX
Checkbox simples ou grupo, conforme metadata adicional. -
CHIP_INPUT
Entrada/lista em chips editáveis. -
CHIP_LIST
Lista de chips para seleção/exibição. -
COLOR_INPUT
Input simples de cor (`color`) com preview e picker nativo. -
COLOR_PICKER
Picker de cor rico, com paleta/presets. -
CRON_BUILDER
Builder corporativo para expressões CRON. -
CURRENCY_INPUT
-
DATE_INPUT
-
DATE_PICKER
-
DATE_RANGE
-
DATE_TIME_PICKER
-
DATE_TIME_RANGE
-
DATETIME_LOCAL_INPUT
-
EMAIL_INPUT
-
FILE_UPLOAD
-
INPUT
-
INLINE_SELECT
-
INLINE_SEARCHABLE_SELECT
-
INLINE_ASYNC_SELECT
-
INLINE_ENTITY_LOOKUP
-
INLINE_AUTOCOMPLETE
-
INLINE_INPUT
-
INLINE_NUMBER
-
INLINE_CURRENCY
-
INLINE_CURRENCY_RANGE
-
INLINE_MULTISELECT
-
INLINE_TOGGLE
-
INLINE_RANGE
-
INLINE_DATE
-
INLINE_DATE_RANGE
-
INLINE_TIME
-
INLINE_TIME_RANGE
-
INLINE_TREE_SELECT
-
INLINE_RATING
-
INLINE_DISTANCE_RADIUS
-
INLINE_PIPELINE_STATUS
-
INLINE_SCORE_PRIORITY
-
INLINE_RELATIVE_PERIOD
-
INLINE_SENTIMENT
-
INLINE_COLOR_LABEL
-
MONTH_INPUT
-
MULTI_SELECT
-
MULTI_SELECT_TREE
-
SELECTION_LIST
Lista de seleção explícita, orientada a opções visíveis em layout vertical. -
TRANSFER_LIST
-
NUMERIC_TEXT_BOX
-
PASSWORD
-
PHONE
-
CPF_CNPJ_INPUT
-
RADIO
-
RANGE_SLIDER
-
PRICE_RANGE
-
RATING
-
SEARCH_INPUT
-
SEARCHABLE_SELECT
Select com busca embutida/publicação explícita no contrato. -
SELECT
-
SLIDER
-
TEXTAREA
-
TIME_INPUT
-
TIME_PICKER
-
TIME_RANGE
-
TOGGLE
-
TREE_VIEW
-
TREE_SELECT
-
URL_INPUT
-
WEEK_INPUT
-
YEAR_INPUT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
Gets the string value of the control type.- Returns:
- The string value.
-
fromValue
Converts a string value to the corresponding FieldControlType Enum. The comparison is case-insensitive.- Parameters:
value- The string value to convert.- Returns:
- The matching FieldControlType.
- Throws:
IllegalArgumentException- if the value does not match any known control type.
-