Annotation Type Config.NumberSlider
-
@Repeatable(NumberSliders.class) @Target({FIELD,METHOD,PARAMETER}) @Retention(RUNTIME) public static @interface Config.NumberSlider
Displays a setter with a controllable slider.
Supported types:- Number
Custom properties:Name Type Default Value Notes Min Number -1.0 The minimum value of the slider Max Number 1.0 The maximum value of the slider Block increment Number 0.0625 How much to move the slider by with the arrow keys
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description double
blockIncrement
int
columnIndex
double
defaultValue
int
height
double
max
java.lang.String
methodName
java.lang.Class<?>[]
methodTypes
double
min
java.lang.String
name
int
rowIndex
java.lang.String
tabName
int
width
-
-
-
-
tabName
java.lang.String tabName
- Returns:
- The name of the tab in which to place this widget, if the default inferred tab/layout is not desired. Users should be careful to avoid namespace collisions if the default tab is not used. Note that Log and config annotations can be repeated to place widgets on multiple tabs. Note also that this feature is NOT currently supported for NT-only mode!
- Default:
- "DEFAULT"
-
-
-
methodName
java.lang.String methodName
- Returns:
- Optional name of a method to call on the field (or return value of the method) to obtain the actual setter that will be bound. Useful if one does not desire to make an entire object Loggable, but still wants to bind one of its setters.
- Default:
- "DEFAULT"
-
-