EasyFormsResult

sealed class EasyFormsResult

A class that represent must of the Compose form fields result states.

Parameters

key

a unique identifier for this state.

easyFormsErrorState

the current EasyFormsErrorState this state has.

Types

BooleanResult
Link copied to clipboard
data class BooleanResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: Boolean) : EasyFormsResult
Default class to handle Boolean result from ex: Checkbox.
GenericStateResult
Link copied to clipboard
abstract class GenericStateResult<V>(key: Any, easyFormsErrorState: EasyFormsErrorState, value: V) : EasyFormsResult
Abstract class that provide devs to hook their custom result class.
RangeSliderStateResult
Link copied to clipboard
data class RangeSliderStateResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: ClosedFloatingPointRange<Float>) : EasyFormsResult
Default class to handle ClosedFloatingPointRange result from ex: RangeSlider.
SliderStateResult
Link copied to clipboard
data class SliderStateResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: Float) : EasyFormsResult
Default class to handle Float result from ex: Slider.
StringResult
Link copied to clipboard
data class StringResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: String) : EasyFormsResult
Default class to handle String result from ex: TextField.
ToggleableStateResult
Link copied to clipboard
data class ToggleableStateResult(key: Any, easyFormsErrorState: EasyFormsErrorState, value: ToggleableState) : EasyFormsResult
Default class to handle ToggleableState result from ex: TriStateCheckbox.

Properties

easyFormsErrorState
Link copied to clipboard
open val easyFormsErrorState: EasyFormsErrorState
the current EasyFormsErrorState this state has.
key
Link copied to clipboard
open val key: Any
a unique identifier for this state.

Inheritors

EasyFormsResult
Link copied to clipboard
EasyFormsResult
Link copied to clipboard
EasyFormsResult
Link copied to clipboard
EasyFormsResult
Link copied to clipboard
EasyFormsResult
Link copied to clipboard
EasyFormsResult
Link copied to clipboard

Sources

androidJvm source
Link copied to clipboard