dev.cheleb.scalamigen
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Typeclass for default values.
Typeclass for default values.
This typeclass is used to provide default values for a given type. It is used to provide default values for form fields when creating a new object, for example.
It is necessary to provide a default value for every type used in the application and wrapped in a option.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object given_Defaultable_BigDecimalobject given_Defaultable_BigIntobject given_Defaultable_Booleanobject given_Defaultable_Doubleobject given_Defaultable_Floatobject given_Defaultable_Intobject given_Defaultable_IronTypeobject given_Defaultable_StringShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Defaultable.type
Annotation for field names
Annotation for field names
Use this annotation to specify field names for case class fields.
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
A form for a type A.
A form for a type A.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object given_Form_String
- Self type
-
Form[A]
The event emitted when the field is hidden (when Option is set to None).
The event emitted when the field is hidden (when Option is set to None).
It will then ignore any validation status.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ValidationEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
HiddenEvent.type
The event emitted when the validation is unsuccessful.
The event emitted when the validation is unsuccessful.
Value parameters
- errorMessage
-
The error message.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ValidationEventclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IronTypeValidator.type
This is raw laminar implementation of the widget factory.
This is raw laminar implementation of the widget factory.
Attributes
- Supertypes
- Self type
-
LaminarWidgetFactory.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NameUtils.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass AnyShow all
The event emitted when the field is shown (when Option is set to Some).
The event emitted when the field is shown (when Option is set to Some).
It will then redem any validation status.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ValidationEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
ShownEvent.type
The event emitted when the validation is successful.
The event emitted when the validation is successful.
It will clear any error message for a field.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ValidationEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
ValidEvent.type
A sealed trait representing the possible events that can be emitted by a validation.
A sealed trait representing the possible events that can be emitted by a validation.
Events are emitted by the validation of a field. They are used to update the state.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Validation status.
Validation status.
It is used to determine the status of a field.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A trait representing a validator for a type A.
A trait representing a validator for a type A.
A validator is a function that takes a string and returns either an error message or a value of type A.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object given_Validator_BigDecimalobject given_Validator_BigIntobject given_Validator_Doubleobject given_Validator_Floatobject given_Validator_Intobject given_Validator_StringShow all
This is a trait that defines the interface for the widget factory.
This is a trait that defines the interface for the widget factory.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object UI5WidgetFactoryobject LaminarWidgetFactory
Value members
Concrete methods
Form for a numeric type.
Form for a numeric type.
Attributes
A form for a secret type.
A form for a secret type.
The secret type is a string that should not be displayed in clear text.
In general it is used for passwords, api keys, etc...
Hence this sensitive data should be declared as an opaque type.
Value parameters
- to
-
The function to convert the string to the secret type.
Attributes
Render form as html select.
Render form as html select.
Value parameters
- elements
-
The elements to render.
- labelMapper
-
The function to map the element to a label. Default is toString.
Attributes
Render form as html select.
Render form as html select.
Value parameters
- elements
-
The elements to render.
- labelMapper
-
The function to map the element to a label. Default is toString.
- mapper
-
The function to map the element to a value.
Attributes
A form for a type A, no validation. Convenient to use for Opaque types. If you need validation, use a Form with a ValidationEvent.
A form for a type A, no validation. Convenient to use for Opaque types. If you need validation, use a Form with a ValidationEvent.
Attributes
A form for a type A, with validation.
A form for a type A, with validation.
Value parameters
- validator
-
The validator for the type A.
Attributes
Extensions
Extensions
Render the errors.
Render the errors.
Attributes
Watch the error bus and return a signal of the errors.
Watch the error bus and return a signal of the errors.
Attributes
Get the key of the path.
Get the key of the path.
This key is used to identify the field in the error bus.
Attributes
Render a form for the variable.
Render a form for the variable.
Value parameters
- wf
-
The widget factory.
Attributes
Render a form for the variable.
Render a form for the variable.
Value parameters
- errorBus
-
The error bus.
- wf
-
The widget factory.
Attributes
Buid an error bus for the variable that will be used to display errors.
Buid an error bus for the variable that will be used to display errors.