toggle menu
MoulConfig
3.2.0
jvm
switch theme
search in API
common
/
io.github.notenoughupdates.moulconfig.annotations
/
ConfigEditorButton
Config
Editor
Button
@
Retention
(
value
=
RetentionPolicy.RUNTIME
)
@
Target
(
value
=
ElementType.FIELD
)
annotation class
ConfigEditorButton
(
source
)
Used for buttons. The field associated with this option may only be of type
Runnable
.
Members
Functions
annotation
Type
Link copied to clipboard
abstract
fun
annotationType
(
)
:
Class
<
out
Annotation
>
button
Text
Link copied to clipboard
abstract
fun
buttonText
(
)
:
String
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
runnable
Id
Link copied to clipboard
abstract
fun
runnableId
(
)
:
Int
Deprecated feature.
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String