Constructs a new boolean control object with the given parameters.
Parameters:
-
type - the type of control represented this float control object
-
initialValue - the initial control value
-
trueStateLabel - the label for the state represented by
true
,
such as "true" or "on."
-
falseStateLabel - the label for the state represented by
false
,
such as "false" or "off."