API reference
API reference
Select your platform
No SDKs available
No versions available

EnumAttribute

EnumAttribute

class EnumAttribute<T : Enum<T>>(keyString: String, key: Int, component: ComponentBase, enumClass: Class<T>, initialValue: T) : AbstractAttribute<T>

Constructors

NameSummary
EnumAttribute
constructor(keyString: String, key: Int, component: ComponentBase, enumClass: Class<T>, initialValue: T)

Properties

NameSummary
map
var map: MutableMap<Int, <Error class: unknown class><AttributeType, Any?>>
value
var value: T?

Functions

NameSummary
checkIfComponentIsOld
fun checkIfComponentIsOld()
checkIfComponentIsRecycled
fun checkIfComponentIsRecycled()
getValue
operator fun getValue(thisRef: Any?, property: KProperty<*>): T
setValue
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: T)
Did you find this page helpful?
Thumbs up icon
Thumbs down icon