File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
src/test/java/org/scijava/nwidget Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,18 @@ public static void main(final String... args) throws Exception {
2424
2525 @ Parameter
2626 private String name = "Chuckles McGee" ;
27+ @ Parameter (min = "0" )
28+ private int age = 27 ;
2729 @ Parameter (min = "0" , max = "100" , style = NNumberWidget .SCROLL_BAR_STYLE )
28- private Integer age = 27 ;
30+ private int percent = 50 ;
31+ @ Parameter (min = "10" , max = "25" , style = NNumberWidget .SLIDER_STYLE )
32+ private int jokes = 20 ;
33+ @ Parameter (style = NTextWidget .PASSWORD_STYLE )
34+ private String password ;
35+ // @Parameter(style = NTextWidget.AREA_STYLE)
36+ // private String description =
37+ // "I am a clown student in my fourth year at Dell'Arte International. " +
38+ // "I like juggling, unicycles and banana cream pies.";
2939 };
3040 final StructInstance <Object > structInstance = //
3141 ParameterStructs .create (person );
You can’t perform that action at this time.
0 commit comments