gsdsdk / com.gsd.software.sdk.viewparser.dynamicview.model / ViewItem

ViewItem

sealed class ViewItem<T> :Cloneable

Created by Maksim Shumko on 6/19/2020

Types

Name Summary
BooleanViewItem interface BooleanViewItem
Button class Button :ViewItem<String>,StringViewItem
CheckBox class CheckBox :ViewItem<ValueHolder<String>>,Editable,OptionsViewItem<String>
ComplexDatePicker class ComplexDatePicker :ViewItem<List<ValueHolder<*>>>,Editable
DatePicker class DatePicker :ViewItem<String>,StringViewItem,Editable
DynamicLayout sealed class DynamicLayout :ViewItem<List<ViewItem<*>>>
Editable interface Editable
FloatViewItem interface FloatViewItem
HorizontalDivider class HorizontalDivider :ViewItem<String>,StringViewItem
MultilineEditText class MultilineEditText :ViewItem<String>,StringViewItem,Editable
NullableStringViewItem interface NullableStringViewItem
NumberPicker class NumberPicker :ViewItem<Float>,FloatViewItem,Editable
ObjectPicker class ObjectPicker<T :Any> :ViewItem<T>,Editable
ObjectsPicker class ObjectsPicker :ViewItem<ValueHolder<Array<String>>>,Editable
OptionsViewItem interface OptionsViewItem<T :Any>
RadioGroup class RadioGroup<T :Any> :ViewItem<ValueHolder<T>>,Editable,OptionsViewItem<T>
RecipientsPicker class RecipientsPicker :ViewItem<String>,StringViewItem,Editable
SingleEditText class SingleEditText :ViewItem<String>,StringViewItem,Editable
SingleObjectRequestPicker class SingleObjectRequestPicker :ViewItem<String?>,Editable,NullableStringViewItem
SingleText class SingleText :ViewItem<String>,StringViewItem
Spinner class Spinner<T :Any> :ViewItem<ValueHolder<T>>,Editable,OptionsViewItem<T>
StringViewItem interface StringViewItem
Switch class Switch :ViewItem<Boolean>,BooleanViewItem,Editable
TextButton class TextButton :ViewItem<String>,StringViewItem
TimeDurationPicker class TimeDurationPicker :ViewItem<String>,StringViewItem,Editable

Properties

Name Summary
id val id:String
validators val validators:List<Validator>
value var value:T

Functions

Name Summary
clone abstract fun clone():ViewItem<T>
equals open fun equals(other:Any?):Boolean
hashCode open fun hashCode():Int

Companion Object Properties

Name Summary
BUTTON const val BUTTON:String
CHECK_BOX const val CHECK_BOX:String
COMPLEX_DATE_PICKER const val COMPLEX_DATE_PICKER:String
DATE_PICKER const val DATE_PICKER:String
HORIZONTAL_DIVIDER const val HORIZONTAL_DIVIDER:String
HORIZONTAL_LAYOUT const val HORIZONTAL_LAYOUT:String
MULTILINE_EDIT_TEXT const val MULTILINE_EDIT_TEXT:String
MULTIPLE_OBJECT_PICKER const val MULTIPLE_OBJECT_PICKER:String
NUMBER_PICKER const val NUMBER_PICKER:String
RADIO_GROUP const val RADIO_GROUP:String
RECIPIENTS_PICKER const val RECIPIENTS_PICKER:String
SINGLE_EDIT_TEXT const val SINGLE_EDIT_TEXT:String
SINGLE_OBJECT_PICKER const val SINGLE_OBJECT_PICKER:String
SINGLE_OBJECT_REQUEST_PICKER const val SINGLE_OBJECT_REQUEST_PICKER:String
SINGLE_TEXT const val SINGLE_TEXT:String
SPINNER const val SPINNER:String
SWITCH const val SWITCH:String
TEXT_BUTTON const val TEXT_BUTTON:String
TIME_DURATION const val TIME_DURATION:String
VERTICAL_LAYOUT const val VERTICAL_LAYOUT:String

Inheritors

Name Summary
Button class Button :ViewItem<String>,StringViewItem
CheckBox class CheckBox :ViewItem<ValueHolder<String>>,Editable,OptionsViewItem<String>
ComplexDatePicker class ComplexDatePicker :ViewItem<List<ValueHolder<*>>>,Editable
DatePicker class DatePicker :ViewItem<String>,StringViewItem,Editable
DynamicLayout sealed class DynamicLayout :ViewItem<List<ViewItem<*>>>
HorizontalDivider class HorizontalDivider :ViewItem<String>,StringViewItem
MultilineEditText class MultilineEditText :ViewItem<String>,StringViewItem,Editable
NumberPicker class NumberPicker :ViewItem<Float>,FloatViewItem,Editable
ObjectPicker class ObjectPicker<T :Any> :ViewItem<T>,Editable
ObjectsPicker class ObjectsPicker :ViewItem<ValueHolder<Array<String>>>,Editable
RadioGroup class RadioGroup<T :Any> :ViewItem<ValueHolder<T>>,Editable,OptionsViewItem<T>
RecipientsPicker class RecipientsPicker :ViewItem<String>,StringViewItem,Editable
SingleEditText class SingleEditText :ViewItem<String>,StringViewItem,Editable
SingleObjectRequestPicker class SingleObjectRequestPicker :ViewItem<String?>,Editable,NullableStringViewItem
SingleText class SingleText :ViewItem<String>,StringViewItem
Spinner class Spinner<T :Any> :ViewItem<ValueHolder<T>>,Editable,OptionsViewItem<T>
Switch class Switch :ViewItem<Boolean>,BooleanViewItem,Editable
TextButton class TextButton :ViewItem<String>,StringViewItem
TimeDurationPicker class TimeDurationPicker :ViewItem<String>,StringViewItem,Editable