aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/test/TestPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/test/TestPage.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/test/TestPage.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/test/TestPage.java b/src/main/java/cc/polyfrost/oneconfig/test/TestPage.java
new file mode 100644
index 0000000..c70610a
--- /dev/null
+++ b/src/main/java/cc/polyfrost/oneconfig/test/TestPage.java
@@ -0,0 +1,44 @@
+package cc.polyfrost.oneconfig.test;
+
+import cc.polyfrost.oneconfig.config.annotations.Option;
+import cc.polyfrost.oneconfig.config.data.OptionType;
+
+public class TestPage {
+ @Option(
+ name = "Text field 1x",
+ subcategory = "Test",
+ type = OptionType.TEXT
+ )
+ 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;
+}