ConfigEditorAccordion

Deprecated

Legacy annotation for creating accordions. To use annotate a field in your category with this annotation. The content and type of the field do not matter, then place all the fields that should be within this collapsible accordion directly after that field and annotate the child fields with ConfigAccordionId. The label for the accordion are taken from a ConfigOption annotation on that same stub field.


 \@ConfigEditorAccordion(id = 10)
 \@ConfigOption(name = "Accordion name", desc = "")
 public boolean accordionField;

 \@ConfigAccordionId(id = 10)
 \@ConfigOption(name = "Child Option Name", desc = "Child Option Description")
 \@ConfigEditorBoolean
 public boolean childField = true;
 

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun id(): Int
Link copied to clipboard
abstract fun toString(): String