Component

Functions

Link copied to clipboard
abstract override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard
abstract val children: List<Component>

Gets a list of Components that are children of this component.

Link copied to clipboard
abstract val customId: String?

The custom id of this button if it is not a link button.

Link copied to clipboard
abstract val disabled: Boolean

Weather this component is disabled.

Link copied to clipboard
abstract val json: JsonNode

The json representation of this entity.

Link copied to clipboard

Weather this component is compatible with a message.

Link copied to clipboard
abstract val modalCompatible: Boolean

Weather this component is compatible with a modal.

Link copied to clipboard
abstract val type: ComponentType

The type of this component.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.