Switch

public final class Switch extends Filter<Boolean>

Input for boolean option Includes Separator

Constructors

Link copied to clipboard
public Filter.Switch Filter.Switch(Integer id, String name, Boolean state)

Properties

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 Boolean state

State(s) of the filter stuff

Functions

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 Boolean getState()

State(s) of the filter stuff

Link copied to clipboard
public Unit setState(Boolean state)

State(s) of the filter stuff