<component name="Toggle"> <BooleanAttribute name="isActive" defaultValue="true" /> </component>
class BooleanAttribute(key: Int, component: ComponentBase, attributeIndex: Int, initialValue: Boolean) : TypedAbstractAttribute<Boolean>
BooleanAttribute
(
key
, component
, attributeIndex
, initialValue
)
|
Signature
constructor(key: Int, component: ComponentBase, attributeIndex: Int, initialValue: Boolean) Parameters key: Int
The integer key for this attribute
attributeIndex: IntinitialValue: Boolean
The initial value for this attribute
Returns BooleanAttribute |
value
: Boolean
[Get][Set] |
Signature
var value: Boolean |
version
: ULong
[Get][Set] |
Signature
open override var version: ULong |
checkIfComponentIsOld
()
|
Signature
fun checkIfComponentIsOld() |
checkIfComponentIsRecycled
()
|
Signature
fun checkIfComponentIsRecycled() |
get
()
|
Signature
open override fun get(): Any Returns Any |
getValue
(
thisRef
, property
)
|
Signature
operator fun getValue(thisRef: Any?, property: KProperty<*>): Boolean Parameters thisRef: Any?property: KPropertyReturns Boolean |
set
(
value
)
|
Signature
open override fun set(value: Any) Parameters value: Any |
setValue
(
thisRef
, property
, value
)
|
Signature
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: Boolean) Parameters thisRef: Any?property: KPropertyvalue: Boolean |