diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-29 17:27:45 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-29 17:27:45 +0200 |
commit | 86f6f3e8c3ae91ddbc29985f73e1d4f29f0a4b17 (patch) | |
tree | 36a7e8aafc3d29a844f611211b3d1f06ee48e7e8 /src/main/java/io/polyfrost/oneconfig/test/TestPage.java | |
parent | 117d80ff0e343eecf260fd363db896166d8061d7 (diff) | |
download | OneConfig-86f6f3e8c3ae91ddbc29985f73e1d4f29f0a4b17.tar.gz OneConfig-86f6f3e8c3ae91ddbc29985f73e1d4f29f0a4b17.tar.bz2 OneConfig-86f6f3e8c3ae91ddbc29985f73e1d4f29f0a4b17.zip |
text box config done
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test/TestPage.java')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/test/TestPage.java | 38 |
1 files changed, 34 insertions, 4 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestPage.java b/src/main/java/io/polyfrost/oneconfig/test/TestPage.java index 93fe201..66deed8 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestPage.java +++ b/src/main/java/io/polyfrost/oneconfig/test/TestPage.java @@ -5,10 +5,40 @@ import io.polyfrost.oneconfig.config.data.OptionType; public class TestPage { @Option( - name = "Other test switch", - description = "Best description", + name = "Text field 1x", subcategory = "Test", - type = OptionType.SWITCH + type = OptionType.TEXT ) - public static boolean switchTest; + public static String testDescription; + + @Option( + name = "Text field 1x", + subcategory = "Test", + type = OptionType.TEXT + ) + public static String testDescription2; + + @Option( + name = "Text field 2x", + subcategory = "Test", + type = OptionType.TEXT, + size = 2 + ) + public static String testDescription3; + + @Option( + name = "Secure text field", + subcategory = "Test", + type = OptionType.TEXT, + secure = true + ) + public static String testDescription4; + + @Option( + name = "Text box", + subcategory = "Test", + type = OptionType.TEXT, + multiLine = true + ) + public static String testDescription5; } |