aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
diff options
context:
space:
mode:
authornextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-04-30 11:54:24 +0100
committernextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-04-30 11:54:24 +0100
commit026aebb4748747f08d5088947056a75740550b17 (patch)
tree23583932e47825a91250ff60807d8a201b9557c3 /src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
parent78fab84df48759e8968c477924b4bcc3b81e6cee (diff)
downloadOneConfig-026aebb4748747f08d5088947056a75740550b17.tar.gz
OneConfig-026aebb4748747f08d5088947056a75740550b17.tar.bz2
OneConfig-026aebb4748747f08d5088947056a75740550b17.zip
config elements
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test/TestConfig.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/test/TestConfig.java26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
index fc8296d..a250318 100644
--- a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
+++ b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
@@ -9,37 +9,41 @@ import io.polyfrost.oneconfig.config.interfaces.Config;
public class TestConfig extends Config {
@Option(
- name = "Test checkbox",
+ name = "Test dual thing",
description = "Best description",
subcategory = "Test",
- type = OptionType.CHECKBOX
+ optionLeft = "FUNNY", optionRight = "not funny",
+ type = OptionType.DUAL_OPTION
)
public static boolean switchTest;
@Option(
- name = "Test checkbox",
+ name = "Test string",
description = "Best description",
subcategory = "Test",
- type = OptionType.CHECKBOX
+ optionLeft = "HI", optionRight = "BYE",
+ type = OptionType.DUAL_OPTION
)
public static boolean switchTest1;
@Option(
- name = "Test checkbox",
+ name = "Test dual option",
description = "Best description",
subcategory = "Test",
- type = OptionType.CHECKBOX,
+ optionRight = "cool", optionLeft = "not cool",
+ type = OptionType.DUAL_OPTION,
size = 2
)
public static boolean switchTest2;
@Option(
- name = "Test checkbox",
+ name = "Test option",
description = "Best description",
subcategory = "Test",
- type = OptionType.CHECKBOX
+ options = {"Hello", "World", "Fish", "Cat"},
+ type = OptionType.UNI_SELECTOR
)
- public static boolean switchTest3;
+ public static int switchTest3;
@Option(
name = "Test Page",
@@ -65,10 +69,10 @@ public class TestConfig extends Config {
public static boolean switchTest5;
@Option(
- name = "Test switch",
+ name = "Test check",
description = "Best description",
subcategory = "Other subcategory",
- type = OptionType.SWITCH
+ type = OptionType.CHECKBOX
)
public static boolean switchTest6;