-
- All Implemented Interfaces:
-
xyz.davidsimon.interakt.field.StatefulField.RenderState
public final class ListField.RenderState<T extends Object> implements StatefulField.RenderState
-
-
Field Summary
Fields Modifier and Type Field Description private final List<ListField.Choice<T>>choicesprivate IntegercurrentRowprivate final BitSetselectedRowsprivate BooleanisSubmitted
-
Constructor Summary
Constructors Constructor Description ListField.RenderState(List<ListField.Choice<T>> choices, Integer currentRow, BitSet selectedRows, Boolean isSubmitted)
-
Method Summary
Modifier and Type Method Description final List<ListField.Choice<T>>getChoices()final IntegergetCurrentRow()final UnitsetCurrentRow(Integer currentRow)final BitSetgetSelectedRows()BooleangetIsSubmitted()UnitsetIsSubmitted(Boolean isSubmitted)-
-
Method Detail
-
getChoices
final List<ListField.Choice<T>> getChoices()
-
getCurrentRow
final Integer getCurrentRow()
-
setCurrentRow
final Unit setCurrentRow(Integer currentRow)
-
getSelectedRows
final BitSet getSelectedRows()
-
getIsSubmitted
Boolean getIsSubmitted()
-
setIsSubmitted
Unit setIsSubmitted(Boolean isSubmitted)
-
-
-
-