Package org.praxisplatform.uischema
Enum Class IconPosition
- All Implemented Interfaces:
Serializable,Comparable<IconPosition>,Constable
Posições relativas para exibição de ícones em componentes de UI.
Os valores são serializados como strings compatíveis com convenções de
layout (ex.: start, end, inline-start).
Exemplo
@UISchema(controlType = FieldControlType.INPUT, icon = "search", iconPosition = "end")
private String consulta;
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Valor textual para consumo pelo frontend.static IconPositionReturns the enum constant of this class with the specified name.static IconPosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT
-
RIGHT
-
TOP
-
BOTTOM
-
TOP_LEFT
-
TOP_RIGHT
-
BOTTOM_LEFT
-
BOTTOM_RIGHT
-
TOP_START
-
TOP_END
-
BOTTOM_START
-
BOTTOM_END
-
START
-
END
-
CENTER
-
INLINE
-
INLINE_START
-
INLINE_END
-
INLINE_TOP
-
INLINE_BOTTOM
-
INLINE_START_TOP
-
INLINE_START_BOTTOM
-
INLINE_END_TOP
-
NONE
-
-
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
Valor textual para consumo pelo frontend.- Returns:
- posição do ícone (ex.:
end)
-