RadioGroup

public final class RadioGroup extends Filter<Int>

Input for a choice from a list Includes Separator

Constructors

Link copied to clipboard
public Filter.RadioGroup Filter.RadioGroup(Integer id, String name, List<String> choices, Integer state)

Properties

Link copied to clipboard
private final List<String> choices
Link copied to clipboard
private final Integer id

This is a unique calling card for the specific filter / setting. If the setting type is ever changed, the ID should be changed

Link copied to clipboard
private final String name

Name of the filer

Link copied to clipboard
private Integer state

State(s) of the filter stuff

Functions

Link copied to clipboard
public final List<String> getChoices()
Link copied to clipboard
public Integer getId()

This is a unique calling card for the specific filter / setting. If the setting type is ever changed, the ID should be changed

Link copied to clipboard
public String getName()

Name of the filer

Link copied to clipboard
public Integer getState()

State(s) of the filter stuff

Link copied to clipboard
public Unit setState(Integer state)

State(s) of the filter stuff