BCLib/src/main/java/org/betterx/bclib/config/ConfigUI.java
2022-05-18 23:56:23 +02:00

25 lines
681 B
Java

package org.betterx.bclib.config;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface ConfigUI {
/**
* When {@code true}, this option will not generate UI-Elements.
*/
boolean hide() default false;
/**
* When a Widget is generated for this option, it will be indented by this Value
*/
int leftPadding() default 0;
/**
* When a Widget is generated for this option, it will be indented by this Value
*/
int topPadding() default 0;
}