Class Params.NoopParams
java.lang.Object
cit244.api.Params.NoopParams
-
Nested Class Summary
Nested classes/interfaces inherited from interface cit244.api.Params
Params.NoopParams -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a parameters view that returns defaults for all controls. -
Method Summary
Modifier and TypeMethodDescriptionReturns a newParamsthat prepends the given prefix to all paths.booleanA momentary button that returnstruefor exactly one frame when clicked.voidDisplays a read-only text label in the GUI.A radio button group.A radio button group with an explicit default selection.A radio button group with options supplied as a list.A radio button group with an explicit default selection.doubleA floating-point slider with a default value and no explicit bounds.doubleA floating-point slider with a default value and explicit bounds.intAn integer slider with a default value and no explicit bounds.intAn integer slider with a default value and explicit bounds.booleanA boolean toggle (checkbox).
-
Constructor Details
-
NoopParams
public NoopParams()Creates a parameters view that returns defaults for all controls.
-
-
Method Details
-
at
Description copied from interface:ParamsReturns a newParamsthat prepends the given prefix to all paths.Prefixes nest:
params.at("a").at("b").slider("x", 1)resolves to the path"a/b/x". -
slider
Description copied from interface:ParamsA floating-point slider with a default value and no explicit bounds. -
slider
Description copied from interface:ParamsA floating-point slider with a default value and explicit bounds. -
sliderInt
-
sliderInt
Description copied from interface:ParamsAn integer slider with a default value and explicit bounds. -
toggle
-
button
-
info
-
radio
-
radio
Description copied from interface:ParamsA radio button group with an explicit default selection.If
defaultOptionis null/blank, or not present inoptions, the first option is used as the default. -
radio
Description copied from interface:ParamsA radio button group with options supplied as a list. -
radio
Description copied from interface:ParamsA radio button group with an explicit default selection.
-