diff options
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test')
| -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; } |
